Ubuntu – Natural scrolling not working for horizontal scroll, how to fix this


I've enabled natural scrolling via Ubuntu Tweak's miscellaneous options, but that doesn't seem to take effect for horizontal scroll – neither in web browsers, nor in nautilus or other native applications.

Is there a way to enforce this behavior on horizontal scrolling as well?

I'm using Ubuntu 12.04.

Best Answer

There is also a "nicer" xorg.conf based way to make the inverted <V_DISTANCE> and <H_DISTANCE> settings (determined according to @Eliran's answer) permanent:

Create a directory /etc/X11/xorg.conf.d/, and in it a file like 51-synaptics-tweaks.conf, containing:

Section "InputClass"
    Identifier "touchpad"
    Driver "synaptics"
    MatchIsTouchpad "on"
        Option "VertTwoFingerScroll" "on"
        Option "HorizTwoFingerScroll" "on"
        # In the following lines, use your own negative V_DISTANCE / H_DISTANCE values.
        Option "VertScrollDelta" "-113"
        Option "HorizScrollDelta" "-113"

This follows Ubuntu's recommendations in the /usr/share/xorg.conf.d/* example files and also Archlinux instructions. To see the effect, restart X of course :)