Linux-Noob Forums
5 Button Mouse - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Printers, Scanners and Other Hardware (https://www.linux-noob.com/forums/forum-33.html)
+---- Thread: 5 Button Mouse (/thread-1037.html)



5 Button Mouse - conundrum - 2008-02-01


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.




5 Button Mouse - anyweb - 2008-02-01


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

 

cheers

anyweb




5 Button Mouse - znx - 2008-02-02


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.