GNOME Bugzilla – Bug 632463
Ability to disable horizontal scrolling for normal mouse (not just touchpad)
Last modified: 2011-03-21 14:16:22 UTC
Many modern mice have a horizontal scroll built into the scroll wheel. To activate it, you just "tilt" the wheel left or right. This is the case with most designer/gamer/wireless/high-end mice. I own such a mouse (Logitech M305) and it is quite annoying not to be able to disable horizontal mouse scrolling because: - Horizontal scrolling is rarely needed - Most applications have shortcuts for emulating it (ex: shift+scroll) - Middle-clicking... - triggers a horizontal scroll unless you are *very* careful - is used all the time for opening and closing tabs in various apps (Chromium, Firefox, GNOME terminal, gedit, etc.). In this case, it usually means that the app switches tab (or does some other unwanted behavior). - is used a lot while designing (in Inkscape, GIMP, Blender,...) All in all, it gives a feeling of increased strain and reduced precision. This should be handled by the GNOME control center because: - You're not supposed to use xorg.conf anymore, so there is no way for users to work around this problem easily (I don't even know how myself, Google failed me) - It should be as easy as disabling the touchpad's horizontal scrolling
Not even sure that's possible. Peter?
horiz scrolling is implemented through logical buttons 6/7, so just setting their button mapping to 0 disables scrolling. unsigned char map[7]; XGetDevicebuttonMapping(dpy, dev, map, 7); map[5] = 0; map[6] = 0; XSetDeviceButtonMapping(dpy, dev, map, 7); should do the job, IIRC.
Not going to add a UI for that. Moving to gnome-settings-daemon for another setting.
Thanks for the bug report. This particular bug has already been reported into our bug tracking system, but please feel free to report any further bugs you find. *** This bug has been marked as a duplicate of bug 635486 ***