Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 3 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 
wheezy/sid

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

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.