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: https://launchpad.net/ubuntu/xenial/+source/xf86-input-mtrack
'cd Download wget https://launchpad.net/ubuntu/+archive/primary/+files/xf86-input-mtrack_0.3.1.orig.tar.gz'
extract tar ... cd
well need some more packages: http://askubuntu.com/questions/272032/configuring-wacom-tablet-on-ubuntu-12-10-by-installing-missing-dependencies
'sudo apt-get install xserver-xorg-dev libxext-dev libxinerama-dev libxrandr-dev libxi-dev libudev-dev'
and one more from: http://ubuntuforums.org/showthread.php?t=1334696&page=27
'sudo apt-get install libmtdev-dev'
configure and install 'cd xf86-input-mtrack-0.3.1 ./configure sudo make && make install'
update setings from: http://yarenty.blogspot.co.uk/2014/08/how-to-fix-macbook-pro-touchpad-on.html
'sudo nano /usr/share/X11/xorg.conf.d/50-synaptics.conf'
Section "InputClass" MatchIsTouchpad "on" Identifier "Touchpads" Driver "mtrack" Option "Sensitivity" "0.95" Option "FingerHigh" "12" Option "FingerLow" "1" Option "IgnoreThumb" "true" Option "IgnorePalm" "true" Option "TapButton1" "0" Option "TapButton2" "0" Option "TapButton3" "0" Option "TapButton4" "0" Option "ClickFinger1" "1" Option "ClickFinger2" "3" Option "ClickFinger3" "3" Option "ButtonMoveEmulate" "false" Option "ButtonIntegrated" "true" Option "ClickTime" "25" Option "BottomEdge" "25" Option "SwipeLeftButton" "8" Option "SwipeRightButton" "9" Option "SwipeUpButton" "0" Option "SwipeDownButton" "0" Option "ScrollDistance" "75" Option "ScrollUpButton" "5" Option "ScrollDownButton" "4" EndSection
sudo restart lightdm
'/usr/sbin/lightdm restart'
not sure or:
'sudo lightdm restart'