Fedora Linux Support Community & Resources Center
  #1  
Old 16th April 2006, 08:58 PM
voop Offline
Registered User
 
Join Date: Mar 2006
Posts: 4
Power off monitor after x minutes of inactivity FC5 GNOME HOWTO

Since I couldn't find any information on how to do this, I had to figure it out myself
I think the following instructions will work on most laptops, but can't promise that it will.

Why is there no way to configure power-off in the screensaver dialog in Gnome? Well, it seems like Gnome can't detect that the computer has dpms support built in. This is probably because laptops has a very sophisticated power management already built in. I will not mention that KDE handles this just fine.

But anyway, assuming that you are using xscreensaver, which installs with FC5:
In your homedir, there is a file named ".xscreensaver". Notice the "." (the dot) in front of the file, which tells you (and the system) that this is a hidden file.

Open this file in your favorite text file editor.
Find where it says "dpmsEnabled False" and change it to "dpmsEnabled True"
Then, change "dpmsOff 0:00:00" to whatever value suits you. The format is H:MM:SS.
Make sure the "timeout" and "cycle" settings has values that will make them "kick in" before the dpmdOff value, or it won't work.

Restart X, and watch it work :-)

So, how can we power off the monitor if the computer is left in the login screen? After all, the settings we just changed applies only to the logged in user.

Here is how:
Edit the /etc/X11/xorg.conf (must be done as root).
In the "ServerLayout" section, add this line:
Option "OffTime" "5" (5 mins. timeout)

In the "Monitor" section, add this line (if not already there):
Option "dpms"


That's it. Did it work?

Good luck

--voop
Reply With Quote
Reply

Tags
fc5, gnome, howto, inactivity, minutes, monitor, power

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HowTo dynamically monitor your multi-core cpu in Gnome sideways Guides & Solutions (No Questions) 9 14th March 2009 01:03 PM
fc9: gnome-power-manager only shows logout-question when pressing power-button ProCole Using Fedora 4 24th May 2008 10:58 PM
HOWTO: Replace FC3 Sendmail with Postfix and Get Real Mail Up In Five Minutes AndyGreen Guides & Solutions (No Questions) 54 4th July 2007 06:55 PM
gnome-power-manager FC6 reports my battery lasts 6 minutes. kai4785 Using Fedora 2 20th November 2006 12:34 PM
How to disable the monitor switching of in the case of inactivity? Kurush Using Fedora 3 4th April 2005 04:04 PM


Current GMT-time: 03:58 (Monday, 20-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat