You are not logged in.
I have the following in my
.xinitrc: setxkbmap us -option ctrl:nocaps
When I run
pacman -Syu
sometimes caps-lock isn't substituted for ctrl anymore. I'm not sure what package is causing this, but it's quite annoying. Upgrading packages shouldn't cause X keymap changes I guess. What could be the reason for this?
Offline
Keyboard layout being reset sounds like udev is reloaded.
Some package updates may cause this; for instance systemd has /usr/share/libalpm/hooks/30-systemd-udev-reload.hook, which triggers a udev-reload if anything under /usr/lib/udev/rules.d/* changes.
Whether or not an automatic udev reload makes sense or not, I cannot judge. But I also tend to agree with you that I'd like as little automagic (re)starts happening behind my back.
I assume the Arch Linux packagers had a reason for doing this, but the corresponding commit message isn't exactly very informative.
Offline
https://bugs.archlinux.org/task/77789
For a de-facto single user system (or if everyone wants that setting) use https://wiki.archlinux.org/title/Xorg/K … tion_files
Offline