How do I enable DPMS (console blanking)?

When I log directly into a console /dev/tty1 – 6 and am idle for a while or even if I haven’t logged in, I would like the screen to poweroff.

I am using xset +dpms dpms n n n to set during my X Session, but am unsure how to do it in the console.

Answer

# setterm --blank <minutes>

or permanently a kernel parameter in grub.cfg:

consoleblank=600

Leave a Reply

Your email address will not be published. Required fields are marked *