tl;dr: use synclient to setup your touchpad instead of Mouse & Touchpad options on System Settings.
After installing Ubuntu 15.04 on my new HP 240, my first reaction was “well, my touchpad sucks, it is too slow”. But, what I tried to say was “it is not sensitive enough”. I use my touchpad (and probably you too with the tip of my finger. But, in order to use my new laptop, I need to use almost my whole fingertip! So, after googling for a while, I found this post with the solution:
synclient. This utility enable us to configure our touchpad in a simple way. There is a lot of options to set up, but in order to solve this problem, you only need to change
FingerHigh. To know what is your current configuration, execute:
synclient | grep FingerLow synclient | grep FingerHigh
In order to change these values, execute:
synclient FingerLow=8 && synclient FingerHigh=10
Higher values implies less sensitivity. Finally, to make this change persisntent after rebooting, do the following:
cd /usr/share/X11/xorg.conf.d/ sudo cp 50-synaptics.conf 50-synaptics.conf.bak sudo vim 50-synaptics.conf
And add “FingerLow” and “FingerHigh” in the corresponding block as follows:
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "FingerLow" "8" Option "FingerHigh" "10"EndSection
It is possible that the file
/usr/share/X11/xorg.conf.d/50-synaptics.conf does not even exist on your computer. In this case, you can create from scratch. More info on Ian’s blog.
Update: Natural scrolling
If you want to reverse the scroll direction, add these two lines in the previous file (source):
Option "VertScrollDelta" "-20" Option "HorizScrollDelta" "-20"
-20 is the speed. You can test the change using this command:
50-synaptics.conf should look like this:
Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "FingerLow" "8" Option "FingerHigh" "10" Option "VertScrollDelta" "-20" Option "HorizScrollDelta" "-20" EndSection