Unable to disable Horizontal Scrolling on Ubuntu 16.04.1

Solution 1:

It is quite easy to do if you installed libinput.

Edit /usr/share/X11/xorg.conf.d/xx-libinput.conf ( replace the xx with the right number for your system; often 90 or 40 ) and add

Option "HorizontalScrolling" "False"

to the touchpad section.

xorg-synapics and libinput have different config files.

Option "Tapping" "True"

will enable tap-to-click function. It is disabled by default.

You can see the full list of options HERE

Solution 2:

An easier way (from https://askubuntu.com/a/338312/48493), that worked for me on Ubuntu 17.04. This is for on-the-fly changes to setttings, however:

synclient HorizTwoFingerScroll=0