After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 326145 - retrocompatibily : catch "mplayer -stop-xscreensaver"
retrocompatibily : catch "mplayer -stop-xscreensaver"
Status: RESOLVED WONTFIX
Product: gnome-screensaver
Classification: Deprecated
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-screensaver maintainers
gnome-screensaver maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-07 22:10 UTC by Lionel Dricot
Modified: 2006-03-04 11:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Lionel Dricot 2006-01-07 22:10:41 UTC
Hello,

I've found that when running gnome-screensaver, "mplayer -stop-xscreensaver movie.avi" is becoming useless. (screensaver will appears anyway)

I have no idea on how mplayer and xscreensaver communicate, but maybe is mplayer not the only software that needs to desactivate screensaver.

I suggest that, as long as it's possible, gnome-screensaver keeps retrocimpatibily and catches any "stop-xscreensaver".


PS : I'm testing it under Ubuntu Dapper Drake. If this issue doesn't appear on other systems, I will report the bug to the Ubuntu BTS.
Comment 1 William Jon McCann 2006-01-10 17:45:22 UTC
You might want to ask the mplayer developers to support gnome-screensaver.

They can find the most recent DBUS API here:
http://cvs.gnome.org/viewcvs/gnome-screensaver/doc/DBUS-API.txt?view=markup
Comment 2 Lionel Dricot 2006-01-10 22:08:46 UTC
Is there any standardization on how to stop a screensaver ?

I wonder this because I suppose mplayer is not the only one in this case. For example if you want to use KDE-media-player in Gnome or whatever.

If I want to write a cross-desktop software that needs to disable the screensaver, must I care about all existing screensaver ?

If it does not exist, I think Freedesktop must perhaps investigate this ;-)
Comment 3 Mathias Hasselmann (IRC: tbf) 2006-03-04 11:34:41 UTC
What's wrong with using the MIT-SCREEN-SAVER extension? Calling xdpyinfo on any XFree or Xorg server reveals support for that extension. The releavent header files for supporting this are in <extensions/saver.h>.

As we still are on X, I believe we should avoid reinventing the wheel via DBUS or freedesktop.org, when there is an existing and sufficient X extension.