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 688136 - Mouse wheel bindings not honouring xmodmap(1) settings
Mouse wheel bindings not honouring xmodmap(1) settings
Status: RESOLVED DUPLICATE of bug 674716
Product: gtk+
Classification: Platform
Component: Class: GdkDevice
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Carlos Garnacho
Depends on:
Blocks:
 
 
Reported: 2012-11-12 02:52 UTC by Olivier Mehani
Modified: 2012-11-12 13:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Mehani 2012-11-12 02:52:25 UTC
I've inverted my mouse's wheel Y axis using xmodmap(1) for my whole X11 session:
  xmodmap -e "pointer = 1 2 3 5 4 7 6 8 9 10 11 12"
(note the "5 4" bit).

This works well everywhere, with scrolling properly inverted (scroll up to push document up in view), apart from GT3K3 applications, which still  works as if the axis wasn't inverted (scroll up to move view towards the top of the document, i.e., move document down).

This happens, for example, with the epiphany-3.6.1-1 and gtk3-3.6.1-1 ArchLinux packages:
1. xmodmap -e "pointer = 1 2 3 5 4 (in a term);
2. test that the Y axis is inverted in a non-GTK3 application;
3. in Epiphany, go to a long document and scroll;
-> Y axis wheel still behaves as if it wasn't inverted.

Other packages (ArchLinux x86_64):
* xorg-server-1.13.0-4
* xorg-xmodmap-1.0.7-1
* xorg-xinput-1.6.0-1
* xf86-input-evdev-2.7.3-2
Comment 1 Matthias Clasen 2012-11-12 13:47:14 UTC
The xmodmap hack does not work with XI2

See bug 674716
Comment 2 Matthias Clasen 2012-11-12 13:47:27 UTC

*** This bug has been marked as a duplicate of bug 674716 ***