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
shavianin the$HOME/.config/xkb/symbolsdirectory - Put the file named
evdev.xmlin the$HOME/.config/xkb/rulesdirectory - 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.
Hey, guy trying your method out in the wild, here. I was wondering if you'd have any clue about an issue I'm having getting this to work. I'm running KDE plasma desktop in bazzite, and I tried putting these files in the appropriate places (/var/home/... instead of /home/... naturally) and the keyboard software recognizes an entry by the name of shaw imperial, but has trouble finding the symbols file. I have a symbolic link between /var/home and /home, so I think it should be able to find the right directory on its own. I'm also on wayland, if it's relevant. The full error it gives in preview is:
It's also not selectable when cycling through my keyboards. If you have any ideas, I'd appreciate it!