Server Fault is a question and answer site for system and network administrators. 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 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
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

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: which I found easy to follow. For more in-depth information, take a look at the keyboard and console HOWTO:

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.