You are not logged in.
After upgrading using pacman -Syu, my keyboard goes back to the default repeat rate (how fast a key repeats when you hold down on a key, I prefer it for cursor-ing around.)
I use xset in xinitrc to set the repeat rate:
xset r rate 220 40
I can find two threads from 2023 about similar issues, about the keyboard layout reverting each they updating. There were suggestions for workarounds, but it seems like it was a bug that fixed itself (I use a non-default keyboard layout through localectl and I'm not reporting that issue).
https://bbs.archlinux.org/viewtopic.php?id=290696
https://bbs.archlinux.org/viewtopic.php?id=288550
The solution, with the caveat that the setting doesn't apply just to one's user, by @seth is placing a file in /etc/X11/xorg.conf.d (https://wiki.archlinux.org/title/Xorg/K … tion_files)
The wiki lists 3 different solutions. The issue appears to be somewhat well-trodden. I'd really like to find out if there's a more satisfactory way than all the solutions so far because:
1. xset alone reverts too easily
2. No one seems keen on using xautocfg from the AUR
3. Placing a config file in xorg.conf.d applies my setting to all users
4. A startup option combination for XServer (-ardelay, -arinterval) can set the repeat rate, but this doesn't generalize to other settings.
Settings, be them in xset or xinput, generally do not persist.
I might set middle-click emulation for a mouse (at the expense of a bit of latency), and other users might prefer not having it. As a user, I might run xinput set-prop "SynPS/2 Synaptics TouchPad" "libinput Middle Emulation Enabled" 1, but this gets reverted if the device is so much as unplugged and re-plugged. The wiki page on libinput doesn't list a persistent, per user solution.
Some listener such as xautocfg might really be the solution.
Last edited by Affaisseras (2026-03-03 23:37:41)
Offline