* Thomas Wegner ([EMAIL PROTECTED]) [020228 23:37]:
> On Wed, Feb 27, 2002 at 11:50:10PM -0800, Vineet Kumar wrote:
> > * Thomas Wegner ([EMAIL PROTECTED]) [020227 22:15]:
> > > I'm running woody and xfree4.1. I'm using a graphic table from wacom
> > > (Wacom Graphire seriell) and all is fine. But my middle and right
> > > mouse buttons are changed. This is a known bug and the mouse buttons
> > > must be changed in gnome (or xfree). Can anybody tell how to do this?
> > 
> > IIRC, xmodmap can do this with something like
> > 
> > xmodmap -e "pointer 1 3 2"
> Unfortunately no success. Are there separate cofiguration files in
> gnome?

Sorry for the delayed reply -- have you solved this problem yet?
Also, I'm sending this back to the list, since I think I've got a pretty
good answer that others may like to see (at least in the archives).

In the mouse capplet of the gnome control panel, I just see the
"standard" left-handed or right-handed mouse option. So gnome does have
some way of modifying the buttons, but doesn't let you do what you want.
(Reminds me of windows...) Either that or it doesn't actually modify the
buttons, just how they're interpreted with gnome apps (but not all X
apps). I haven't tested it, so I don't know which it is.

What happened with xmodmap? Just didn't change it at all? Any error
messages?

I'm just now looking at the xmodmap manpage. I see that xmodmap -pp
should give you a list of the current "button mapping" (i.e. which
physical buttons map to which button codes). It also looks like the
correct syntax for the command I pointed you at earlier should really be
this:

xmodmap -e "pointer = 1 3 2"

For me, that command complains because I have a wheel mouse (which
counts as 5 buttons instead of 3). When I try this:

xmodmap -e "pointer = 1 3 2 4 5"

it works. Buttons 2 and 3 are switched, and everything else is as
before. So you'll have to give it a mapping with exactly the number of
physical buttons you have (or at least, that it thinks you have, which
you can find out with xmodmap -pp).

good times,
Vineet

-- 
Currently seeking opportunities in the SF Bay Area
Please see http://www.doorstop.net/resume/

Attachment: pgp3IfpVaF9B2.pgp
Description: PGP signature

Reply via email to