Dvorak Type II for Linux
Here you can find keyboard layouts that let you type in Dvorak on Linux, in the console, on Wayland and in the X Window System.
Installation on Wayland and X11
The layout is installed as an additional variant dvorak_type2 of the German layout. The bundled layouts stay unchanged, and because the files are not placed under /usr/share, they survive package updates.
- Download both files.
- Copy them to
/etc/xkbfor all users:sudo install -Dm644 de /etc/xkb/symbols/desudo install -Dm644 evdev.xml /etc/xkb/rules/evdev.xml
or to~/.config/xkbfor your user only:install -Dm644 de ~/.config/xkb/symbols/deinstall -Dm644 evdev.xml ~/.config/xkb/rules/evdev.xml
If you already have your own files with these names there, merge their contents. - Log out and back in, then select "German (Dvorak Type II)" in the keyboard settings (GNOME, KDE Plasma 6.1 or later). In sway or Hyprland:
xkb_layout deandxkb_variant dvorak_type2, orkb_layout = deandkb_variant = dvorak_type2.
KDE Plasma up to 6.0: The system settings don't list the variant. In a Wayland session you can add it directly to the [Layout] section of ~/.config/kxkbrc: de in LayoutList and dvorak_type2 at the same position in VariantList (comma-separated, keep existing entries), e.g. LayoutList=de,us and VariantList=dvorak_type2,. Then log in again. In an X11 session, see the next section.
X11: The X server only reads its own layouts. In an X11 session, load the layout at login, e.g. in ~/.xprofile (adjust the path if you installed to /etc/xkb):setxkbmap -I$HOME/.config/xkb -layout de -variant dvorak_type2 -print | xkbcomp -I$HOME/.config/xkb - $DISPLAY
Arch Linux: Same procedure. There, /usr/share/X11/xkb is a symlink to /usr/share/xkeyboard-config-2, which belongs to the xkeyboard-config package – pacman overwrites any changes there on the next update.
Installation for the console
The keymap needs a console in Unicode mode, which is the default on systems with a UTF-8 locale. Otherwise run sudo kbd_mode -u first; this only affects the current console.
To try it out: sudo loadkeys de-dvorak_type2.map
Permanently with systemd (e.g. Arch, Fedora): copy the file to your distribution's keymap directory – Arch: /usr/share/kbd/keymaps/, Fedora: /usr/lib/kbd/keymaps/. Files that don't belong to a package are kept on updates. Then add KEYMAP=de-dvorak_type2 to /etc/vconsole.conf. On Arch, also run sudo mkinitcpio -P if you use the sd-vconsole or keymap hook. The keymap hook only switches to Unicode mode if LANG in /etc/vconsole.conf or /etc/locale.conf is a UTF-8 locale.
Debian and Ubuntu: copy the file to /etc/console-setup/, add KMAP=/etc/console-setup/de-dvorak_type2.map to /etc/default/keyboard and run sudo setupcon --save.