4f9f7d7858
This is implemented as a new SetKeyboardLayout job that does the work. Portions of the code are adapted from systemd-localed's source code, which is under a compatible license (LGPLv2.1+, can be converted to our GPLv3+ license). I ported it from C to to C++/Qt and made some minor tweaks to the mapping logic (from X11 to vconsole layouts) though. Fixes #31. Tested on a Fedora Remix (Kannolo 21) with the default module settings (finds the converted X11 keymaps for the virtual console) and with convertedKeymapPath: "" (does the legacy keymap conversion as expected).
8 lines
349 B
Plaintext
8 lines
349 B
Plaintext
---
|
|
# The name of the file to write to /etc/X11/xorg.conf.d
|
|
# The default value is the name used by upstream systemd-localed.
|
|
xOrgConfFileName: "00-keyboard.conf"
|
|
# The path to search for keymaps converted from X11 to kbd format
|
|
# Leave this empty if the setting does not make sense on your distribution.
|
|
convertedKeymapPath: "/lib/kbd/keymaps/xkb"
|