Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to configure the Apple Keyboard so that the "fn" key and the "ctrl" key are swapped. So far I swapped the "cmd" and "alt" key, the "°" and "<" key using xmodmap. Information for that can be found comparatively easy.

Unfortunately xev does not give any output for the fn key, for all the other's it does.

Does anybody have a solution for that, without me having to recompile my own kernel (this is a machine from work so I can't change the system, though I can do whatever I want in the user space). The solution with recompiling the kernel can be found here: Linux: Apple Wireless A1314 Fn key not registered, looks like software bug

My kernel is the kernel from the OpenSUSE repository, under a OpenSUSE 11.04 32bit.

Update: I found out here, that the fn-key has the keycode 464 (showkeys detects it). Unfortunately this is bigger than 255 which means it can appearently not be mapped with xmodmap.

share|improve this question

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.