I want to set my keyboard layout to Dvorak. How do I do that exactly?

  • My first impulse was to add another vote but having had to switch keyboard layouts on a Debian server (from French to US) makes me think this can equally be an SF question. – John Gardeniers Mar 12 '10 at 4:54

I found this more straightforward and simple:

sudo dpkg-reconfigure keyboard-configuration
| improve this answer | |
  • This is the only solution that worked for me. – Ishpeck May 20 '11 at 20:04
  • Only this solution actually made things persistent across reboots. – Lloeki Jun 6 '11 at 13:27

This will guide you through the process of selecting different keyboard layouts:

$ dpkg-reconfigure console-data

Maybe you will need to install console-data.

$ sudo apt-get install console-data

If you want to make changes permanent then you can use:

$ dpkg-reconfigure console-setup
| improve this answer | |

Looks like this will work, too:

$ sudo loadkeys dvorak

Hat tip to http://ma.tt/2004/01/dvorak-on-linux-console/

| improve this answer | |
  • 1
    This is the only solution that doesn't permanently alter your machine -- good for making scripts that switch keyboard layouts. – John Baber-Lucero Sep 3 '12 at 12:30

On Ubuntu 13.04

Switch to Dvorak:

setxkbmap dvorak

Switch back:

setxkbmap us
o.yqtxmal go   # How to type it in Dvorak if you're looking at a US Keyboard

Works locally on my Ubuntu machine. Haven't tested on ubuntu-server, but this is a prevalent search result for "dvorak keyboard linux"

| improve this answer | |
  • 2
    You're how to type it in Dvorak if you're looking at a US keyboard is wrong. If you type setxkbmap us on a Qwerty keyboard with Dvorak settings, you will see o.yqtxmal go appear on your terminal. What you want, though, is the reverse: which key on the Qwerty keyboard gets the Dvorak key I want? The correct text is: ;dkbvnmar f;. I've tested it, and it works. – zondo Apr 26 '17 at 19:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.