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?
vbetool dpms on
blindly so I could turn the monitor on. Is there a way to turn it on when a key is pressed? – Mikhail Morfikov Nov 11 '15 at 20:55mmap /dev/zero: Operation not permitted Failed to initialise LRMI (Linux Real-Mode Interface).
– Golar Ramblar Dec 01 '23 at 15:11