How to fix MacBook Pro touchpad on Ubuntu 16.04 adapted from http://yarenty.blogspot.co.uk/2014/08/how-to-fix-macbook-pro-touchpad-on.html
the first step on above link did not work for me:
'sudo apt-get install xserver-xorg-input-mtrack'
E: Unable to locate package xserver-xorg-input-mtrack
so i got it from here, check for newest version: