[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: stop monitor going to black



On Wed, 16 Mar 2011 22:27:01 -0400 (EDT), Charles Kroeger wrote:
> 
> What is the command to end the monitor going dark after a few minutes
> of inactivity of the mouse or keyboard?

Well, for virtual consoles other than the X server (tty1-tty6) it is

   setterm -blank 0

The above command will prevent blanking of the screen for the current
boot, or until a subsequent setterm overrides it.  To disable it
permanently (starting with the next boot), edit the file /etc/kbd/config
and change the value of BLANK_TIME to 0.

As for the X console, it probably depends on which desktop environment
you use.  For GNOME, try

   System -> Preferences -> Screensaver

and uncheck the box which says
"Activate the screensaver when computer is idle"
Then click the Close button.  The power management button
contains additional settings which may come into play.

-- 
  .''`.     Stephen Powell    
 : :'  :
 `. `'`
   `-


Reply to: