Jump to content

Console screen blanking question


Recommended Posts

You want the setterm command. If you write a program that uses setterm, you need to ensure that stdout is set to /dev/console

 

 

setterm -blank 5

 

 

Other options might be (check man setterm):

 

setterm -powersave powerdown

setterm -powersave 5

 

 

This tells the text console that after 5 minutes of no activity the monitor can be powered down. This wll work no matter what your APM settings are (or even if you don't have APM loaded).

 

To save the changes:

 

setterm -store

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...