On 4/13/21 8:34 AM, jdd@dodin.org wrote:
Hello,
I have a server at home with no X at all (no need).
but it's an old laptop, so with screen attached and the screen keep on all the time.
In my memories I remember having a screen saver even in the time where my computer was too short for X to works, but don't find it.
any way to blank the screen or protect it from burning?
thanks jdd
Execute: setterm -blank 5 -powerdown 6 or ... create a systemd service to do it for you. Just add: cat console-blanking.service ## systemd service file to restore default blanking and powerdown fo # virtual consoles after a given timeout period (5-min blank, 6-min powerdown) # this functionality was originally provided by the kernel defaults setting # /sys/module/kernel/parameters/consoleblank 600 (now 0-disabled). the # blanking and powerdown were delegated to systemd to implement, but no ## service was ever provided by systemd to accomplish this fundamental task. [Unit] Description=Enable virtual console blanking and poweroff [Service] Type=oneshot Environment=TERM=linux StandardOutput=tty TTYPath=/dev/console ExecStart=/usr/bin/setterm -blank 5 -powerdown 6 [Install] WantedBy=multi-user.target -- David C. Rankin, J.D.,P.E.