How can I change the keymap of the CtrlAlt+(F1toF6) virtual consoles on the LiveUSB/CD image?

I've tried picking my layout (US Dvorak) from the F3 menu when it first starts to boot, but that only sets the GUI Keymap and not the virtual console keymap. This is especially frustrating because of a bug in the Driver for my Video card (Neauvou) that will completely freeze the system if I do too much (seems to be related to fast cursor movement; for example, holding down backspace or arrow key in gnome-terminal). This makes me want to use the virtual consoles, but then they are the wrong layout and therefore hard to type on.

  • You may want to change the title of your post to "How to change the keymap of the virtual console/TTY" and leave out the part about live, as almost any method that applies to the live CD/USB will apply to an installed system and vice-versa. – fouric Jul 9 '12 at 1:54

Please read this. In short, you can remap the keys using the loadkeys command. For example:

sudo su -
echo control keycode 2 = Console_1 | loadkeys -

will add a binding to Ctrl - 1 such that it now switches to the first tty. However, it will not affect the keybindings under X!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.