Using Apple Keyboard in Linux (Fedora)

My Apple Keyboard

My Apple Keyboard


Few Days Ago i received my Apple Keyboard and i am enjoying typing on it, but having to hold down the Fn key then tap one of the F-keys to get F-keys working was irritating.
a simple solution to get it working just add this to your /etc/rc.local file
echo 2 > /sys/module/hid_apple/parameters/fnmode

and F-keys will start to work properly, enjoy

Update :- update for recent kernels,

Tags: , , , , ,

This entry was posted on Thursday, February 19th, 2009 at 12:53 am and is filed under Life, fedora. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

8 Responses to “Using Apple Keyboard in Linux (Fedora)”

Dennis February 20th, 2009 at 10:30 pm

I’ve been wishing I had this set up correctly for months. Glad I googled again!

Thanks

Jim February 26th, 2009 at 8:06 am

Awesome, thank you!! I was swearing everytime I had to hit function keys. Muscle memory is a hard thing to unlearn ;-)

Ankur Shrivastava March 2nd, 2009 at 3:14 pm

@all
GLad to be of some help

Michael Bova April 18th, 2009 at 9:04 pm

You could also go into System Preferences >> Keyboard & Mouse and uncheck the box for “Use all F1, F2, etc. keys as standard function keys.”

The wording of that setting is a bit unintuitive in my opinion but this will accomplish what you’re looking for, if I’m understanding you correctly.

Michael Bova April 18th, 2009 at 9:39 pm

And I just noticed that you were talking about fedora, not os x. Woops.

Peter Hartley March 11th, 2010 at 5:41 pm

Thanks for this! In recent kernels it seems to have moved to /sys/module/hid_apple/parameters/fnmode, but it was your post that put me on the right track…

Ankur Shrivastava March 12th, 2010 at 12:09 am

@Michael
hehe it happens

@Peter
thanks for the info, have update the post

Leave a Reply