I just looked at the file /usr/lib64/libxkbcommon.so with strings(1).

(The src is better, but this was quicker.)

It includes these strings in succession:

,----
| Include path added: %s
| Include path failed: %s (%s)
| /etc/xkb
| XKB_CONFIG_EXTRA_PATH
| /usr/share/X11/xkb
| XKB_CONFIG_ROOT
| %s/xkb
| %s/.config/xkb
| %s/.xkb
| XKB_LOG_LEVEL
`----

So /etc/xkb ought to work.  As ought ~/.xkb and ~/.config/xkb.

Ang you should be able to use the environmental variables (set them
before starting Xorg) XKB_CONFIG_EXTRA_PATH to add another path, or
XKB_CONFIG_ROOT to completely replace /usr/share/X11/xkb.

I also tried running:

,----
| strace xkbcli how-to-type --layout us U+0229|&fgrep /etc
`----

which invluded the line:

,----
| newfstatat(AT_FDCWD, "/etc/xkb", 0x7ffdcd70b0d0, 0) = -1 ENOENT (No such file 
or directory)
`----

which strongly suggests /etc/xkb is supported.  At least by default.

Did anything show up in your /var/log/Xorg.0.log when you tried /etc/xkb?

-JimC
-- 
James Cloos <[email protected]>
            OpenPGP: https://jhcloos.com/0x997A9F17ED7DAEA6.asc

Reply via email to