"Linux Gazette...making Linux just a little more fun!"


Don Reed's Xwindows Setup


Don Reed uses the following configuration to set up Dvorak kemaps in Xwindows. His setup includes the option of having the bracket and brace characters on matching keys, and it also sets up a quick way of switching keyboards.

Before doing this setup, you might need to type the following command (in QWERTY) to create the default keysym file Don uses in his setup:

xmodmap -pke > /tmp/keyboard.default

The rest of this page is in Don's own words:

  1. Create a keyboards directory:

    mkdir $HOME/keyboards

  2. Install the default keyboard (QWERTY) as keyboard.default in this directory, as well as one or both of the attached files: keysym.dvorak, keysym.ms.dvorak

  3. Add the following lines to your .profile file, or whatever:

    alias aoeu="xmodmap $HOME/keyboards/keyboard.default"
    alias asdf="xmodmap $HOME/keyboards/keysym.ms.dvorak"

    or

    alias aoeu="xmodmap $HOME/keyboards/keyboard.default"
    alias asdf="xmodmap $HOME/keyboards/keysym.dvorak"

    These allow you to switch keyboards on the fly, by typing the first four home-row keys on the left hand. This makes life easier for systems administrators and others who might have to use your machine.

I have attached two files:

keysym.dvorak is the so-called ANSI-standard Dvorak layout, which puts left and right brackets on the same key, and left and right braces on the same key, using the shift key to choose them. To the best of my knowledge, it has never been part of a widely distributed commercial product.

Don Reed	Veritas Software
don@alcuin.com	don@veritas.com
408-446-9763	415-335-8442
http://www.alcuin.com/


Copyright © 1998, Don Reed
Published in Issue 33 of Linux Gazette, October 1998


 Back