[wellylug] Swapping mouse buttons
Grant McLean
grant at mclean.net.nz
Wed Feb 23 22:47:38 NZDT 2005
On Wed, 2005-02-23 at 21:24 +1300, Rob Stockley wrote:
> Rob Stockley wrote:
>
> > Grant McLean wrote:
> >
> >> Does anyone know if it's possible to swap the buttons on pointer devices
> >> independently?
> >>
> >>
> > xmodmap -e "pointer = 3 2 1"
> >
> Sorry. Now that I read your xf86config that should probably be:
>
> xmodmap -e "pointer = 3 2 1 4 5"
>
> It should probably go in your Xsession script.
Hmm sadly that gives me the message:
xmodmap: commandline:0: bad number of buttons, must have 12 instead of
5
Which is presumably related to the fact that my primary pointing device
(as far as X is concerned) is the laptop's synaptic touchpad. Whereas
the one I really want to change is my USB optical mouse. Possibly by
the time it gets to xmodmap, they are both seen as a single pointing
device.
Cheers
Grant
More information about the wellylug
mailing list