Linux console tools development discussion
 help / color / mirror / Atom feed
* [kbd] I: kbd + xkb
@ 2022-02-14 12:49 Alexey Gladkov
  0 siblings, 0 replies; only message in thread
From: Alexey Gladkov @ 2022-02-14 12:49 UTC (permalink / raw)
  To: Linux console tools development discussion


I implemented initial proof of concept[1] 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
is converted.

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[2] 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!


Rgrds, legion

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-02-14 12:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-14 12:49 [kbd] I: kbd + xkb Alexey Gladkov

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ \
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:

AGPL code for this site: git clone