There is something you can do in power management settings but it depends on the software (xfce4-power-manager etc.) you use and many times it interferes with other things, in this case screen blanking.
Of course you can use the "bloated" tools but we want simple here and how Mr. Ivan prefers it as he is fed up with the popular solutions.
It is nothing mind blowing, just for the uninitiated and new to our hot corner.
There is something called dpms settings that can use the power management provided by X for your monitor if supported on your hardware. A lot of times, if it is enabled, it will interfere with the settings you make e.g. with power management tools from the big desktop environments. So, you have to decide what tool you want to use in first place. As we are on the grill here I will adjust it to our likings, the Ivan way, I will just use dpms settings for my screen blanking on laptops to save energy. Whatever software you use, disable now all the settings for the monitor, e.g. in xscreensaver and in xfce4-power-manager etc.
Test if dpms is running/supported on your machine (maybe you have one of those stickers with something like ENERGY STAR):
Code: Select all
xset -q | grep 'DPMS is'
Code: Select all
xset q
Code: Select all
xset +dpms
Code: Select all
xset -dpms
And I want to make it persistent. That means I could play with the xorg.conf settings but I am lazy and have no xorg.conf and do not plan to use one. I will just put it in the .xinitrc or .xsession because I use a minimal window manager but you can also put it into your autostart for DEs.
I decided I want just screen blanking and nothing more after a certain time. I put these lines into my .xinitrc:
Code: Select all
# screen settings
xset +dpms # enable power saving
xset s 10800 # blank screen after 3 hours
You can of course do it the other way, disabling it totally and use the other tools and they will finally work or not. :) Then you would do this.
Code: Select all
xset -dpms # disable power saving
xset s off # disable screenblanking
Code: Select all
setterm -powersave on # enable power saving
setterm -blank 10 # blank the after 10 minutes