Linux-Noob Forums

Full Version: 5 Button Mouse
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

So things are going pretty well for me, but one thing that is annoying me is that I have a 7 button mouse and only seem to be able to use 3 of the buttons (right and left click and scroll wheel). I am not sure how I go about setting commands to the other buttons, but a forward and back for web browsing, and a hot-key for the bash would both be very helpful.

 

Thanks in advance.


hi what brand/model mouse is it ? and what distro are you using (and version) ?

 

cheers

anyweb


A combination of xorg.conf alterations:



Code:
Section "InputDevice"
Identifier "MSIntelliPointOptical"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "Buttons" "5"
Option "ZAxisMapping" "4 5"
Option "ButtonMapping" "1 2 3 6 7"
EndSection




 

And xmodmap / imwheel got my buttons working (these entries are in your startup session):



Code:
xmodmap -e "pointer = 1 2 3 4 5 8 9 6 7 10 11"
imwheel -k -b 89




 

Unfortunately I have used another mouse and found it didn't work with this setup. I think basically you need an individual setup for a mouse.

 

If you do:



Code:
$ xev




 

Then click the buttons, if that responds with output in the terminal, the buttons are working, which means its just a matter of tweaking with imwheel.