Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

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.

share|improve this question
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. – InkBlend 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!

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.