Version: 4.7 (using KDE 4.7.2) OS: Linux Playing a video with dragon player or vlc doesn't inhibit screensaver or screen suspend on my laptop. Reproducible: Always Steps to Reproduce: 1. Set screensaver time or screen power management time 2. Play video until screensaver start Expected Results: Vlc or dragon player should inhibit screensaver when playing a video
According to bug 243035 this does not work in Dragon Player, because "powerdevil does not seem to actually trigger the appropriate action".
I can confirm this for VLC. In KDE power management settings I configured the screen to dim after 1 minute of inactivity. During playback of a video in vlc the screen gets dimmed after the specified period of time, which is not what I want while watching a movie. Interestingly, if I disable screen dimming but instead configure the screen to completely switch off, everything is as expected. I.e. while watching a movie in VLC the screen stays on. But after closing VLC and one minute of inactivity the screen switches off. I connected the signal org.freedesktop.PowerManagement.Inhibit.HasInhibitChanged in qdbusviewer and this is the output: ** starting a video in vlc ** Received signal from :1.2, path /org/freedesktop/PowerManagement/Inhibit, interface org.freedesktop.PowerManagement.Inhibit, member HasInhibitChanged Arguments: true Received signal from :1.2, path /org/freedesktop/PowerManagement, interface org.freedesktop.PowerManagement.Inhibit, member HasInhibitChanged Arguments: true ** closing vlc ** Received signal from :1.2, path /org/freedesktop/PowerManagement/Inhibit, interface org.freedesktop.PowerManagement.Inhibit, member HasInhibitChanged Arguments: false Received signal from :1.2, path /org/freedesktop/PowerManagement, interface org.freedesktop.PowerManagement.Inhibit, member HasInhibitChanged Arguments: false So it seems that VLC does everything right. I have KDE 4.8.0 (Chakra Linux).
The problem seems to be only with screen dimming. Screensaver, session shutdown (standby, hibernate, shut down, lock screen) are all prevented while watching a movie in VLC. I use VLC version 2.0.0.
This bug is also filed in the Red Hat Bugzilla for Fedora 17 (KDE SC 4.8.2) on https://bugzilla.redhat.com/show_bug.cgi?id=811486 .
Strange. I got this bug probably by upgrading to 4.9.2. Never got it before. qdbus org.freedesktop.ScreenSaver /ScreenSaver SimulateUserActivity doesn't disable screen dimming. So I have to disable powersave in KDE to watch movies. I use mplayer and it always worked with "disable-xscreensaver" function but now it doesn't, neither do qdbus call.
Confirm
Seems like fixed in 4.9.5 or earlier.
*** This bug has been marked as a duplicate of bug 295164 ***