Skip to main content
added 4 characters in body
Source Link
Anthon
  • 81.4k
  • 42
  • 174
  • 228

You can change that with setterm -blank X (X is the number of minutesminutes). From man setterm:

-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, gets the blank status  (returns  which  vt
       was blanked or zero for unblanked vt).

       The force option keeps screen blank even if a key is pressed.

       The poke option unblank the screen.

Alternatively you can set the kernel parameter consoleblank=Y (Y being seconds here). consoleblank=0 disables blanking.

You can change that with setterm -blank X (X is the number of minutes). From man setterm:

-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, gets the blank status  (returns  which  vt
       was blanked or zero for unblanked vt).

       The force option keeps screen blank even if a key is pressed.

       The poke option unblank the screen.

Alternatively you can set the kernel parameter consoleblank=Y (Y being seconds here). consoleblank=0 disables blanking.

You can change that with setterm -blank X (X is the number of minutes). From man setterm:

-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, gets the blank status  (returns  which  vt
       was blanked or zero for unblanked vt).

       The force option keeps screen blank even if a key is pressed.

       The poke option unblank the screen.

Alternatively you can set the kernel parameter consoleblank=Y (Y being seconds here). consoleblank=0 disables blanking.

Source Link
Anthon
  • 81.4k
  • 42
  • 174
  • 228

You can change that with setterm -blank X (X is the number of minutes). From man setterm:

-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, gets the blank status  (returns  which  vt
       was blanked or zero for unblanked vt).

       The force option keeps screen blank even if a key is pressed.

       The poke option unblank the screen.

Alternatively you can set the kernel parameter consoleblank=Y (Y being seconds here). consoleblank=0 disables blanking.