Logitech G5 in Fedora 12

In order to get the G5’s side buttons and 3rd button’s left/right tilt functional in both Firefox and Nautilus, in /etc/X11/xorg.conf:

1
2
3
4
5
6
7
8
9
10
11
12
13
14

Section "ServerLayout"
#...
InputDevice "Configured Mouse" "Pointer"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "evdev"
Option "CorePointer"
Option "Name" "Logitech USB Gaming Mouse"
Option "ZAxisMapping" "4 5 6 7"
Option "Emulate3Buttons" "false"
EndSection

NB: F12 does not ship with a /etc/X11/xorg.conf file by default; see Fedora’s guide on how to create one.

Additionally, you need to modify $HOME/.Xmodmap to show:

1
2

pointer = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

Also, after:

# yum install xbindkeys xdotool

.. in $HOME/.xbindkeysrc, have:

1
2
3
4
5
6
7
8

# Nautilus:Back
"xdotool key alt+Left"
b:8

# Nautilus:Forward
"xdotool key alt+Right"
b:9