Saturday 7 June 2014

Raspberry Pi Dvorak Keyboard Layout

I prefer not to use the inefficient Victorian keyboard layout known as "QWERTY", dsigned to slow typing speed down, in order to prevent mechanical typewriters from jamming. (an urban myth is also that it allowed the IBM salesman to type the word "TYPEWRITER" using the top row of letters).

Instead I use the more modern (i.e. 1930's) Dvorak layout. :-)

This web page gave me info on how to configure this layout (and perhaps other layouts too).
http://raspberrypi.stackexchange.com/questions/6839/set-keyboard-layout-to-my-language

I did this.

Save a copy of the file, just in case.

sudo cp /etc/default/keyboard /etc/default/keyboard.save

Edit the file
vi /etc/default/keyboard


# KEYBOARD CONFIGURATION FILE

# Consult the keyboard(5) manual page.

XKBMODEL="pc105"
#XKBLAYOUT="gb"
XKBLAYOUT="dvorak"
XKBVARIANT=""
XKBOPTIONS=""

BACKSPACE="guess"

I then had to reboot the RPi
sudo reboot

The bootup was slow when mapping the keyboard.
I found this advice
http://raspberrypi.stackexchange.com/questions/236/simple-keyboard-configuration


If after remapping your keyboard you get a long delay in boot up during the keyboard mapping phase type the following (once) on the command line:

sudo setupcon

Have to exit x-windows otherwise you get this message
"We are not on the console, the console is left unconfigured"



------------------------

This is a menu driven method of doing the same:
http://raspberrypi.stackexchange.com/questions/236/simple-keyboard-configuration


Use the command:

$ sudo dpkg-reconfigure keyboard-configuration
to reconfigure your keyboard. Then either reboot or

(Note that I chose English UK Dvorak with punctuation or keyboard type).

$ invoke-rc.d keyboard-setup start
to reload the keymap


Have to exit x-windows otherwise you get this message


[....] Setting preliminary keymap...We are not on the console, the console is left unconfigured.
done.

so left xwindows and then reloaded the keymap.




2 comments:

  1. Is that Programmer's Dvorak you set it to, or just regular Dvorak?

    ReplyDelete
  2. Is that Programmer's Dvorak you set it to, or just regular Dvorak?

    ReplyDelete