Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-20-2003, 12:13 AM   #1
Senior Member
Registered: Jan 2003
Location: Portland, OR USA
Distribution: Slackware, SLAX, Gentoo, RH/Fedora
Posts: 1,024

Rep: Reputation: 45
Cool screen blank trick

I noticed that the console blanks after 15 min of inactivity, but doesn't shut down my monitor so I looked into it some...

In /etc/rc.d/rc.M there is a line towards the top:

# Screen blanks after 15 minutes idle time.
/bin/setterm -blank 15

I then looked through the man page for setterm and played with some settings until I found what works, it now looks like this:

# Screen blanks after 15 minutes idle time.
/bin/setterm -blank 15
/bin/setterm -powersave on

And voila! My VESA monitor now powers off when it blanks. There is also a command -powersave [0-60] that will leave the screen blanked but on until the time specified (in minutes) and then will power down the monitor i.e. if -blank is 15 and -powersave is 5 then after 15 min the screen blanks and then after 20 min total it powers down. You can also try -powersave hsync if -powersave on doesn't work on your particular monitor.

Just thought I'd share that since the powerdown and powersave settings don't clearly distinguish their differences in the man page.
Old 01-20-2003, 01:57 AM   #2
LQ Guru
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

Rep: Reputation: 68
Very nice tip! Thank you
Old 01-20-2003, 08:07 AM   #3
Registered: Jan 2003
Distribution: many win/nix/mac
Posts: 259

Rep: Reputation: 31
Very cool, great tip for my router box.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse 9.0 Blank screen instead of login in screen damoncf Linux - Distributions 4 02-24-2007 08:49 PM
Cool Trick - Run all 5 cds from HD (9.2 Pro) apachedude SUSE / openSUSE 14 01-07-2005 12:00 AM
Blank screen after initial install screen? CRCool75 Linux - Newbie 2 11-16-2004 09:32 PM
Really Cool BlackBox Trick! mooreted Linux - Software 16 04-07-2004 09:17 AM
A very cool trick for KDE MasterC Linux - General 22 09-20-2002 11:26 AM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration