mh@mike.franken.de composed on 2021-03-30 20:21 (UTC+0200):
on my notebook I use a small script to handle the connected graphics ports via xrandr. This script has to be run before sddm-greeter gets started. For a long time now the script was started from [/usr]/etc/X11/xdm/Xsetup, because I couldn't find a better place for it. It is annoying, though, that Xsetup gets overwritten with every update of xdm. What's more annoying, is the fact, that no .rpmsave file is created during update, despite the fact I had modified the file.
Is there a better/proper place for a script like that, where it can survive an update unchanged? Something like Xsetup.d/?
I put my own xrandr script in /etc/X11/xinit/xinitrc.d/. Whether it affects SDDM I don't recall, as I use SDDM on at most maybe 6% of my installations, and those don't get much use. -- Evolution as taught in public schools, like religion, is based on faith, not on science. Team OS/2 ** Reg. Linux User #211409 ** a11y rocks! Felix Miata *** http://fm.no-ip.com/