Hi, Paulo and John --
Funny this should come up. I just did this last night on an iBook G3. To add to what Paulo said, John:
-- You need to edit /etc/sysctl.conf as root and not as a regular user (I found that out the hard way :-/ )
-- To just get a right button, you can just add dev/mac_hid/mouse_button_emulation = 1 and that should do the trick for a right button.
-- If you're using a mouse, the center and right mouse buttons should work without having to push F11 or F12. However, if you have an iBook, you'll have to use those buttons (unless, of course, you have a mouse connected to it). The mouse buttons should work.
[Also, should it be dev/mac_hid/mouse_button_emulation = 1 with / instead of a . ? Does it matter, Paulo, if there are . or / in the edit to /etc/sysctl.conf? ]
Let me know how you do.
Let me add, too, that Fedora 9 on the PowerPC platform rocks!
Larry Cafiero https://fedoraproject.org/wiki/User:Lcafiero
On 7/6/08, Paulo Martinez martinezino@googlemail.com wrote:
Hi John,
Am 06.07.2008 um 22:21 schrieb John Himpel:
Good afternoon,
I have installed FC9 on my son's iMac (G3). I have most things working, but I don't know how to configure X (or anything else) to emulate a 3 button mouse on the one-button Mac mouse. I have seen some web pages on using function keys, but none of them seemed to work for me. Any suggestions would be greatly appreciated.
Edit /etc/sysctl.conf
dev.mac_hid.mouse_button_emulation = 1 dev.mac_hid.mouse_button2_keycode = 87 dev.mac_hid.mouse_button3_keycode = 88
reboot.
F11 and F12 should act as 2nd and 3rd button now.
Regards
PM
Fedora-ppc mailing list Fedora-ppc@lists.infradead.org http://lists.infradead.org/mailman/listinfo/fedora-ppc