How do I *temporarily* change the *console* keymap to dvorak?

Posted by John Baber on Ask Ubuntu See other posts from Ask Ubuntu or by John Baber
Published on 2012-08-24T12:59:45Z Indexed on 2012/08/31 15:53 UTC
Read the original article Hit count: 260

Filed under:
|
|
|

I type dvorak, but I don't like to confuse other users by having it be a system-wide default.

I have a script that runs setxbmap dvorak that I can call when I want dvorak and likewise another script that runs setxbmap us when I want qwerty.

For X, that's fine. How do I get this behavior in the real console (Ctrl-Alt-F3)?

i.e. how can I change the console keymap to dvorak without setting a system-wide default. Having to sudo to do it is fine, but it can't be the default keymap for any console user.

Resources like this and this seem to be explaining how to permanently alter the system but I need to change it on the fly temporarily.

In BSD this was possible by using wsconsctl.

© Ask Ubuntu or respective owner

Related posts about command-line

Related posts about keyboard