VLC didn't block xscreensaver.
Advanced Settings - Video - Disable Screensaver - activated
VLC version 2.2.1, xscreensaver version 5.32.
xdg-utils is installed 1.1.0~rc1-2ubuntu7.1 on ubuntu 14.04. screensaver blocking worked with gnome-screensaver (but I switched to xscreensaver for security reasons). Also xscreensaver is blocking nicely when using smplayer(sorry for mention it here)This is usually caused by one of those:
- the desktop environment providing a non-working D-Bus screensaver object,
- xdg-screensaver (xdg-utils) missing, or
- a buggy version of xdg-screensaver installed.
The following utilities are included:
xdg-screensaver
How to check that?the desktop environment providing a non-working D-Bus screensaver object
Dbus is working, but there is no actual dbus support in xscreensaver. For example when gnome-screensaver is activated gnome-screensaver report events to dbus, and vlc know what to do. But since xscreensaver has no build in dbus support, vlc detect dbus in system but don't know screensaver state since xscreensaver don't support dbus and reports no information to dbus. And as result vlc dot block screensaver at all, since vlc wait for dbus screensaver state thats never reported.No. VLC checks if D-Bus screensaver API is available. If it is not, then it falls back to (actually much less safe) command line execution.
From my PoV, this is a bug in your system. The D-Bus API should not be shown if it does not work.
I inspected that org.freedesktop.Screensaver and find pid, it was /usr/lib/unity-settings-daemon/unity-settings-daemon that exist like one of gnome-flashback dependencies. I removed libscreensaver-proxy.so and screensaver-proxy.gnome-settings-plugin files from /usr/lib/unity-settings-daemon-1.0/, restart session and now org.freedesktop.Screensaver object not exist under session bus. But looks like vlc still don't fall back to command line execution mode.That's what I'm saying: your system is broken. It exposes a nonoworking DBus screensaver object.
Return to “VLC media player for Linux and friends Troubleshooting”
Users browsing this forum: No registered users and 18 guests