(Answer) (Category) Linux on PowerPC FAQ-O-Matic : (Category) PowerPC Linux :
How do I map a 2button ADB mouse to left & right click?
I purchased a two button adb mouse to make life in Linux a little easier, but Yellowdog maps the buttons to left and center, and I'm trying for left and right (have you tried to find a 3-button adb mouse? not too easy)... as it stands, now i can't even get the software to emulate a right button.
kaiserry@pilot.msu.edu
I don't know, how it is on LinuxPPC, on Linux distribued to PC, you can simulate third button, if you press both button in one time. Also Gnome environment has some setting about it.
gandalf@mraveniste.cz
I've been able to do it by typing the two following commands in the terminal:
xmodmap -e "pointer = 1 3 2" gpm -B 132
The first deals with the X system, the second deals with gpm. These both number a three-button mouse 1-2-3 from left to right, but unfortunately it also numbers our 2-button mice 1-2 from left to right, so it thinks the right button is really the center one. Doing the commands above will fix this. It should work on startup if you append the two lines to your /etc/rc.d/rc.local file.
cwillmore@mac.com
[Append to This Answer]
Previous: (Answer) How do I get Linux to boot on a G4 with SCSI disks?
Next: (Answer) How do I install Linux/PPC on a 2001 G4?
This document is: http://www.jonh.net/cgi-bin/lppcfom/fom?file=980
[Search] [Appearance]
This is a Faq-O-Matic 2.718d.
Hosted by anduin.org and SourceForge Logo