Search:  
Gentoo Wiki

HOWTO_Enabling_Monitor_Power_Saver

This article is part of the HOWTO series.
Installation Kernel & Hardware Networks Portage Software System X Server Gaming Non-x86 Emulators Misc


Contents

Intro

Many distros already have "Monitor Power Saver" features enabled by default. Gentoo linux does not. So this it how you do it.

Preparation

The following describes how to set up your system for use with apm. Depending on your hardware you may be able to work with acpi instead.

In genkernel, Automatic Power Management is compiled as module 'apm' which needs to be loaded. You will want to load this module at boot time:

apm 

Alternatively you can have apm permanently compiled into your kernel.

The Automatic Power Management Daemon also needs to be installed:

#emerge apmd
#rc-update add apmd default 
File: /etc/conf.d/apmd
# proxy-timeout 30
#modprobe apm
#/etc/init.d/apmd start

Configuration

Global

Option "DPMS"

within "Section Device" below the "Driver ..." line - note your video card driver may be different from the illustrated example.

File: /etc/X11/XF86Config
Section "ServerFlags" 
    Option "StandbyTime" "15" 
    Option "SuspendTime" "20" 
    Option "OffTime" "30" 
    Option "Dont Zoom" 
EndSection
Section "Device" 
    Identifier  "9180SE" 
    Driver      "nvidia" 
    Option      "DigitalVibrance" "150" 
    Option      "CursorShadow"  "on" 
    Option      "NoLogo"        "on" 
    Option      "NvAgp"         "3" 
    Option      "RenderAccel"   "on" 
    Option      "IgnoreDisplayDevices" "DFP, TV" 
    Option      "ConnectedMonitor"      "CRT" 
    Option      "DPMS" 
    #VideoRam    65536 
    # Insert Clocks lines here if appropriate 
EndSection

It will be sufficient.

KDE users

Gnome users

  1. Click on "Gnome Button" (or "Application" if you have the panel menu) -->Desktop Preferences-->Advanced-->Screensaver
  2. At this point click on Advanced TAB in the Screensaver Window preferences and set "on" the check box " Power Management Enabled"
  3. Now set your desidered value for the Stanby, Suspend and Off time.
  4. Select "File"-->"Restart Daemon" from the menu to restart the daemon.

*box users

Open up a shell and type: xscreensaver-demo and click the Advanced tab.

#xscreensaver-demo

Credits

BarryMead
amittp
scoon

Retrieved from "http://www.gentoo-wiki.info/HOWTO_Enabling_Monitor_Power_Saver"

Last modified: Sun, 28 Jan 2007 10:59:00 +0000 Hits: 20,087