On Dienstag, 30. März 2021 20:32:32 CEST Felix Miata wrote:
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.
Thx, but no - the script isn't executed at all from this place. And yes, it is executable. Bye. Michael.