I had the mouse buttons inverted on Gnome, and I wanted to do the same on xmonad but I don't know how to do it. Does anyone knows what is the adequate configuration?
migrated from stackoverflow.com Jul 12 '11 at 1:05
This question came from our site for professional and enthusiast programmers.
You can change mouse settings in xorg.conf (if you have one) or by using xmodmap. For 3-button mouse xmodmap command should look like:
If you have more buttons you may list actual config using:
You can configure that globally for X. Edit
somewhere within that section. The numbers in the second quote correspond to the buttons you have, so if you have only 3 button mouse, you'd only need to put
an so on.
After that, of course, restart your X.
EDIT: Another way would be to add something like