[mythtv-commits] Ticket #3652: Gnome Screensaver support

MythTV mythtv at cvs.mythtv.org
Fri Jun 22 17:01:50 UTC 2007


#3652: Gnome Screensaver support
------------------------------------------------+---------------------------
 Reporter:  Petr Stehlik <pstehlik at sophics.cz>  |        Owner:  ijr    
     Type:  patch                               |       Status:  new    
 Priority:  minor                               |    Milestone:  unknown
Component:  mythtv                              |      Version:  unknown
 Severity:  medium                              |   Resolution:         
  Mlocked:  0                                   |  
------------------------------------------------+---------------------------

Comment(by coling):

 I posted this on the devel mailing list but no-body listened :'(

 Here it is again. Basically, I don't think calling gnome-screensaver
 directly is the right solution where a universal solution is available
 instead. I believe this could ''replace'' the xscreensaver stuff (tho'
 can't confirm it).

 {{{
 The best solution here would be to use xdg-screensaver as that should
 work for Gnome, KDE or any other DE that conforms to the goals for the
 Portland project.

 http://portland.freedesktop.org/wiki/

 In my distro, (Mandriva) xdg-screensaver is provided by the xdg-utils
 package.

 Summary     : Interfaces and Tools to allow all applications to easily
 integrate with the free desktop configuration

 I'd imagine you want to run:

  xdg-screensaver suspend WindowID
 and
  xdg-screensaver resume WindowID


        suspend WindowID
               Suspends the screensaver and monitor power management.
 WindowID
               must be the X Window ID of an existing window of the calling
               application. The window must remain in existance for the
               duration of the suspension.

               WindowID can be represented as either a decimal number or as
 a
               hexadecimal number consisting of the prefix 0x followed by
 one
               or more hexadecimal digits.

               The screensaver can be suspended in relation to multiple
 windows
               at the same time. In that case screensaver operation is only
               restored once the screensaver has been resumed in relation
 to
               each of the windows

        resume WindowID
               Resume the screensaver and monitor power management after
 being
               suspended.  WindowID must be the same X Window ID that was
               passed to a previous call of xdg-screensaver suspend
 }}}

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/3652#comment:1>
MythTV <http://svn.mythtv.org/trac>
MythTV


More information about the mythtv-commits mailing list