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?
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.
Alternative way: run this in your command line
Or just run
gsettings set org.gnome.settings-daemon.peripherals.touchpad horiz-scroll-enabled "true"
in a terminal
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.