SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-06-07 21:39:07

DrKillPatient
New Member
Registered: 2013-06-06
Posts: 4

Disabling DPMS permanently

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 -dpms

However, 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

Be excellent to each other!

#2 2013-06-07 22:08:08

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,282

Re: Disabling DPMS permanently

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

#3 2013-06-07 22:10:10

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: Disabling DPMS permanently

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

Offline

#4 2013-06-08 00:03:46

DrKillPatient
New Member
Registered: 2013-06-06
Posts: 4

Re: Disabling DPMS permanently

pvsage wrote:

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.

pidsley wrote:

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

#5 2013-06-08 00:17:59

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: Disabling DPMS permanently

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

#6 2013-06-08 01:23:51

DrKillPatient
New Member
Registered: 2013-06-06
Posts: 4

Re: Disabling DPMS permanently

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

#7 2013-06-08 01:32:10

pidsley
Window Mangler
Registered: 2012-05-23
Posts: 1,752

Re: Disabling DPMS permanently

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

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo