I had the following setup:
- For my screensaver, I used
xscreensaver(because it's beautiful) - To lock my screen, I used
light-locker(because it's more secure thenxscreensaver)
Recenctly, xscreensaver started binding to org.freedesktop.ScreenSaver on dbus. As a consequence, I cannot run them both anymore in parallel, cause the one I started after the other complains that a screensaver is already running.
I read in the ArchWiki that there is some possibility to override services. But it is very vague and I'm not familiar with d-bus.
Is there a way to have the two side-by-side without tampering with the source code of one of them?
For the record: unsetting the DBUS_SESSION_BUS_ADDRESS environment variable before starting ether screensaver does not work.
Edit: As far as I've seen in my research, it does not seem to be possible to prevent a program to listen to a d-bus service without causing trouble to this program. If someone can confirm me this, it would make a very good answer.