Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I'm trying to remap my keyboard such that the Caps Lock acts as an additional Fn key, because the current one is in an awkward place (over by the Home and End). I was planning on using xmodmap, which requires keycodes to work. I have my Caps Lock keycode, which is 66, but to finish I need the keycode for the Fn. Using xev and pressing the Fn, I don't see anything. Any recommendations?

share|improve this question

1 Answer 1

up vote 5 down vote accepted

The Fn key usually doesn't send a key code; it's handled by the BIOS, not by the OS. You can sometimes get at it as an ACPI event. (This is very much dependent on the exact computer model.)

share|improve this answer
    
Too bad. Thanks for your help. Here's to getting used to a function key next to the home and end keys! –  Bradley Powers May 27 '11 at 16:45

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.