On Sun, Apr 07, 2002 at 10:53:37PM -0600, Kimball Larsen wrote: > On to my question - > Having come from an OS X background, and only having ever used Linux on > a PC, I have not had to worry about the 3 button mouse emulation at > all... until now. When I installed Mandrake on my powerbook (G3 333 > Bronze keyboard "Lombard" 1999 model) I set the 3 button emulation to be > the option and command keys, because I was stupid. ;) > > I would like to change the key bindings for the mouse - but I can't find > it anywhere in any of the graphical config stuff for either Gnome or > KDE. > > What's the big secret? How do I re-configure my emulation settings?
Edit: /etc/sysctl.conf You'll want to change these lines: dev.mac_hid.mouse_button2_keycode = 125 dev.mac_hid.mouse_button3_keycode = 96 (BTW those numbers set it to Apple = middle button, Enter [just right of the spacebar] is the right button, so yours will be different numbers). You can find out the keycodes by running showkey from a terminal and typing the keys you want. When you're done editing just run (as root): sysctl -p /etc/sysctl.conf P.S. Stew would you add the Enter key (key code 96) to the installer (I think the Apple key is there but if it isn't would you add that too... 125) -- Ben Reser <[EMAIL PROTECTED]> http://ben.reser.org What difference does it make to the dead, the orphans, and the homeless, whether the mad destruction is wrought under the name of totalitarianism or the holy name of liberty and democracy? - Ghandi
