DPMS and gdm

Reid Rivenburgh reidr at pobox.com
Wed Apr 9 05:42:33 UTC 2008


On Tue, Apr 8, 2008 at 11:36 PM, Andrew Farris <lordmorgul at gmail.com> 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




More information about the fedora-test-list mailing list