Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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

1 Answer 1

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

 
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.