Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need to change the shortcut set by default on my Debian 6.0 (server) for tty switch.

By defautl it is ALT + Fx, but i just want to switch to Fx.

I guess it involves modification of Xorg, but i can't get which file to modify. I didn't find any other topics on the subject, but maybe my keywords were wrong.

Anyway, thanks for reading, hope someone may help me !

share|improve this question
1  
it has nothing to do with Xorg. Probably, there should be some kernel parameter. –  gelraen Oct 17 '11 at 14:23
    
this could come really handy for virtual machines as I always end up switching tty on the host instead of the guest –  Jure1873 Oct 17 '11 at 14:27
    
I will check for Kernel options tommorow, but as it isn't mandatory on the project, a faster solution should be better suited. Anyway thanks for your advice. –  Cédric COPY Oct 17 '11 at 15:45
add comment

1 Answer

In order to change the action of the function keys, you'll need to create and load a custom keymap. You'll wamt to take a look at the loadkeys(1) command. There are some good examples here: http://luv.asn.au/overheads/virtualconsoles.html#keymap which I found easy to follow. For more in-depth information, take a look at the keyboard and console HOWTO: http://www.faqs.org/docs/Linux-HOWTO/Keyboard-and-Console-HOWTO.html

share|improve this answer
add comment

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.