I have an Centos 7.8 Linux on a Terminal Console (no GUI). After a minute or so the Console starts a Screensaver (Blank Screen).
Under Almalinux 9.2 this seems not working, no Screensaver on the Terminal Console.
Is ist possible to acomplish this in AlmaLiniux too ?
Thanks for your Answer - Regards Martin Zahn
setterm --blank=x
, where x is the number of minutes you want to wait. Use man setterm
for more info.
Hello Pete
Thank you for your hint!
I created a systemctl service and it works fine:
[Unit]
Description=Screensaver after one minute
[Service]
Type=oneshot
Environment=TERM=linux
StandardOutput=tty
TTYPath=/dev/console
ExecStart=/usr/bin/setterm --blank=1
[Install]
WantedBy=multi-user.target