I want to use custom symbols file, but it seem to work only if placed into /usr/share/X11/xkb where all other xkb config files installed. But it is not right thing to edit anything in /usr/... I think /etc/X11/xkb is more suitable place for xkb config files. It seems that all you have to do to move them is add --with-xkb-base=${EPREFIX}/etc/X11/xkb option to xkeyboard-config ebuild and --with-xkb-config-root=${EPREFIX}/etc/X11/xkb option to setxkbmap ebuild. Or if /usr/share/X11/xkb place is preferred for some another reason /etc/X11/xkb dir should be added as alternative as --with-xkb-config-root option allows several paths to be passed. Third solution is installing files into /etc/X11/xkb and symlink into /usr/... This way everyone would be happy. Thanks. Reproducible: Always
Where do other distributions put these files?
Arch in stalls them to /usr/share/X11 [1]. Fedora installs them to /usr/share/X11 [2]. I guess we'll go with WONTFIX. [1] https://www.archlinux.org/packages/extra/any/xkeyboard-config/ [2] https://fedora.pkgs.org/28/fedora-x86_64/xkeyboard-config-2.23.1-1.fc28.noarch.rpm.html