Linux – ny way to swap the fn (function) and control keys in linux on a macbook pro

keyboardlinuxmacbookmacbook pro

I don't care if this is done in the bios or a kernel module or software. Is there any way at all to do make the 'fn' key act as 'control' and the 'control' key act as 'fn' in linux running on a macbook pro?

PS. You can do this with software in OSX with the application KeyRemap4MacBook.

Best Answer

I personally haven't needed to do this, but this link shows that you should be able to modify the kernel keymapping upon booting to make this switch.

This link also states that XFree86 will try and load the kernel mapping at its load time so it shouldn't need to be changes just for X if you do the above first.

Related Question