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.

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

2 Answers 2

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

 
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.