Thank you for posting this how-to, it worked for me. I'm glad the other slacker's posted too as I knew then I did not have to put in the imwheel.
I'm using logitech mx310 and slackware 10.2
For me, I'm lefty so I had to tweak my start-up for me and let the others be as indicated. I had to switch the 3 & 1 in the xmodmap. Here is what I did:
1. Created an "lefty.sh" file in my /home/username/.kde/Autostart and make it executable.
2. Put this code in "lefty.sh"
Quote:
#! /bin/sh
# swap 3 and 1 below for right handed
/usr/X11R6/bin/xmodmap -e "pointer = 3 2 1 6 7 4 5"
|
3. Edited my xorg.conf for this:
Identifier "Mouse1" #this differs for many
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
4. Note: slackware package tool has me setup for PS/2 mouse and I really am using this mouse as PS/2. Have not tried it as USB.
5. Hit ctrl+alt+backspace to restart X and boom..golden.
Now side buttons work perfect in firefox, opera, and Unreal Tournament 2004 sees the side buttons as "mouse 4" and "mouse 5" so I can map them to stuff there woot, time to play.
Thanks again.