Monday, March 26, 2007

Left handed mouse without getting left-handed compliments?

How do you get your mouse pointers reversed in *nix?

The solution - type

xmodmap -e "pointer 3 2 1"

to reverse your mouse. That's all. Getting errors like the following?


xmodmap: commandline:1: bad number of buttons, must have 9 instead of 3
xmodmap: 1 error encountered, aborting.

Change your command to:

xmodmap -e "pointer 3 2 1 4 5 6 7 8 9"

If it expects 5 buttons, just write "3 2 1 4 5" after pointer....

No comments: