setxkbmap search path

Ilya Anfimov ilan at astelecom.ru
Sun Dec 13 16:18:28 PST 2015


On Sun, Dec 13, 2015 at 04:20:52PM +0100, EatsKittens wrote:

Good day!

>    By default, `setxkbmap` searches for. files within
>    `/usr/share/X11/xkb`. Is there any way to make it in order search into
>    `{$HOME/.local,/usr/local,/usr}/shareX11/xkb`.
>    My current setxkbmap inside my `~/.xinitrc` looks like this:
>        setxkbmap -compat custom -keycodes custom custom shift
>    I would like to be able to use something like this without having to
>    pollute the `/usr/share` namespace with custom files like
>    `/usr/share/X11/xkb/{compat,keycodes,symbols}/custom`
>    Using `-I ~/.local/share/X11/xkb` which I tried to add in front of it
>    does not seem to work even with a fully copied directory structure.

 You could use

 setxkbmap -compat custom -keycodes custom custom shift -print|xkbcomp -I ~/.xkb/ - "$DISPLAY"


> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: http://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s



More information about the xorg mailing list