You are not logged in.
Pages: 1
Hello. I've set up a rather ancient computer with #! whose desktop simply displays the output of a Conky script full of RSS feeds, giving out weather/time/news and such. I'm still tinkering with it, but once I'm done I'd like to be able to let it sit on its own, perhaps mounted on a wall. Currently I am able to do this with the exception of the screen blanking. I have the following commands in my openbox autostart file:
xset dpms 0 0 0
xset s noblank
xset s off
xset -dpmsHowever, when I log in, "xset q" still lists DPMS as enabled (with what appears to be the default settings... it seems as if these commands have not taken effect. If I run the four commands manually each time the computer starts up, DPMS really does disable ("xset q" confirms this). However, I'd like this to take effect automatically on startup. Is there something I'm missing in putting these commands in the autostart file as opposed to somewhere else? Other commands in the file run normally, so it's definitely executing properly.
Offline
First of all, I'm going to assume you have ampersands at the end of each line?
You may want to try wrapping each command within `sleep` to have it wait a few seconds before executing, giving the system time to stabilize...e.g.
(sleep 3s && xset dpms 0 0 0) &Offline
Exactly where did you put these lines in the autostart file? I tried this, and it works for me (but it also seems like all you really need is "xset -dpms").
Please post the link you get from this command:
cat ~/.config/openbox/autostart | curl -F 'sprunge=<-' http://sprunge.usOffline
First of all, I'm going to assume you have ampersands at the end of each line?
You may want to try wrapping each command within `sleep` to have it wait a few seconds before executing, giving the system time to stabilize...e.g.
(sleep 3s && xset dpms 0 0 0) &
Yes, ampersands follow each command. Coupling them with sleep, even quite a long one, doesn't affect anything however.
Exactly where did you put these lines in the autostart file? I tried this, and it works for me (but it also seems like all you really need is "xset -dpms").
Please post the link you get from this command:
cat ~/.config/openbox/autostart | curl -F 'sprunge=<-' http://sprunge.us
Here you go! The relevant commands are right at the top (but below the first set of comments).
EDIT: I tried increasing the delay even further, to 25 seconds, and it now works as expected. In researching this issue, however, I've heard of DPMS reenabling itself on occasion, so I'll have to wait a bit to see if this is an effective fix.
Last edited by DrKillPatient (2013-06-08 00:08:29)
Offline
Strange -- it works on my machine without the sleep, but I'm not running Waldorf. Your autostart file looks fine. What if you just use the single command
xset -dpms?
Last edited by pidsley (2013-06-08 00:18:41)
Offline
I'd tried that earlier, actually. No luck. It appears that some part of Waldorf's startup process (or perhaps something I added -- though I didn't add much) resets the DPMS settings just as I log in. The good news is that waiting for about 25 seconds before shutting it off does disable it properly, it seems.
Offline
OK then -- what if you move the dpms calls to the very end of the autostart file? That's all I got. Maybe 25s of sleep is the best you can do with Waldorf.
Offline
Pages: 1
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.