Setting up Logitech MX Mouse

From SUSE Wiki

Jump to: navigation, search

Type: Howto

Tested Versions: 10.1, 10.0, should work on all others.

Written By: E@zyVG

Further Modifications By: No One

When I updated to SUSE 10.1, rather did a fresh install (always better option than updating from a previous version), the same settings didn't work. I mean in particular the two extra buttons on the side of the mouse that I use a lot in Firefox to navigate back and forth, instead of moving the mouse all the way to the top of the browser and clicking on either back or forward icons. Also very useful in some other applications. So I decided to try out different options, which I found in different forums and wikis and found one.

Here is a perfect setting that does the trick with my mouse, and that too without using the "xmodmap" script.

Add the following line in your /etc/X11/xorg.conf file:

Option "ButtonMapping" "1 2 3 6 7" 

Should look something like:

Section "InputDevice"
 Driver       "mouse"
 Identifier   "Mouse[1]"
 Option       "Buttons" "7"
 Option       "Device" "/dev/input/mice"
 Option       "Name" "ImExPS/2 Logitech Explorer Mouse"
 Option       "Protocol" "explorerps/2"
 Option       "Vendor" "Sysp"
 Option       "ZAxisMapping" "4 5"
 Option       "ButtonMapping"   "1 2 3 6 7"
EndSection

Remember that my mouse is connected to PS/2 port. If yours is on USB, the above might look little different. Everything that's related to buttons should be same, per my knowledge.

"Link to original post"

E@zyVG 04:24, 12 Jun 2006 (PDT)

Personal tools