LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 01-20-2003, 12:13 AM   #1
Darin
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
MasterC
Guru
 
Registered: Mar 2002
Location: Salt Lake City, UT - USA
Distribution: Gentoo ; LFS ; Kubuntu
Posts: 12,612

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

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


Reply


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/Novell 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


All times are GMT -5. The time now is 06:43 AM.

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