I have a five button, PS/2 mouse. That is 2 regular buttons, a wheel that
scrolls and can be pressed, and two buttons on the side. I wanted to use this
mouse in Linux. So I came here and searched for '5 button mouse' and I got
several threads, and was directed to change my XF86Config files, put this '
xmodmap -e "pointer = 1 2 3 6 7 4 5" ' thing in my .bashrc and I would be done.
Then I was pointed to something called Imwheel. The configuration was a
nightmare, and I almost got what I wanted. As much as a I can tell, imwheel
maps only the wheel buttons, not any side buttons. Please tell me what i did
wrong.
a relevant piece of etc/X11/XF86Config:
---------------------------------------------Section
"InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol"
"IMPS/2" Option "Device" "/dev/psaux" Option "Emulate3Buttons" "no"
Option "Buttons" "7" Option "ZAxisMapping" "6 7"EndSection
Section "InputDevice"
# If the normal CorePointer mouse is not a USB mouse then
# this input device can be used in AlwaysCore mode to let you
# also use USB mice at the same time.
Identifier "DevInputMice"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "6 7"
Option "Emulate3Buttons" "no"
Option "Buttons" "7"
EndSection
---------------------------------------------
a revelant piece of my ~/.bashrc:
---------------------------------------------
xmodmap -e "pointer = 1 2 3 6 7 4 5"
---------------------------------------------
a revelant piece of my /etc/X11/imwheel/imwheelrc:
(my ~/.imwheelrc is identical)
---------------------------------------------
".*"
, Up, Button4
, Down, Button5
, Right, Button3
, Left, Button1
, Thumb1, Button6
, Thumb2, Button7
"navigator:browser"
None, Thumb1, Alt_R|Left
---------------------------------------------
Please tell me what I'm doing wrong.