There is no option in Mouse & Touchpad Settings to enable horizontal scrolling in Ubuntu 13.04+ (Raring/Saucy/Trusty) (GNOME 3.8+):
No horizontal scrolling even by enabling two finger scroll or content sticks to fingers.
How is it possible?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
There’s a way through dconf Editor; so:
Edit: Dconf Editor was pre-installed on 13.04, where I first faced the problem; but on 13.10 and 14.04 it’s easier to use gsettings, see Samuel Cavazos’s answer.
Configure your Linux key binding to make Shift+Mouse wheel send an horizontal scroll event:
Edit ~/.xbindkeysrc.scm and write:
; bind shift + vertical scroll to horizontal scroll events (xbindkey '(shift "b:4") "xte 'mouseclick 6'") (xbindkey '(shift "b:5") "xte 'mouseclick 7'")
Also, for Firefox 17+, open
about:config and set:
general.autoScroll = true
mousewheel.with_shift.action = 1
mousewheel.with_shift.delta_multiplier_x = 300
I got both working. Although for
xbindkeys, some apps stick with their own behavior, for instance Firefox.
On the MATE desktop variant, I found the following dconf path to work:
If you do not already have the dconf-editor, you will want to run
sudo apt install dconf-editor
Start dconf-editor and then search for "horizontal-two" and that should be specific enough to find it:
I'm using a laptop with a Synaptics touchpad running Ubuntu (MATE) 18.04.
Yonn Trimoreau says that on Cinnamon, the following dconf path should work:
You would install the same dconf-editor, but search for "horizontal-scrolling" and then set it to on.