HOWTO: Disable Linux Screen Blanking (Disable Powersave)

| No TrackBacks
On a normal Linux box, the system console will turn off (pseudo power save mode) after 10-minutes or so.  This can be irritating for system administrators who are using the console to monitor their system.  Personally, I use screen with htop and a few other tools (apachetop) to monitor my Linux box and active virtual machines.  Therefore, it's frustrating when the monitor blanks itself.  There are several tips on the web showing folks how to disable screen blanking (power save mode) on a Linux console (/dev/console).  The solution that appears to work well for me on Fedora and CentOS is adding this line to /etc/rc.local:

sh -c 'setterm -blank 0 -powersave off -powerdown 0 < /dev/console \
> /dev/console 2>&1'

I hate the environment, that's why I leave my monitors on all day (I'm kidding).  Note you'll need to restart [your system,your X-server] for this change to take affect.

Did You Find this Helpful?

Did you find this post helpful, or at least, interesting?

  

About Mark

A Silicon Valley native, Mark Kolich is a full-time Software Engineer and a consultant for hire. A web technologies expert, his current focus is on building powerful and robust cloud-driven web-applications using Java, PHP, Perl, AJAX, DHTML, CSS, and JavaScript. His favorite programming languages are PHP, Java and JavaScript. He uses Linux, enjoys biking to work, loves building great software, and always writes elegant, readable, and maintainable code.

No TrackBacks

No trackbacks attached to this entry.

Twitter (@markkolich)

Translate

About this Entry

This page contains a single entry by Mark Kolich published on November 3, 2008 8:09 PM.

Apple iPhone System Sounds (CAF to MP3) was the previous entry in this blog.

HOWTO: Use the banner (banner.c) Command To Create Login Banners is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.