I have a keyboard layout file that I want to install on 17.10, but I fail to make it work.
How is it supposed to be done?
So far I have tried
- Guessing how to do it based on existing files in
/usr/share/X11/xkb/symbols/and the appearance of/usr/share/X11/xkb/rules/evdev.xml - Guessing what a "variant" is, how to add it, what fields need to be updated, where the contents of this symbols file should be placed
- Guessing that placing it with a unique name directly in
/symbols/means I have to add it as a<layout>inevdev.xml. Still no idea whether that is true, nor which field -- if any -- is supposed to correspond to the file name - Guessing that placing it inside an existing file in
/symbols/means I have to add it as a "variant". No idea whether that is true
It would help if there was some way to avoid the guessing. I don't need a crash-course in the architecture, just a non-ambiguous way to make the keyboard layout...
- show up in the keyboard layout settings dialog, and...
- produce the correct input
So far the farthest I've come is #1 -- but don't ask me how, because I don't know which part did it.
Update
Exactly this has been done
The contents of the symbols file that I linked to is in
/usr/share/X11/xkb/symbols/svorak-a5The following block has been inserted into
/usr/share/X11/xkb/rules/evdev.xmlright before the pre-existing element sequence<layout><configItem><name>se:<layout> <configItem> <name>svorak-a5</name><shortDescription>sva5</shortDescription> <description>Svorak A5</description> <languageList> <iso639Id>swe</iso639Id> </languageList></configItem> </layout>
/var/lib/xkbcontains no.xkms.