Change the keyboard layout (e.g. to Dvorak)
From froelix.com - Wiki
To change the default keyboard layout for X11, run the following command as root:
dpkg-reconfigure keyboard-configuration
If you want to change the layout globally (console, ssh, ...), you should use:
dpkg-reconfigure console-data