Per Jessen wrote:
David C. Rankin wrote:
On 05/24/2018 01:17 PM, Per Jessen wrote:
I was thinking of putting a setterm somewhere in the start-up of a virtual console, getty@.service. With a system drop-in, that would do it for me. If only setterm could also get the powerdown to work ...
# setterm --powerdown <minutes>
should do it. I don't know what kernel param that sets, but according to the man page -- that is what the option is for.
# setterm --blank 10 # setterm --powerdown 12
is working fine with 4.16.10
Aha. I tried it with both arguments on one line, and that didn't work for me. Does your monitor actually suspend or power down?
From a highly scientific experiment this morning, three different monitors, 5 different openSUSE releases, 5 different video cards.
Conclusion - blanking works on all, sometimes powerdown/powersave works too! On two machines with ATI Rage XL, I had to use '-powersave on' to get it to work. On one with ATI ES1000, it worked without '-powersave on'. I'm not sure about whether the timeouts work. On Leap15.0 (HP L1950, xgi z7/z9, via kvm) I'm trying out the following: /etc/systemd/system/getty@.service.d/powersave.conf : [Service] ExecStartPost=/usr/bin/setterm -powersave on -blank 2 -powerdown 5 -- Per Jessen, Zürich (17.4°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org