Dvorak keyboard layout on Trisquel GNU/Linux
There are currently five English Dvorak layout variants
1. The ANSI Dvorak layout commonly known as "dvorak" on your Trisquel OS.
2. The original layout by Dr. August Dvorak "dvorak-classic".
3. Programmer's Dvorak "dvp"
4. The right/left-handed layout "dvorak-r" or "dvorak-l"
If your default keyboard is qwerty then you could try dvorak layout by the following methods:
Trisquel-Menu -> system settings -> keyboard layout -> layout(tab)
click on the + button and search your desired layout;
Or if you prefer gnome-terminal or xterm try these
$ setxkbmap us -variant dvorak
$ setxkbmap us -variant dvorak-classic
$ setxkbmap us -variant dvp
$ setxkbmap us -variant dvorak-r
$ setxkbmap us -variant dvorak-l
optional layouts
$ setxkbmap us -variant dvorak-intl
$ setxkbmap us -variant dvorak-alt-intl
The variants can be found in the following file /usr/share/X11/xkb/us
For tty terminals "setxkbmap" command cannot be used.
The "loadkeys" command can only use the ANSI Dvorak layout.
$ loadkeys dvorak
For permanantly using dvorak layout on your Trisquel OS
edit the following file
/etc/default/keyboard
replace the text in the file with
# Check /usr/share/doc/keyboard-configuration/README.Debian for
# documentation on what to do after having modified this file.
# The following variables describe your keyboard and can have the same
# values as the XkbModel, XkbLayout, XkbVariant and XkbOptions options
# in /etc/X11/xorg.conf.
XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT="dvorak-classic" # your prefered variant
XKBOPTIONS=""
# If you don't want to use the XKB layout on the console, you can
# specify an alternative keymap. Make sure it will be accessible
# before /usr is mounted.
# KMAP=/etc/console-setup/defkeymap.kmap.gz