How to make a custom xkb layout/variant mapping permanent in an xorg session?

IL Ka kazakevichilya at gmail.com
Fri Feb 5 11:40:38 UTC 2021


Hi.
I believe xsession could be used:
https://wiki.debian.org/Xsession

On Fri, Feb 5, 2021 at 12:09 PM aprekates <aprekates at posteo.net> wrote:

> OS: Debian GNU/Linux 10 (buster) x86_64
> Kernel: 4.19.0-13-amd64
> DE: KDE
> Display: x11
> server: X.Org 1.20.4
>
> I managed to create a custom xkb mapping using a home directory which
> contains a xkb keymap description (my-map-usgr-workman) and a symbols
> file and feeding those in xkbcomp:
>
> ~/.config/xkb$ tree
> .
> ├── my-map-usgr-workman
> ├── symbols
> │   ├── ergogr
>
> $ xkbcomp -I$HOME/.config/xkb my-map-usgr-workman  $DISPLAY
>
> My question is : What is the way to make those changes permanent during
> a reboot?.
>
>
> ----------------------------------------------------------------------------------------------
>
> Some related guides i have found regarding on ways to create a new xkb
> layout or variant and how to enable those changes (two tasks that go
> together usually).
>
> - a couple of sites proposing the local folder way of enabling a new layout
>
>       https://www.vinc17.net/unix/xkb.en.html
>       https://a3nm.net/blog/xkbcomp.html
>       https://www.choam.eu/altgr-intl/
>
> - a guide proposing to change xkb conf files directly in the system
>
>
> https://michal.kosmulski.org/computing/articles/custom-keyboard-layouts-xkb.html
>
> - a site that suggest to uphold the 11th commandment was "thou shalt not
> edit things in /usr/share"
>
> https://www.choam.eu/altgr-intl/ <https://www.choam.eu/altgr-intl/>
>
> Alexandros
>
>
>
> _______________________________________________
> xorg at lists.x.org: X.Org support
> Archives: http://lists.freedesktop.org/archives/xorg
> Info: https://lists.x.org/mailman/listinfo/xorg
> Your subscription address: %(user_address)s
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.x.org/archives/xorg/attachments/20210205/ebbb0b7a/attachment.htm>


More information about the xorg mailing list