Turning off the monitor should be a really simple thing, but it isn't. I know that under Xserver, we have
xset tool which allows us to turn off the screen via the following command:
$ xset dpms force off
But this doesn't work while logged in TTY.
I also know that there's
setterm tool that can set some powersave options, for instance:
setterm --blank 5 --powersave powerdown --powerdown 0
So after 5mins since the last command typed into TTY console, the monitor will be powered off, but I need a command that can turn off it instantly. Something similar to
xset. Is there something like that?