I edited the file /usr/share/X11/xkb/symbols/fi
but I can't take those modifications into use.
The folder /var/lib/xkb
is empty apart of the file README.compiled
which contains this:
The X server uses this directory to store the compiled version of the current keymap and/or any scratch keymaps used by clients. The X server or some other tool might destroy or replace the files in this directory, so it is not a safe place to store compiled keymaps for long periods of time. The default keymap for any server is usually stored in: X-default.xkm where is the display number of the server in question, which makes it possible for several servers on the same host to share the same directory.
Unless the X server is modified, sharing this directory between servers on different hosts could cause problems.
So I suppose this folder should contain the compiled xkm file, but in the filesystem there is no xkm files anywhere.
How can I take my modifications into use?
Update, a little progress:
I added this to /usr/share/X11/xkb/symbols/fi
:
partial alphanumeric_keys
xkb_symbols "oma2" {
include "fi(kotoistus)"
key <AE00> { [ braceleft, braceright, NoSymbol, NoSymbol ] };
name[Group1]="Finnish (oma2)";
};
And this to evdev.xml:
<variant>
<configItem>
<name>oma2</name>
<description>Finnish (oma2)</description>
</configItem>
</variant>
I can now select the new variant Finnish (oma2), but I can't still see any change in the actual keyboard. I believe/hope I added the new definition correctly...
What's going on here? Where are the compiled files?
– ile Feb 02 '17 at 16:55/usr/share/X11/xkb/rules/evdev.xml
. – Gunnar Hjalmarsson Feb 02 '17 at 16:58<TLDE>
instead of<AE00>
. – Gunnar Hjalmarsson Feb 02 '17 at 17:42