Linux notes on getting a mouse to work.
xorg.conf ∞
Run xev at the console to learn what the buttons are. Then edit $HOME/xorg.conf to set that in stone. But I don’t know how.
Working example, but buttons 6 and 7 go left and right, but not alt-left and alt-right. =/
Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Emulate3Buttons" "false"
Option "Buttons" "7"
Option "ZAxisMapping" "4 5"
Option "Resolution" "100"
Option "ButtonMapping" "1 2 3 6 7"
EndSection
xmodmap ∞
(Xmodmap) – pointer = x
Try stuff like this:
xmodmap -e "pointer = 1 2 3 4 5 6 7 8 9 10 11"
imwheel ∞
Special per-app configuration. But I’m not using it.
/etc/X11/imwheel/imwheel.rc— for each app-
$HOME/.imwheelrc— overrides the above
imwheel -k -b "89"
Graphical configuration and button detection:
imwheel -c
Links ∞
-
https://web.archive.org/web/20040714020611/http://www.gloegl.de/30.html
- Seems hopeful, but didn’t really work for me.
- http://www.xfree86.org/current/mouse.html
-
https://llg.cubic.org/docs/mouse.html
- Setting up a 7 button mouse
- Doesn’t really work for me.
- https://web.archive.org/web/20141020031343/http://colas.nahaboo.net:80/mouse-wheel-scroll/
- https://www.markus-raab.org/Howtos/Hardware/mouse-left-right-handed
- https://web.archive.org/web/20081012113320/http://kerneltrap.org/node/2199
- https://web.archive.org/web/20120626021800/http://kerneltrap.org:80/node/1587
-
https://web.archive.org/web/20100306171227/http://kerneltrap.org:80/node/6786
-
- Seems ok, but the shoulder buttons still don’t work for back/forward in Firefox.
-
https://web.archive.org/web/20081013042136/http://gentoo-wiki.com:80/HOWTO_Mouse_Nav_Buttons
Logitech mouse refresh changes are present in KDE, or you can use other tools (e.g. lomoco)

ported