Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

Hardware: Logitech Access Keyboard, PS2, 867209-0102

enter image description here

I would love to be able to activate the "F-lock" key on start up (using rc.local or so).

xev didn't show me the key command - is there an other way to get the key command name?

share|improve this question
I've got this exact keyboard, and I feel your pain... – l0b0 Jul 24 '12 at 18:29
up vote 0 down vote accepted

xev may not show the keycode for the f-lock key it's self, but it should show a different keycode for f1 with f-lock enabled vs not enabled. Last time I read about it (a few years back) it wasn't possible to toggle f-lock from the software side, so the solution is to use xmodmap or your keybinder of choice and invert the bindings manually.

share|improve this answer
Thanks you for your answer. – Paradiesstaub Mar 10 '11 at 12:44

If you want to simply ignore the F Lock key and get the same result whether it's on or off, you can use my rc.local file for just that purpose. I've verified in both X and VT that this works.

share|improve this answer

Your Answer


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.