On 19/11/2024 22:22, Hans wrote:
The strange thing is: When watching a video with "smplayer" or with "mpv", then the screen is not going blank.
My guess is that mpv properly inhibits screensaver, likely using a D-Bus call.
<https://lists.freedesktop.org/archives/xdg/2007-March/009187.html> Stephan Kulow. screensaver dbus interfaces. Mon Mar 5 05:16:39 PST 2007 Besides org.freedesktop.ScreenSaver, there may be org.gnome.ScreenSaver. You may try some wrapper when starting vlc, e.g. light-locker-command --inhibit vlc ... or a python script (not shell one) from (untested) <https://gist.github.com/fxthomas/9bdfadd972eaf7100b374042faac28c2> For troubleshooting "busctl --user" with some more arguments may be useful.