[Nottingham] xinput

stripes stripes at roppa.demon.co.uk
Mon Jun 13 00:34:18 UTC 2011

I have a computer (Ubuntu meerkat) with 2 mice attached 1 Microsoft
and 1 Dell. Every time the box boots I want it to run the following
command or a different command that achieves the same thing.

xinput set-button-map "Microsoft Basic Optical Mouse" 3 2 1 4 5 6 7

to set the Microsoft Mouse left handed while leaving the Dell one
right handed. I can't find a  way to do this automatically so run
xinput off the terminal as the first command when I boot. but there
has to be an easier way any suggestions?


More information about the Nottingham mailing list