I would like to have the display turn off while not logged into the system.
I can't find an easy way to do this.
I am new to Linux, and I tried this command
setterm --blank 5
and added it to crontab
, but it does not work.
I would like to have the display turn off while not logged into the system.
I can't find an easy way to do this.
I am new to Linux, and I tried this command
setterm --blank 5
and added it to crontab
, but it does not work.
Update: Found a workaround
Open /etc/default/grub in your favorite editor; you will need to use sudo (for vi, nano, etc.) or gksudo (for gedit, etc.).
Then add consoleblank=0 to the GRUB_CMDLINE_LINUX_DEFAULT=, parameter.
e.g. yours may say:
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash consoleblank=0" Then run sudo update-grub, and reboot.
vbetool
maybe? Turn off monitor using command line Ask Question – steeldriver Jan 20 '19 at 18:40