Please consider adding gnome-screensaver support to mplayer. Here is the patch http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2006-October/046721.html Although upstream does not accept this patch I think including it into the ebuild is not a big issue and will be really beneficial for GNOME users. Reproducible: Always
Generally speaking, I dont want to import patches into our code that adds new functionality, since then we'll be stuck maintaining that new featureset ourselves. I would prod upstream again to see what they think of the idea (I think it's a good one), and get them to go over the issue again. Failing that, I'd put this in an overlay instead. Sorry, Ivan.
I would very much prefer if instead the most basic options were added to screensavers, like "don't start if program XY is running" or "don't start if window X covers more that Y% of the screen" instead of having to include screensaver handling for at least 3 screensavers in all media players, presentation programs etc. pp. IOW: I would like it if someone could force those who created this mess to deal with it.
*** Bug 176725 has been marked as a duplicate of this bug. ***
*** Bug 203615 has been marked as a duplicate of this bug. ***
*** Bug 207377 has been marked as a duplicate of this bug. ***
MPlayer SVN supports and uses the XResetScreenSaver and XScreenSaverSuspend methods. For those screensavers that stubbornly refuse to support these you can use the -heartbeat-cmd option to specify an arbitrary command that will be executed periodically while MPlayer runs. No further ways (unless maybe if they have the blessing of the X.org crew) to support screensaver handling will be added.
Thanks Gentoo for making a better decision than some other distributions! (If a distribution wants to fix a bug in gnome-screensaver, it should be fixed in gnome-screensaver, not in mplayer.)