After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 632463 - Ability to disable horizontal scrolling for normal mouse (not just touchpad)
Ability to disable horizontal scrolling for normal mouse (not just touchpad)
Status: RESOLVED DUPLICATE of bug 635486
Product: gnome-settings-daemon
Classification: Core
Component: mouse
2.32.x
Other Linux
: Normal enhancement
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2010-10-18 14:08 UTC by Jean-François Fortin Tam
Modified: 2011-03-21 14:16 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jean-François Fortin Tam 2010-10-18 14:08:26 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
Comment 1 Bastien Nocera 2010-12-02 15:12:20 UTC
Not even sure that's possible. Peter?
Comment 2 Peter Hutterer 2010-12-05 23:43:07 UTC
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.
Comment 3 Bastien Nocera 2010-12-07 18:19:28 UTC
Not going to add a UI for that. Moving to gnome-settings-daemon for another setting.
Comment 4 Bastien Nocera 2011-03-21 14:16:22 UTC
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 ***