This document illustrates how to set up a Shavian keyboard on a Linux system without installing any new software, integrating it with the desktop environment. This will probably work on any modern linux variant, however it was developed and tested on Fedora Silverblue 40 with a GNOME desktop. This process involves user configuration rather than system wide configuration.
The keyboard implemented has a layout identical to the Shaw Imperial keyboard listed on https://shavian.info/keyboards/.
mkdir -p $HOME/.config/xkb/{rules,symbols}
- Put the file named
shavian
in the$HOME/.config/xkb/symbols
directory - Put the file named
evdev.xml
in the$HOME/.config/xkb/rules
directory - Open the activity bar and search for "keyboard" (this opens the settings dialog and chooses "Keyboard")
- Click on "Add Input Source..."
- Click on the three vertical dots at the bottom (for more choices)
- In the search box type Shaw and click on "Other"
- Click on "Shaw Imperial".
You should now see two input sources in the list. Close your windows and log out/log back in.
When you log in again, there should be a selector in the upper right hand corner next to the network/sound/power icons. Use the dropdown under the selector to pick which keyboard layout you would like to use.
In the Settings -> Keyboard
window, you have the opportunity to select whether the entire system switches to the
selected mapping, or whether each window can individually be associated with its own keyboard mapping.
From the Settings -> Keyboard
window, if you click the three vertical dots next to the Shaw Imperial input source,
you will be offered the option to "View Keyboard Layout". This will open a window that will show you which keys are
mapped to which symbols. You can click on the SHIFT key (in the layout window) to see what symbols are mapped to the
capital keys.