LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 11-07-2012, 05:58 AM   #1
chutsu
Member
 
Registered: Nov 2003
Location: UK
Distribution: Debian Lenny
Posts: 255

Rep: Reputation: 31
Trying to use F keys without pressing Fn in Gnome


I have a mac standard chicklet keyboard, and have been irratated by the fact I have to press the Fn key all the time in order to use the F keys at the top. How do you use F keys as intended?

Currently running Debian Squeeze
Gnome version 2.30.2

Thanks
 
Old 11-07-2012, 06:28 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374Reputation: 2374
Function key behaviour is set in: /sys/module/hid_apple/parameters/fnmode

The following are valid tokens:
Quote:
0 = disabled : Disable the 'fn' key. Pressing 'fn'+'F8' will behave like you only press 'F8'
1 = fkeyslast : Function keys are used as last key. Pressing 'F8' key will act as a special key. Pressing 'fn'+'F8' will behave like a F8.
2 = fkeysfirst : Function keys are used as first key. Pressing 'F8' key will behave like a F8. Pressing 'fn'+'F8' will act as special key (play/pause).
You require 2 to use the function keys as desired. First try this from the command line (as root):
Code:
echo 2 > /sys/module/hid_apple/parameters/fnmode
If that works, you can make it stick by adding that line to /etc/rc.local (before the exit command).

I run Debian (single boot) on a MacBook Pro and the above solved this problem.
 
2 members found this post helpful.
Old 11-07-2012, 08:34 AM   #3
chutsu
Member
 
Registered: Nov 2003
Location: UK
Distribution: Debian Lenny
Posts: 255

Original Poster
Rep: Reputation: 31
Thanks a lot, works like a charm!
 
  


Reply

Tags
function, keyboard, keys, mac


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Howto use xmacroplay-keys to simulate pressing ALT + RETURN ? frenchn00b Linux - General 7 06-11-2013 03:30 PM
Magic reboot keys: Alt & PrintScreenSysRq pressed while pressing REISUB one at a time Pamela Linux - Newbie 10 03-21-2008 02:06 AM
Pressing multiple keys at the same time rikijpn Linux - Newbie 2 06-05-2007 11:52 AM
what is the command being called when pressing ctrl-shift-tab on gnome-terminal odysseus.lost Linux - Desktop 2 10-11-2006 10:49 AM
pressing <Fn><F8> keys hangs emachines M6807 tcma Linux - General 0 09-15-2004 10:07 PM


All times are GMT -5. The time now is 06:05 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration