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

Bug#397197: Interesting Development



retitle 397197 Disabling, and then re-enabling, DPMS does not work under some conditions
found 397197 2:1.4.1~git20080131-1

I found something. Try the following:

$ xset dpms 30 30 30 (set to 30 because we are going to race the clock)
$ xset -dpms
IMPORTANT: (do not wait 30 seconds)
$ xset +dpms
[wait 30 seconds]
[dpms still works?]

It seems that after disabling dpms, the dpms timer is still going, and
does something that breaks dpms instead of turning off the screen. Also
worthy of note is that with dpms disabled, the "break dpms timer" does
not reset when you press a key. So, for example, if you are a slow
typer, and it takes you 45 seconds to write the "xset +dpms" line, but
only five seconds to find any given key, you will still break dpms by
leaving it disabled for 30+ seconds.

For anyone who needs to workaround this bug, you might want to install
xautolock, and then add the following line to your X startup script:
xautolock -time 10 -locker "xset dpms force standby" &

This forces dpms standby after 10 minutes of inactivity.

I changed the title of this bug for accuracy and precision.

-Brandon




Reply to: