Jump to content
Sign in to follow this  
conundrum

5 Button Mouse

Recommended Posts

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.

Share this post


Link to post
Share on other sites

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

 

cheers

anyweb

Share this post


Link to post
Share on other sites

A combination of xorg.conf alterations:

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):

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:

$ 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.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...