View Full Version : [all variants] swap fn and control key
schtibe
May 7th, 2008, 02:30 PM
Hello
I'd like to swap the fn key and control key on my macbook. However, xev doesn't show me any keycode for the fn key, so I can't use xmodmap to do it. Is there any other way?
I tried to set /sys/module/hid/parameters/pb_fnmode to 0x01 and 0x02, but it doesn't work either way.
I use kubuntu 8.04, 2.6.24-16-generic kernel.
cheers
rebelDNS
April 26th, 2009, 07:31 PM
Hello,
I just got a Macbook Pro and installed 9.04, and this would be extremely helpful. I really don't like the whole fn-ctrl layout and any solution would be greatly appreciated.
_mario_
April 27th, 2009, 08:52 AM
Hello
I'd like to swap the fn key and control key on my macbook. However, xev doesn't show me any keycode for the fn key, so I can't use xmodmap to do it. Is there any other way?
I tried to set /sys/module/hid/parameters/pb_fnmode to 0x01 and 0x02, but it doesn't work either way.
the kernel doesn't output the FN-key as a key of its own, so you're probably out of luck without patching the driver. the pb_fnmode only changes the default behaviour of the function keys.
ciao,
Mario
WindPower
September 29th, 2009, 06:23 PM
DoubleCommand (http://doublecommand.sourceforge.net/features.html) allows the fn key to be used as a Ctrl key on OS X, so there has to be a way to do that in Ubuntu as well.
hotbdesiato
October 12th, 2009, 12:47 PM
I hope as well there is a solution, since especially for emacs'ing I need that left ctrl key where the fn key is.
Pifilatakanemu
October 6th, 2010, 01:45 PM
any news on this topic?
thanks!
disappearedng
December 10th, 2010, 01:34 AM
Any new on this topic? I am really interested to find out too.
My left pinky is killing me.
Pifilatakanemu
December 28th, 2010, 11:48 AM
*push*
I would love to switch both keys. I get a cramp every time I want to žaste something in the terminal...
Lusse
January 18th, 2011, 03:45 PM
I would also really like to swap my ctrl and fn keys, it should be possible thru the apple-hid kernel module.
In the meantime I use this Xmodmap-settings, it'll map the left apple-key to ctrl and the right apple-key to alt-gr. This allows for at least less pain in the fingers.
$ cat ~/.Xmodmap
remove mod4 = Super_R
add mod5 = Super_R
remove mod4 = Super_L
add control = Super_L
kilaka
March 14th, 2011, 03:36 PM
Look here:
https://help.ubuntu.com/community/AppleKeyboard
WindPower
March 14th, 2011, 03:47 PM
Look here:
https://help.ubuntu.com/community/AppleKeyboard
That doesn't help inverting the "fn" and "control" keys :(
vBulletin® v3.8.4, Copyright ©2000-2012, Jelsoft Enterprises Ltd.