Update: More recent Ubuntu versions no longer use xmodmap, so the method described below will not work.

Recently I switched from the standard QWERTY keyboard layout to DVORAK, which promises faster typing and less finger travel when touch-typing. The standard Dvorak layout is optimized according to the pattern and frequency with which letters appear in the English language, thus making it particularly useful for those who use English as their primary language on a computer.

Here is my Emacs configuration file which I have been using on my Ubuntu box for several years. Over time I added more and more options to it. I'm sharing it, because it might be useful for other Emacs users out there. The file is heavily commented, thus hopefully making it easy to comprehend and modify.

Some features are pretty basic, while others tailor to more specific needs: