I am trying to create a new keyboard layout where two keys are inverted with each other.
This is what I have done:
Edit /usr/share/X11/xkb/symbols/se
to add:
partial alphanumeric_keys
xkb_symbols "kinesis" {
// Modifies the basic Swedish layout to place aring correctly
include "latin(type2)"
include "se(basic)"
name[Group1]="Swedish (kinesis)";
key <BKSL> { [ aring, Aring ] };
key <AD11> { [apostrophe, asterisk, acute, multiply ] };
};
Edit /usr/share/X11/xkb/rules/evdev.lst
to add to the section ! variant
:
kinesis se: Swedish (kinesis)
Restarted X.
This mentions something about rules/evdev.html
, which I do not have (Ubuntu 14.04). It mentions also "adding the file", but I did not create any new file, only completed the existing symbols/se
. I also tried to clear /var/lib/xkb
from *.xkm
, no difference.
How do I make this new variant of the layout to show up in my Settings->Text Entry?