Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

From the actual console (e.g. Ctrl-Alt-F3), I'd like to use sudo loadkeys dvorak as in ubuntu. While that automagically works in Ubuntu, Debian wants me to locate a keymap file. I don't have the /usr/share/keymaps that is sometimes given as an answer. find / -type f -name '*dvorak*' turns up a few files which loadkeys won't take. As in this other answer I do not want to make a permanent change to my system using console-config. I want to write simple scripts that can change the keymap on the fly.

Is there a package I can install or something?

Since I'd like to swap Caps-Lock and Escape eventually, I should probably make my own custom keymaps, anyway, correct?

share|improve this question
up vote 6 down vote accepted

1) Make sure console-data package is installed:

# loadkeys dvorak
Loading /usr/share/keymaps/i386/dvorak/dvorak.kmap.gz

$ dpkg --search /usr/share/keymaps/i386/dvorak/dvorak.kmap.gz
console-data: /usr/share/keymaps/i386/dvorak/dvorak.kmap.gz

$ cat /etc/debian_version 

2) IMHO, yes dumpkeys > test.keymap && edit test.keymap && loadkeys test is the easiest.

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.