LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 06-13-2004, 09:51 AM   #1
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Rep: Reputation: 30
How do I put monitor on standby?


Hello,

I am running a Slackware 9.1 install regularly updated to current using swaret. The machine this slackware system is on is connected to a KVM switch and shares a Cornerstone Color 45/101sf monitor with another box I have running SuSE Linux 8.0. The SuSE box will switch the monitor to standby after a period of inactivity, but the Slackware box won't.

I tried adding the lines 'Option "dpms"', 'Option "standby time" "20"' and 'Option "suspend time" "30"' to the monitor section of /etc/X11/XF86Config, but that did not have the desired result.

What do I need to do to get this monitor to go into standby mode?
 
Old 06-13-2004, 10:17 AM   #2
r_jensen11
Senior Member
 
Registered: Apr 2003
Location: Minnesota, USA
Distribution: Slack 10.0 w/2.4.26
Posts: 1,032

Rep: Reputation: 45
Have you edited the Power Management settings for the WM's and DE's? I know KDE has settings, so does XFce, and Gnome. Have you changed whichever ones you use? Does the monitor blank at all when NOT using X?
 
Old 06-13-2004, 10:23 AM   #3
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Original Poster
Rep: Reputation: 30
The monitor blanks when I am not using X.

I use Xfce4, but I did not realize that it had power settings. Where are they set?
 
Old 06-13-2004, 12:31 PM   #4
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Original Poster
Rep: Reputation: 30
I need to correct what I said here. When not in X, after a period of inactivity, the monitor will blank, but it does not go into standby. It simply shows a blank screen. I would prefer that the monitor go into standby mode, that is when I move the mouse again after period of inactivity, the monitor warms back up and shows an image (login prompt, etc.).
 
Old 06-13-2004, 04:00 PM   #5
elp
Member
 
Registered: Aug 2003
Posts: 66

Rep: Reputation: 16
In my XF86Config-4 under Section "Monitor" add :

Option "dpms"
 
Old 06-13-2004, 08:12 PM   #6
Shade
Senior Member
 
Registered: Mar 2003
Location: Burke, VA
Distribution: RHEL, Slackware, Ubuntu, Fedora
Posts: 1,418
Blog Entries: 1

Rep: Reputation: 46
To see if it will work at all, try these in an xterm:

Code:
xset +dpms
xset dpms force off
xset dpms force standby
In addition, post up the relevant portion of your XF86Config, and we'll see if we can catch any oddities.

--Shade
 
Old 06-14-2004, 12:18 PM   #7
hussar
Member
 
Registered: Oct 2003
Location: Heidelberg, Germany
Distribution: Slackware 11.0; Kubuntu 6.06; OpenBSD 4.0; OS X 10.4.10
Posts: 345

Original Poster
Rep: Reputation: 30
Shade,

After giving the 'xset +dpms' command (as root), both the following commands to force off and force standby have the desired effect. The monitor goes blank, briefly flashes the message "Invalid sync" and then goes into standby (CRT not powered; power button blinking steady). So, we know the monitor is capable of taking the dpms instructions.

Here is the Monitor portion of my /etc/X11/XF86Config: (Note: I don't have a XF86Config-4, and the mesages I receive on the console when X starts tell me that it is using XF86Config.)

# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "Color 45/101sf"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31-101

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-160
Option "dpms"
Option "standby time" "20"
Option "suspend time" "30"

EndSection
 
  


Reply



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
Monitor doesn't standby koodoo Linux - Newbie 6 03-24-2007 08:01 PM
monitor goes into standby on boot alex17 SUSE / openSUSE 7 10-28-2005 04:33 PM
Monitor goes into standby dave`2005 Slackware 14 08-12-2005 09:06 PM
monitor will not standby Hectic Linux - General 1 10-22-2004 02:33 AM
how to put desktop pc into standby mode? vinay_s_s Linux - General 0 01-24-2004 08:52 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:20 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration