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

Is there a way to change the keyboard layout of the whole system to another layout? I am using a bunch of window managers and I don't want to have to setup the layout for every one.

I am using a QWERTY keyboard with a programmer DVORAK overlay.

share|improve this question

This is possible. I myself am a DVORAK user. here is how:
1. login to one of your window managers. switch to DVORAK. dump the layout with this command:

xmodmap -pke> 

2. load the in your X init file. ~/.xinitrc

xmodmap /path/to/
share|improve this answer
I can't get it to work, I tried exactly what you described but nothing happened, and then I tried it in the TTY and I got xmodmap: unable to open display '' – tversteeg Dec 24 '13 at 10:10
you cannot use xmodmap in a tty. you should use it in a terminal emulator, like gnome-terminal. – David Dai Dec 24 '13 at 12:30

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.