On 4/14/21 2:41 AM, Per Jessen wrote:
David C. Rankin wrote:
any way to blank the screen or protect it from burning?
thanks jdd
Execute:
setterm -blank 5 -powerdown 6
Yeah, David Haller also told us about that, but it doesn't work, or at least not always.
see https://bugzilla.opensuse.org/show_bug.cgi?id=1095700
Mind you, that was about three years ago, I guess it is time to go and try it again.
Back then, I tried it with this drop-in:
/etc/systemd/system/getty\@.service.d/powersave.conf
[Service] Environment=TERM=linux ExecStartPost=-/usr/bin/setterm -powersave on >/dev/%I ExecStartPost=/usr/bin/setterm -blank 2 -powerdown 5 >/dev/%I
There shouldn't be any differences, but it has, and continues to work perfectly on Arch. https://aur.archlinux.org/packages/console-blanking/ This was frustrating when the kernel just yanked default blanking. Think about the number of monitors world-wide for severs that just stopped going to sleep. Global temperature rise projections went up by 2 degrees C.... It really was one of those why did they do it? What benefit does removing it offer, and why are we still having to deal with it now. It may have seemed like a neat idea (give it to systemd), but then never implement it in systemd. Best solution I've found is the use of setterm -blank 5 -powerdown 6 and incorporating that into a service. Onnce enables the monitors actually turn off again (backlight, everything) instead of just sitting there with a dull-glow, I'll look at them bug and see if we can do soething similar for opens -- David C. Rankin, J.D.,P.E.