Inside Out

Notes on seeking wisdom and crafting software

Make 7 button mouse work in SuSE

This short how to tells how to make a 7button mouse work in opensuse..

Here are the default key mappings of the mouse :

> Button 1 = Left - click > >

> Button 2 = Right - click > > Scroll Buttons > > Left side lower = Firefox back page > >

> Right side lower = Firefox next page

Open a terminal with su previleges..Then type in the following :

> gedit /etc/X11/xorg.conf

I assume you are working on GNOME...otherwise use kate or anyother text editor.

Search  for the  section Input Device for mouse…Replace the text block with..

> Section "InputDevice" > >

> Driver       "mouse" > > Identifier   "Mouse[1]" > > Option       "Buttons" "7" > > Option       "Device" "/dev/input/mice" > > Option       "Name" "TrackMan Optical" > > Option       "Protocol" "ExplorerPS/2" > > Option       "Vendor" "Logitech" > > Option       "ZAxisMapping" "6 7" > >

> EndSection

Then change the xmodmap mappings in the following way...

> xmodmap -e "pointer = 1 2 3 6 7 4 5"

Add the above command to the session startup or you need to execute that command each time you start your session..