Just a quickie setup for Openbox. I usually just want a 60 minute dpms monitor poweroff, and don't use screen blanking:
This is the contents of my /home/guest/config/openbox/autostart
Code: Select all
## add commands here
## eg:
## clipit &
bash -c 'sleep 15 && xset s 4000 4000' &
bash -c 'sleep 20 && xset dpms 3600 3600 3600' &
You can easily see how I've tricked the screen blank (4000) to a value higher than the dpms 1-hour shutdown (3600). Do not overlook the apostrophe's. Use an ampersand with each command in this openbox autostart file.
Of course if you DO want screen blanking, rather than using my trick, then make your blanking times (simple xset s values) lower than dpms shutdown obviously.
That's a UNIX book - cool. -Garth