Red Hat Bugzilla – Bug 821373
Xmodmap not applied consitently
Last modified: 2012-05-18 19:39:16 EDT
Description of problem:
I use a ~/Xmodmap to reverse mouse/touchpad scrolling (natural scolling) and after updating Fedora 16 to Fedora 17 RC this does not work anymore in a consistent manner:
Evolution and most other native GTK apps ignore my settings
Gedit and Firefox still obey my settings
Also tried to set scrolling via "xinput --set-button-map ID 1 2 3 5 4" with the same result.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run in shell xmodmap -e "pointer = 1 2 3 5 4 7 6 8 9 10 11 12"
2. verify that ALL apps have reverse scolling direction
not all apps show same results
reverse works system wide (all apps)
This is because with current GTK+ its using XInput2 to get scroll events directly from the device rather than working via the old method of sending fake button events 4/5 for the scroll events.
See upstream bug https://bugzilla.gnome.org/show_bug.cgi?id=674716 for detailed discussion and an approach that may work for for Synaptics touchpads.
Will XInput2 on the other hand work with all apps in a consistent manner when setup properly or is Xmodmap still needed for "legacy" apps. Thank you.
I don't know, you'll have to try.
In any case, this is not a gtk bug - gtk does not apply xmodmap directly.