I've read a few related questions:

Enable horizontal scrolling in Ubuntu


But hasn't given me the answer. Just plugged in a mouse in 12.04 and there's no horizontal scrolling with the mousewheel. Instead it has strange behaviour where text is changed if mousewheel is held down and moved over it. HP mouse, feature works on windows 7.


If you are under Ubuntu, you have to install two packages: xbindkeys and xautomation.

To enable the horizontal scroll with key combination Shift+MouseWheel, run these commands on Terminal:

$ sudo apt-get install xbindkeys xautomation
$ echo "; bind shift + vertical scroll to horizontal scroll events
>  (xbindkey '(shift \"b:4\") \"xte 'mouseclick 6'\")
>  (xbindkey '(shift \"b:5\") \"xte 'mouseclick 7'\")" >> .xbindkeysrc.scm

$ xbindkeys

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.