Re: DPMS and gdm

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

 



On Tue, Apr 8, 2008 at 11:36 PM, Andrew Farris <lordmorgul@xxxxxxxxx> wrote:
> Reid Rivenburgh wrote:
>
>
> >
> > >
> > > > xset +dpms
> > > > xset dpms 15 30 45
> > > >
> > > > (sleep 15; xset dpms force off)&
> > > >
> > > >
> > >  If you don't add the force, does the specified timing work?
> > >
> >
> > No, then it just doesn't ever go off.  That was after a quick test
> > where I waited about a minute.  I'll keep the "force" commented out
> > and let it go all night to verify that it doesn't turn off after
> > several hours.
> >
>
>  Out of curiosity.. are those xset commands happening after the X server is
> started (for sure)?  The 15s delay before your force may be hiding the fact
> that the X server is overriding your set values if the X server starts
> during those 15s and sets some other value to the settings.
>
>  Maybe you should drop a longer sleep in there before you do the settings,
> then force off.

You get the gold banana!  I put in this line:

(sleep 60; xset dpms 15 30 45)&

And now it seems to work fine.  The 60 may be overkill there, of
course....  I was just assuming the script was run after the X server
started, but apparently not.  Good catch!

Thanks,
reid

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux