LinuxQuestions.org
Visit Jeremy's Blog.
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-19-2004, 04:39 AM   #1
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Rep: Reputation: 45
how can I change energy saving settings


I'm using Icewm on xfree86 and now my screen turns off after around 5 minutes. Which packages have the settings in it that do this or which file do I have to edit?
 
Old 09-19-2004, 07:14 AM   #2
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
see if you have xscreensaver installed. it doesn't only print pretty pictures on your screen it's also used for switching off the monitor after some time idle via DPMS.
there is a confiuration menu comming up if you start the program where you can adjust these settings.

sl mritch.
 
Old 09-19-2004, 07:27 AM   #3
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
I don't have xscreensaver. Also I assume DPMS is a daemon or server but it's not running. The problem is that I don't have such a program which can set these things that I know of, unless cron could be doing this. I don't know where I can get such a menu or the files I need to edit. Or is this done by my bios?
 
Old 09-19-2004, 09:29 AM   #4
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
use "apt-get install xscreensaver" or choose it in dselect or synaptic.

maybe you'll like to install this packages too:
xscreensaver-gl and
xscreensaver-gnome or xscreensaver-nognome

dpms is the ability of your monitor to enter some states of powersaving (on / standby / suspend / off) and some other stuff like reporting supported frequencies...

when they are installed run this in an xterm: xscreensaver &
xscreensaver-demo
sl mritch.
 
Old 09-19-2004, 10:24 AM   #5
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Thanks for the help! I disabled DPMS and found the config file with "xscreensaver --help"
 
Old 09-19-2004, 10:43 AM   #6
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
there is no need to disable dpms. i didn't mean disabling dpms will give any advantage. in fakt it's a very useful feature.

sl mritch.
 
Old 09-19-2004, 10:55 AM   #7
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
Well I can't choose when it'll close from the monitor menu. Or is it done via the xscreensaver software? I always put out my monitor and sound when I'm going away for some time and I don't want to halt the whole system. So if I don't do that I want it to stay so no need for DPMS for me
 
Old 09-19-2004, 12:37 PM   #8
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
To change the settings in X, there should be a DPMS section in your XF86Config file where you can change the times.
 
Old 09-19-2004, 01:24 PM   #9
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
The only thing I can find in my XF86Config-4 file is under monitor:
option "DPMS"
Do I have to add stuff behind that? Does that override the settings I changed on my monitor itself (with the monitor menu buttons)
 
Old 09-20-2004, 05:28 PM   #10
voyciz
Member
 
Registered: Mar 2004
Distribution: Slackware
Posts: 425

Rep: Reputation: 40
Are you sure? There should be something in the config file that looks like this:

Option "standby time" "10"
Option "suspend time" "20"
Option "off time" "40"

Should be under the "ServerFlags" section. These are the DPMS settings. Removing the DPMS option from the monitor section should disable it, if that's what you want. Or you could leave it there and enter the command 'xset -dpms' to shut it down after X is already running. Running 'xset q' will tell you if it's running or not, along with some other information.
 
Old 09-21-2004, 03:31 AM   #11
mritch
Member
 
Registered: Nov 2003
Location: austria
Distribution: debian
Posts: 667

Rep: Reputation: 30
dark..
put a "#" at the beginning of that line to disable it, (=comment it out) ...however you shouldn't disable dpms.
aported..
the values for the modes given with the options to the server can be overwritten (or set) later too.
 
Old 09-21-2004, 09:42 AM   #12
darkleaf
Senior Member
 
Registered: Jun 2004
Location: the Netherlands
Distribution: debian SID
Posts: 2,170

Original Poster
Rep: Reputation: 45
I know about commenting and uncommenting Been playing with programming for some time now.

I really don't have those lines, not even a server flags section. Well I just deleted the DPMS thing as well. Out of the eye out of the mind I'll manage my energy settings myself like I said I don't want my monitor to fade out cause I want to know what the internet radio station I listen to is playing.
 
  


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
saving 'route' settings sparky_132 Linux - Wireless Networking 3 10-13-2004 04:42 AM
Firefox not saving any settings? carlosinfl Linux - Software 4 05-28-2004 04:49 PM
Saving settings? orange400 Linux - General 3 05-27-2004 06:00 AM
saving settings?? rilians Mandriva 2 10-10-2003 11:49 AM
Saving settings funkenbooty Linux - Newbie 3 07-29-2003 02:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:22 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