Re: [gpm] gnome-power-manager and DPMS



On Sun, 2006-07-30 at 10:46 +0100, William Waghorn wrote:
> Richard Hughes wrote:
> > On Sun, 2006-07-30 at 10:39 +0100, William Waghorn wrote:
> >   
> >> Of course, all I really want is for the monitor to go directly to
> >> 'suspend' and not go onwards to 'off'.  How about a new gconf key with a
> >> default value which results in current behaviour, or 'standby',
> >> 'suspend' or 'off'?
> >>     
> >
> > In gpm-manager.c, ln~564 you should see:
> >
> > 	/* try to make up some reasonable numbers */
> > 	suspend = standby;
> > 	off     = standby * 2;
> >
> > if you change this to:
> >
> > 	/* try to make up some reasonable numbers */
> > 	suspend = standby;
> > 	off     = 0;
> >
> > Does this fix things for you?
> >   
> Yes, as does:
> 
>     /* try to make up some reasonable numbers */
>     suspend = standby;
>     off = 0;
>     standby = 0;

Does my snippet work, i.e. without the standby = 0; line?

Richard.




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