May 08, 2024

TIL - setterm(1) and virtual console

For the option -blank, we can do disable the text display to save electricity:

       --blank [0-60|force|poke]  (virtual consoles only)
           Sets the interval of inactivity, in minutes, after which the screen
           will be automatically blanked (using APM if available).  Without an
           argument, it gets the blank status (returns which vt was blanked, or
           zero for an unblanked vt).

           The force option keeps the screen blank even if a key is pressed.
           The poke option unblanks the screen.
Posted by mjhsieh at May 08, 2024 12:00 AM