I have a custom keyboard layout that I want to add to Ubuntu 17.10. This question relates to How do I install a keyboard layout? but unfortunate I'm not allowed to comment on that one. Basically I have done the same thing.
I have downloaded http://tlundqvist.org/sv_dvorak/drivers/se_sv_dvorak_new.xorg and saved it to /usr/share/X11/xkb/symbols/se_sv_dvorak
I have added below section to /usr/share/X11/xkb/rules/evdev.xml
<layout> <configItem> <name>se_sv_dvorak</name> <shortDescription>svd</shortDescription> <description>Swedish dvorak</description> <languageList> <iso639Id>swe</iso639Id> </languageList> </configItem> </layout>
I have also added below section to /usr/share/X11/xkb/rules/evdev.lst
se_sv_dvorak Swedish dvorak
Then I have:
- sudo dpkg-reconfigure xkb-data
- systemctl restart keyboard-setup
I have also tried to reboot but when I go to Settings -> Region & Language and press + I can't find my new layout. What is wrong?
EDIT 1: This is what I can select:
EDIT 2: By running sudo dpkg-reconfigure keyboard-configuration I can change to right keyboard layout but that only works until I have logged in.