[kbd] I: kbd + xkb
gladkov.alexey at gmail.com
Mon Feb 14 15:49:18 MSK 2022
I implemented initial proof of concept for using layouts from XKB.
Using xkbcommon I process loadkeys arguments and convert the resulting
configuration into a kernel keymap. Only what is supported by the kernel
This support does not replace regular keymaps. There are no plans for
The command looks like:
loadkeys --xkb-layout="us,ru,fr" --xkb-options="grp:caps_toggle"
This implementation is inspired by the console-setup project. Many
thanks to Anton Zinoviev for help.
At the moment compose is not implemented. This is because xkbcommon does
not provide an API for iterating over a compose table. I hope to solve
this problem in the future.
If you're interested then comments, bug reports and patches are welcome!
More information about the kbd