Last Updated: February 25, 2016
· jcarsique

Horizontal scroll with mouse under Linux

Configure your Linux key binding to make Shift+Mouse wheel send an horizontal scroll event:

Install xbindkeys xautomation
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'")

Run xbindkeys

Kudos to gfxmonk for

1 Response
Add your response

Also, for Firefox 17+, open about:config and set:

  • general.autoScroll = true
  • mousewheel.with_shift.action = 1
  • optionally configure the scroll speed with mousewheel.with_shift.delta_multiplier_x = 300
over 1 year ago ·