Bug 171303

Summary: mplayer can't stop gnome-screensaver from kicking in
Product: [Fedora] Fedora Reporter: Alexandre Oliva <oliva>
Component: gnome-screensaverAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED CANTFIX QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: jmccann, marius.andreiana, schwandter+bugs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-08-04 05:54:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexandre Oliva 2005-10-20 15:59:47 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8b5) Gecko/20051008 Fedora/1.5-0.5.0.beta2 Firefox/1.4.1

Description of problem:
mplayer (and probably several other media players) has a feature that enables it to disable the screensaver while it's running.  This is quite convenient to watch movies on the computer.

Ever since I switched to gnome-screensaver, this has no longer worked.  mplayer -stop-xscreensaver ... says it can't disable the screen saver.  Presumably it uses xscreensaver-command to tell the screen saver to stop and later restart, but since gnome-screensaver is a different screen saver, that doesn't quite work.  It would be nice of gnome-screensaver could accept commands from xscreensaver-command, and/or xscreensaver-command was extended to support xscreensaver.  Otherwise, it will require every application to support both.

Version-Release number of selected component (if applicable):
gnome-screensaver-0.0.16-1

How reproducible:
Always

Steps to Reproduce:
1.Run mplayer -stop-xscreensaver, or any scrip that used xscreensaver-command to keep the screensaver from kicking in during a movie, a presentation, whatever

Actual Results:  xscreensaver-command fails because it can't command gnome-screensaver

Expected Results:  It would be nice if it did

Additional info:

Comment 1 Marius Andreiana 2005-11-02 12:09:07 UTC
Perhaps gnome-screensaver package should conflict with xscreensaver package, and
provide a symlink and similar functionality to xscreensaver-command

Comment 2 Alexandre Oliva 2005-11-03 16:20:24 UTC
Core packages must not conflict with other core packages.  We need some
alternatives-based solution, or get xscreensaver-command clever enough to
command gnome-screensaver too.

Comment 3 Matthias Clasen 2006-08-04 05:54:50 UTC
gnome-screensaver has a well-defined and documented interface for inhibiting it.
mplayer just needs to use it.