 |
 |
 |
 |
| Mac Chat The place to discuss your Fedora/ Mac woes (including ibooks and powerbooks). |

26th August 2005, 06:06 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 2

|
|
|
Right-Click on a PowerBook?
This is the fourth Linux distro I've installed on this PowerBook G3 Lombard. FC4 (version 2.6.11-1.1369_FC4)
I have scoured the universe, the install guide, everything including this forum and I can't seem to find what key is assigned to the right-click contextual menu that you get if you have a two/three-button mouse attached. On the Mac side, you hold down Ctrl. In Yellow Dog, it's the F11 key. Ubuntu, same but they add the F12 key also. I'm crying Uncle! Can anyone give me the poop? Thanks
|

26th August 2005, 06:20 PM
|
 |
Registered User
|
|
Join Date: Mar 2005
Location: England
Posts: 867

|
|
Quote:
|
Originally Posted by http://www.redhat.com/magazine/007may05/features/mac-mini/#reinstall
As root, edit the /etc/sysctl.conf file and add the following:
Code:
dev.mac_hid.mouse_button_emulation = 1
dev.mac_hid.mouse_button2_keycode = 87
dev.mac_hid.mouse_button3_keycode = 88
The above will allow the F11 and the F12 keys on the keyboard to provide the middle and right click mouse buttons.
|
You can get the keycode of a key by running xev, then pressing the key. The output will be something like this:
Code:
KeyPress event, serial 28, synthetic NO, window 0x3400001,
root 0x115, subw 0x0, time 11656203, (411,455), root:(461,501),
state 0x0, keycode 95 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
Last edited by Twey; 26th August 2005 at 06:23 PM.
|

27th August 2005, 04:02 PM
|
|
Registered User
|
|
Join Date: Jun 2005
Posts: 2

|
|
Quote:
|
Originally Posted by Twey
You can get the keycode of a key by running xev, then pressing the key. The output will be something like this:
Code:
KeyPress event, serial 28, synthetic NO, window 0x3400001,
root 0x115, subw 0x0, time 11656203, (411,455), root:(461,501),
state 0x0, keycode 95 (keysym 0xffc8, F11), same_screen YES,
XLookupString gives 0 bytes:
XmbLookupString gives 0 bytes:
XFilterEvent returns: False
|
Thank you kindly. Worked like a charm. It's the little things sometimes ...
FeeDawg
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
Current GMT-time: 19:03 (Wednesday, 22-05-2013)
|
|
 |
 |
 |
 |
|
|