What prompted this was what I thought was a problem in Porteus turns out to have the same problem with other distros on my hardware, and a nifty automatic fix with XFCE settings will be provided.
Turns out my modern hardware/monitor (ie, non-glass crt) will respond to EITHER the X11 screen-saver blanking timeout, or the DPMS power signalling values. If the X11 blanking timeout is LESS than the DPMS values, it will kick my monitor off and shut down. This interaction proved frustrating. I want XFCE to have full range control of DPMS poweroff.
XFCE's slider power manager DPMS max range (at least in 4.20) is 60 minutes. I like that. I usually set "sleep" to 59 minutes, and "switch off" to 60 minutes. But the old X11 screen-saver timeout can get in the way and kick it off first if the value is lower than 60!
You can verify your current setting in the terminal with
Code: Select all
xset q
The simplistic change at the terminal would be to set the X11 glass screensaver timeout to 60. But I don't want to have a blanking signal and a dpms signal firing at the same time, so I'll simply move the old value to something a tad bit higher than 60 (so DPMS will fire off first,)
Code: Select all
xset s 3800 3800
Menu > Settings > Session and Startup > Application Autostart > ADD
Name this addition to something you can recognize (like DPMS FIX or whatever) and use this as your command which has a little sleep in it to let all the other stuff run first. Don't forget the apostrophe's.
Code: Select all
bash -c 'sleep 15 && xset s 3800 3800'
If for some reason you want to edit this timeout value later, double click on your new entry and you have the option to edit it. I like to reboot and use XSET Q to doublecheck that it took.
At least this works for me, not only on Porteus, but on some other distros too where I noticed the same issue. YMMV, or consider this my own release-candidate tip!
