LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-14-2004, 08:30 PM   #1
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Rep: Reputation: 15
make harddrive sleep and blank screen?


Hello, i'm running SuSE 8.1 on my laptop and i was wondering if there are any suggestions for linux-apps which makes the harddrive go to stand-by mode and makes the monitor go black after x minutes of inactifvity?

thanks if helped
 
Old 09-14-2004, 08:57 PM   #2
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
screen blanking: what window manager or desktop environment are you using?? if you're using KDE, there's options for this in the control center, under "Display Power Control"...

hard disk spin-down: you can try doing it with hdparm and the -S option...

here's what "man hdparm" says:

Quote:
-S
Set the standby (spindown) timeout for the drive. This value is used by the drive to deter_mine how long to wait (with no disk activity) before turning off the spindle motor to save power. Under such circumstances, the drive may take as long as 30 seconds to respond to a subsequent disk access, though most drives are much quicker. The encoding of the timeout value is somewhat peculiar. A value of zero means "timeouts are disabled": the device will not automatically enter standby mode. Values from 1 to 240 specify multiples of 5 seconds, yielding timeouts from 5 seconds to 20 minutes. Values from 241 to 251 specify from 1 to 11 units of 30 minutes, yielding timeouts from 30 minutes to 5.5 hours. A value of 252 signifies a timeout of 21 minutes. A value of 253 sets a vendor-defined timeout period between 8 and 12 hours, and the value 254 is reserved. 255 is interpreted as 21 minutes plus 15 sec_onds. Note that some older drives may have very different interpretations of these values.
so, for example, this would spin-down /dev/hda after 20 minutes of inactivity:

hdparm -S240 /dev/hda

just my two cents...


Last edited by win32sux; 09-14-2004 at 09:01 PM.
 
Old 09-15-2004, 01:12 AM   #3
Emanon
LQ Newbie
 
Registered: Jun 2003
Distribution: SuSE 8.1
Posts: 29

Original Poster
Rep: Reputation: 15
i'm running. Enlightenment. i guess you are not able to use KDE's control center with it?
the hdparm was a great idea, thanks! i'll try that out
 
Old 09-15-2004, 04:09 AM   #4
win32sux
Guru
 
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Quote:
Originally posted by Emanon
i'm running. Enlightenment. i guess you are not able to use KDE's control center with it?
the hdparm was a great idea, thanks! i'll try that out
there's options in the X configuration file for DPMS, you could try playing with those... i guess they'd be general, so they work for all your window managers, but i'm not sure...

the section in /etc/X11/XF86Config looks like this:

Quote:
# Set the basic blanking screen saver timeout.

# Option "blank time" "10" # 10 minutes

# Set the DPMS timeouts. These are set here because they are global
# rather than screen-specific. These settings alone don't enable DPMS.
# It is enabled per-screen (or per-monitor), and even then only when
# the driver supports it.

# Option "standby time" "20"
# Option "suspend time" "30"
# Option "off time" "60"
 
  


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
Screen does not wake up after going to sleep at promp PSIPHON Linux - General 1 08-09-2005 08:30 PM
Blank screen even before BIOS screen on boot josce Linux - Laptop and Netbook 3 01-04-2005 08:27 AM
Blank screen after initial install screen? CRCool75 Linux - Newbie 2 11-16-2004 09:32 PM
Can I make my computer sleep? crab_2004 Linux - Software 1 10-09-2003 05:59 PM


All times are GMT -5. The time now is 04:19 PM.

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