3

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 !

  • 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

1 Answers1

1

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

Paul Lathrop
  • 1,608
  • 11
  • 11