Fedora Linux Support Community & Resources Center
  #1  
Old 26th August 2005, 06:06 PM
FeeDawg Offline
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
Reply With Quote
  #2  
Old 26th August 2005, 06:20 PM
Twey's Avatar
Twey Offline
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
__________________
Twey

Last edited by Twey; 26th August 2005 at 06:23 PM.
Reply With Quote
  #3  
Old 27th August 2005, 04:02 PM
FeeDawg Offline
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
Reply With Quote
Reply

Tags
powerbook, rightclick

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Needing left-click to open files upon single-click theAdmiral Hardware & Laptops 6 30th October 2009 03:55 AM
Problem with X on powerbook 15 atomik Mac Chat 3 28th November 2006 03:30 PM
fedora 4 on a powerbook cezaro Hardware & Laptops 5 8th September 2005 02:40 PM
Wireless USB for Powerbook cclein Mac Chat 10 24th August 2005 07:56 PM
X on Powerbook G4 ben s Mac Chat 9 14th July 2005 05:26 PM


Current GMT-time: 19:03 (Wednesday, 22-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat