Help - Search - Members - Calendar
Full Version: set up mouse buttons in linux
Neowin Forums > *nix Customization & Support > Customizing your *nix Desktop
JiveMasterT
i'm a linux n00b, so can someone tell me how to set up my logitech mx1000 mouse in linux? i wanna change what all the buttons do. thanks!
coxis
Here is for another mouse , but still take a look :

Installing Microsoft IntelliMouse Explorer

Here is how I configured my MS Optical Explorer mouse:

- first, modify the xorg.conf file
Code:

Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Protocol" "ExplorerPS/2"
Option "Device" "/dev/input/mice"
Option "Buttons" "7"
Option "ZAxisMapping" "6 7"
EndSection

- then you have to create the file /etc/X11/xinit/xinitrc.d/mouse with the following content:
Code:

#!/bin/sh

# /etc/X11/xinit/xinitrc.d/mouse
# Required for the configuration of a 5-button mouse

xmodmap -e "pointer = 1 2 3 6 7 4 5"
This file correctly configures the buttons. You have to set this file executable:
Code:

chmod +x /etc/X11/xinit/xinitrc.d/mouse

And that should work. You can try Firefox, which manages side buttons natively.

ps . jeżeli coś żle działa możecie spróbować tak :

f so, modify the /etc/X11/xinit/xinitrc.d/mouse file:
Code:

xmodmap -e "pointer = 1 2 3 4 5 6 7"
Then restart Xorg...
JiveMasterT
thanks for the info guys!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.