This package provides several keymapping files related to the Dvorak keyboard layout
- Classic Dvorak layout
- Classic Dvorak International layout
- Customized Classic Dvorak layout (provides tenkey shortcuts, by holding down Alt Gr)
- Customized Programmers Dvorak layout (shortcuts similar to above)
This option will install kbd
layout into /usr/share/kbd/keymaps/i386/dvorak/classic-dvorak.map.gz
and the xkb
layouts into /usr/share/X11/xkb/symbols/custom
make install
localectl --no-convert set-keymap classic-dvorak
Note: You may need to restart your machine for the new locale to take effect.
localectl --no-convert set-x11-keymap custom "" LAYOUT_NAME ctrl:swapcaps
where LAYOUT_NAME
can be one of
dvorak-classic-intl
dvorak-classic-intl-custom
dvp-custom
Notes:
--no-convert
prevents localectl from converting the keymap between the console and X11- the
""
is where your keyboard layout would go, but we don't want to configure that manually, so we leave it blank. ctrl:swapcaps
swaps ctrl and capslock keys
This method explains how to configure the layout for Sway. Xserver does not load user defined layouts by default, however, you may have luck trying this method described in the Arch Wiki. https://wiki.archlinux.org/index.php/X_keyboard_extension#Using_keymap
make install-user
Add the following section in your Sway configuration file (~/.config/sway/config
)
input type:keyboard {
xkb_layout dvp-custom
}
This sets the layout for all keyboards. If you want to target a specific keyboard, get its indentifier, by running
swaymsg -t get_inputs
and replace type:keyboard
with the keyboard's identifier
The differences between simplified Dvorak and classic Dvorak are limited to the numeric row and the first alphabetic row as described in the first paragraph of this article:
http://lists.x.org/archives/xorg/2006-July/016530.html
This custom layouts defines my personal shortcuts. When holding down Alt GR, you get arrow keys in an inverted-T on your right hand.
(g) home | (c) ↑ | (r) pgup | |
(h) ← | (t) ↓ | (n) → | (s) bcksp |
(m) end | (w) | (v) pgdn |
To switch between normal qwerty and my layout you must add the us
keymap in localectl
:
localectl --no-convert set-x11-keymap custom,us "" dvorak-classic-custom ctrl:swapcaps
To switch to layout custom( dvorak-classic-custom)
use:
setxkbmap -layout custom\(dvorak-classic-custom\)
To switch to us(intl)
:
setxkbmap -layout us\(intl\)