Red Hat Bugzilla – Bug 506191
power saver option display turn off activates when mplayer is playing video
Last modified: 2009-10-26 08:31:05 EDT
Description of problem:
The display turns off while mplayer is playing video. If the timer is setted to 5 min, it turns off the display, after the screen is locked, but it's turning off the screen, even there is a running video player (like mplayer).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Turn on the power saver display turn off function
2. Start to play a video with mplayer
The display is turning off after the pre-setted time.
It doesn't turning off.
Mplayer version: MPlayer 29092-4.4.0
mplayer needs to inhibit the session -- otherwise gnome-power-manager has no idea what's going on.
mplayer calls XScreenSaverSuspend when it starts playing, which inhibits a standard xscreensaver-compatible screensaver from running, but gnome-screensaver uses it's own system for other technical reasons.
I think it would be good if it could support applications that use XScreenSaverSuspend though, see comment 2 on <https://bugzilla.gnome.org/show_bug.cgi?id=416429>.