Can you switch mouse buttons in X?

Can you switch mouse buttons in X?

Post by David Wag » Tue, 10 Feb 1998 04:00:00



I need to switch buttons 2 and 3 of my trackball under X. Can I do this?
if so, how?


thanks
--
-----------------------------------------
EIVS*IN*ORBITV*NOSTRO*PRAESENTIA*MVNIAMVR

PAX*ET*BONVM

 
 
 

Can you switch mouse buttons in X?

Post by Mark Gr » Tue, 10 Feb 1998 04:00:00




>I need to switch buttons 2 and 3 of my trackball under X. Can I do this?
>if so, how?

See man xmodmap

~$ xmodmap -e "pointer = 1 3 2"

Should do the trick.


>thanks
>--
>-----------------------------------------
>EIVS*IN*ORBITV*NOSTRO*PRAESENTIA*MVNIAMVR

>PAX*ET*BONVM


 
 
 

Can you switch mouse buttons in X?

Post by Ernesto Hernández-Novic » Tue, 10 Feb 1998 04:00:00



> I need to switch buttons 2 and 3 of my trackball under X. Can I do this?
> if so, how?



man xmodmap

xmodmap -e 'pointer = 1 3 2'  or something along the lines :-)

--

Just another Unix/Perl/Java hacker.
One thing is to be the most popular, and another is to be the best.
Unix: Live free or die!

 
 
 

Can you switch mouse buttons in X?

Post by David Z. Maz » Tue, 10 Feb 1998 04:00:00


DW> I need to switch buttons 2 and 3 of my trackball under X. Can I do
DW> this?  if so, how?

Look at the example on xmodmap(1x).  You'll probably want to do
something like "xmodmap -e 'pointer = 1 3 2'".


Posted and mailed.

--
 _____________________________
/                             \  "The cat's been in the box for over
|          David Maze         |  20 years.  Nobody's feeding it.  The

| http://donut.mit.edu/dmaze/ |  -- Grant, on Schroedinger's Cat
\_____________________________/