Reverse Scroll on Fedora 18

Check your mouse ID by typing:

xinput --list


It will show a list something like this:

� Virtual core pointer                     id=2 [master pointer  (3)]
�   ��� Virtual core XTEST pointer               id=4 [slave  pointer  (2)]
�   ��� Microsoft Microsoft�� 2.4GHz Transceiver v7.0 id=9 [slave  pointer  (2)]
�   ��� Microsoft Microsoft�� 2.4GHz Transceiver v7.0 id=10 [slave  pointer  (2)]
� Virtual core keyboard                   id=3 [master keyboard (2)]
    ��� Virtual core XTEST keyboard             id=5 [slave  keyboard (3)]
    ��� Power Button                             id=6 [slave  keyboard (3)]
    ��� Power Button                             id=7 [slave  keyboard (3)]
    ��� Microsoft Microsoft�� 2.4GHz Transceiver v7.0 id=8 [slave  keyboard (3)]



After you get the mouse ID, then type this command to make the mouse scroll reversed:

xinput set-button-map 1 2 3 5 4

1 comments:

Emmanuel said...

Fedora 18 has just been updating their kernel and allowing the use of xmodmap.

Verify your kernel by invoking:
uname -a

My current kernel is:
Linux localhost 3.10.4-100.fc18.x86_64 #1 SMP Thu Aug 1 21:13:27 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux


Then modify the xmodmap by invoking:
xmodmap -e "pointer = 1 2 3 5 4 6 7 8 9 10 11 12 13"

Nice Blog!!