You are not logged in.
I have KVM switch connected to my computer. There are also some keyboard settings I customize by putting "xset" etc. in my i3 config. This works fine, but when I switch screens with the KVM, the X settings get reset. I'm guessing what happens is that autorandr detects changing monitors and drops the X stuff.
How do I make it persist? I know there's a hook for autorandr, but does that mean I'd have to maintain a separate X config script, which I then source from the hook and the i3 config? Or is there a simpler way?
Last edited by lfitzgerald (2022-06-18 00:15:46)
Offline
I'm guessing what happens is that autorandr detects changing monitors and drops the X stuff.
It's probably rather gonna be the keyboard (instead of guessing, check the xorg log, https://wiki.archlinux.org/title/Xorg#General )
Also what settings in particular? Autorepeat?
keyboard settings I customize by putting "xset" etc. in my i3 config. This works fine, but when I switch screens with the KVM, the X settings get reset.
Offline
It's probably rather gonna be the keyboard (instead of guessing, check the xorg log, https://wiki.archlinux.org/title/Xorg#General )
Good idea, I'll check the log!
Also what settings in particular? Autorepeat?
Autorepeat, and some remaps like swapping caps lock and escape. I think I just took the path of least resistance by putting the command in i3's init, and then forgot that there are better options
I'll try making a config, and post here with the result. Thank you!
Offline
Well, looking at this more closely, I don't understand how I would set the typematic delay and repeat rate with xorg.conf files. The wiki only explains how to use xset.
Offline
https://cgit.freedesktop.org/xorg/xserv … 907ffee66b
It's apparently not even in the manpage (the feature was "lost" for over a decade, https://www.phoronix.com/scan.php?page= … AutoRepeat )
This might justify a notion of the option in the wiki.
Offline
Thank you, that option worked.
Offline