[mythtv-commits] Ticket #10625: Screensaver kicks in while watching recordings

MythTV noreply at mythtv.org
Thu Apr 19 02:43:54 UTC 2012


#10625: Screensaver kicks in while watching recordings
----------------------------------+--------------------------------
 Reporter:  code.myhtv.org@…      |          Owner:
     Type:  Bug Report - General  |         Status:  infoneeded_new
 Priority:  minor                 |      Milestone:  unknown
Component:  MythTV - General      |        Version:  0.25-fixes
 Severity:  medium                |     Resolution:
 Keywords:                        |  Ticket locked:  0
----------------------------------+--------------------------------
Changes (by mdean):

 * status:  new => infoneeded_new
 * component:  MythTV - Video Playback => MythTV - General


Comment:

 Are you using gnome screensaver?  If so, gnome screensaver is not taking
 hints from DPMS state and, therefore, we do not provide any way to control
 it.

 In that case, you would need to either use a supported screensaver
 (XScreenSaver), or a screensaver that properly takes hints from DPMS state
 (such as KDE screensaver), or stop using a screensaver and rely on X's
 DPMS support to blank the screen, or use a workaround such as hooking a
 script to kill (or pause/inhibit) and restart the gnome screensaver to the
 MythTV System Events "Playback started" and "Playback stopped" (and,
 possibly, "Playback paused" and "Playback unpaused").  (If you want to use
 the System Events to create a workaround, please ask for help on the
 mythtv-users mailing list and I can provide an example script.)

 Please see ticket:8639#comment:8 and 5e13d41a8 .

 FWIW, I'm loathe to add support for the GNOME-specific DBus API that they
 expect us to use, and then the KDE-specific DBus API that they expect us
 to use (exactly like the MPlayer developers refuse to do so -
 http://bugzilla.mplayerhq.hu/show_bug.cgi?id=1887#c1 ).

 Unfortunately, the right approach (xdg-screensaver,
 http://portland.freedesktop.org/xdg-utils-1.0/xdg-screensaver.html )
 doesn't work and they have only accepted one of my patches--the one that
 fixes GNOME screensaver usage (
 https://bugs.freedesktop.org/show_bug.cgi?id=29860 )--while not having
 reviewed my KDE screensaver patches (which were, in fact, the basis for
 the accepted GNOME screensaver patch).  If/when they accept my KDE
 screensaver patches (
 https://bugs.freedesktop.org/show_bug.cgi?id=26085#c6 and
 https://bugs.freedesktop.org/show_bug.cgi?id=29859 ), I'll re-add the xdg-
 screensaver support that Johnny Walker wrote for us ( #8357 ).

 That said, if someone else wants to write a patch to add generic DBus-API-
 based screensaver control class, we can consider adding it, though I have
 a feeling--based on all the issues other media players (and distros
 patching mplayer to try to add the support mplayer devs refuse to add)
 have had with doing so, it will cause more problems than it solves.

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/10625#comment:1>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list