First of all, thanks for having brought back and maintaing slim. It's great!
I have the following problem. When starting the displaymanager, I need to insert some user command in order to make my Laptop screen appear. Otherwise it's just black. In other displaymanagers, e.g. sddm, this can be done by add the needed commands to a script called Xsetup. So my questions is, could such a user Xsetup script also be added to slim?
I have attached a patch (based on version 1.4.0) that works for my setup but probably is more a hack than an appropriate patch. This fix allows a user defined script to be called a some point inbetween the X server start and the appearance of the login screen. I introduced a new option. If the option is empty then nothing is done. Otherwise the provided script is called. The script does the following two things:
#!/bin/sh
# Xsetup - run as root before the login dialog appears
xrandr --setprovideroutputsource modesetting NVIDIA-0
xrandr --auto
Attached you'll find the patch. Thanks for considering it.
I found a workaround which actually does not require the above code change. I'll leave this ticket open just case. Feel free to close it.
The workaround (which is not nice) is to start the X server with a script that launches another process which inserts the above statement as soon as X has started, like this:
Works but is a bit hacky.