Re: gnome-screensaver, new api calls requested :-)



On Wed, 2005-11-16 at 16:36 +0000, Richard Hughes wrote:
> On Wed, 2005-11-16 at 15:46 +0100, Rodrigo Moya wrote:
> > On Tue, 2005-11-15 at 14:11 -0500, William Jon McCann wrote:
> > > Hi Richard,
> > > 
> > > I'm going to take this onto the screensaver list.
> > > 
> > > Richard Hughes wrote:
> > > > I come with a request for more new stuff :-)
> > > > 
> > > > Some laptops turn off the lcd backlight automatically when you close the
> > > > lid, and I think about 90% of laptops fall into this category.
> > > > 
> > > > The other 10% need some DPMS magic. I've been told the usual way of
> > > > doing this would be to use "xset dpms force off" when the lid is shut,
> > > > and "xset dpms force on" when the lid is opened.
> > > > 
> > > > Knowing you have full control of DPMS in g-s, I was wondering if you
> > > > could implement one or two more API calls (sorry!) something like:
> > > > setDPMSPower (bool state) so instead of calling xset (which is a bit
> > > > hackish) I could just use a simple DBUS method to do the state change.
> > > 
> > > Ah, but *should* we have full control of DPMS in g-s?  I'm not sure.
> > > 
> > until gnome-power-manager is fully ready and included in the desktop,
> > I'd say yes, we want full DPMS control in g-s
> 
> I'm temped to agree. If you make dpms a configure-able in g-s, then
> people can use the g-p-m dpms (if thats what people want us to do) by
> configuring out the g-s one. Does that make sense? I'm having a long
> day...

sounds good to me
-- 
Rodrigo Moya <rodrigo gnome-db org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]