You are not logged in.

#1 2009-03-27 11:01:19

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

[SOLVED] Turn monitor power off after a period of inactivity

Well, since a recent update (i think) the monitor doesn't power off after a period of inactivity as always did, so i understand that i need to add it to xorg or something, any clue?

My xorg.conf (i use hotplugging)

Section "ServerLayout"
    Identifier     "X.org Configured"
    Screen      0  "Screen0" 0 0
#    InputDevice    "SynapticsTouchpad"  "SendCoreEvents"
#    InputDevice    "USB Mouse" "CorePointer"
#    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection


Section "Files"
    ModulePath   "/usr/lib/xorg/modules"
    FontPath     "/usr/share/fonts/local/"
    FontPath     "/usr/share/fonts/misc"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled"
    FontPath     "/usr/share/fonts/TTF"
    FontPath     "/usr/share/fonts/Type1"
EndSection


Section "Module"
#    Load  "ddc"
    Load  "dbe"
    Load  "xtrap"
    Load  "dri"
    Load  "glx"
    Load  "bitmap" # bitmap-fonts
#    Load  "type1"
    Load  "vbe"
#    Load  "record"
    Load  "extmod"
    Load  "freetype"
    Load  "synaptics"
EndSection


Section "ServerFlags"
#    Option "AllowMouseOpenFail"  "true"
#    Option "AutoAddDevices" "False"
    Option "AIGLX" "true"
EndSection


#Section "InputDevice"
#    Identifier  "Keyboard0"
#    Driver      "keyboard"
#    Option      "CoreKeyboard"
#    Option      "XkbRules" "xorg"
#    Option      "XkbModel" "pc105"
#    Option      "XkbLayout" "es"
#EndSection


#Section "InputDevice"
#    Identifier      "USB Mouse"
#    Driver          "mouse"
#    Option          "Device"                "/dev/input/mice"
#    Option          "SendCoreEvents"        "true"
#    Option          "Protocol"              "IMPS/2"
#    Option          "ZAxisMapping"          "4 5"
#    Option          "Buttons"               "5"
#EndSection


#Section "InputDevice"
#    Identifier  "Touchpad"
#    Driver  "synaptics"
#    Option  "Device"   "/dev/input/mouse0"
#    Option  "Protocol"   "auto-dev"
#    Option  "LeftEdge"   "130"
#    Option  "RightEdge"   "840"
#    Option  "TopEdge"   "130"
#    Option  "BottomEdge"   "640"
#    Option  "FingerLow"   "7"
#    Option  "FingerHigh"   "8"
#    Option  "MaxTapTime"   "180"
#    Option  "MaxTapMove"   "110"
#    Option  "EmulateMidButtonTime"   "75"
#    Option  "VertScrollDelta"   "20"
#    Option  "HorizScrollDelta"   "20"
#    Option  "MinSpeed"   "0.25"
#    Option  "MaxSpeed"   "0.50"
#    Option  "AccelFactor"   "0.010"
#    Option  "EdgeMotionMinSpeed"   "200"
#    Option  "EdgeMotionMaxSpeed"   "200"
#    Option  "UpDownScrolling"   "1"
#    Option  "CircularScrolling"   "1"
#    Option  "CircScrollDelta"   "0.1"
#    Option  "CircScrollTrigger"   "2"
#    Option  "SHMConfig"   "on"
#    Option  "Emulate3Buttons"   "on"
#    Option   "VertTwoFingerScroll"   "1"
#    Option   "HorizTwoFingerScroll"  "1"
#EndSection


Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Monitor Model"
EndSection


Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"                # [<bool>]
        #Option     "SWcursor"               # [<bool>]
        #Option     "ColorKey"               # <i>
        #Option     "CacheLines"             # <i>
        #Option     "Dac6Bit"                # [<bool>]
        #Option     "DRI"                    # [<bool>]
        #Option     "NoDDC"                  # [<bool>]
        #Option     "ShowCache"              # [<bool>]
        #Option     "XvMCSurfaces"           # <i>
        #Option     "PageFlip"               # [<bool>]
    Identifier  "Card0"
    Driver      "intel"
    VendorName  "Intel Corporation"
    BoardName   "Mobile 945GME Express Integrated Graphics Controller"
    Option      "AccelMethod" "xaa"
    Option      "MigrationHeuristic" "greedy"
    Option      "ExaNoComposite" "false"
    Option      "RenderAccel" "true"
    Option      "DRI" "true"
    Option      "AllowGLXWithComposite" "true"
    Option      "AddARGBGLXVisuals" "true"
    Option      "XAANoOffscreenPixmaps" "true"
    BusID       "PCI:0:2:0"
EndSection


Section "Screen"
    Identifier "Screen0"
    Device     "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    SubSection "Display"
        Viewport   0 0
        Depth     8
        Modes     "1680x1050" "1024x600" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     16
        Modes     "1680x1050" "1024x600" "800x600" "640x480"
    EndSubSection
    SubSection "Display"
        Viewport   0 0
        Depth     24
        Modes     "1680x1050" "1024x600" "800x600" "640x480"
    EndSubSection
EndSection


Section "DRI"
    Mode 0666
EndSection


Section "Extensions"
    Option "Composite" "Enable"
EndSection

Last edited by leo2501 (2009-03-28 00:12:40)


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

#2 2009-03-27 11:15:35

Procyon
Member
Registered: 2008-05-07
Posts: 1,819

Re: [SOLVED] Turn monitor power off after a period of inactivity

Look under man xorg.conf under ServerFlags, here are the names:

Option "BlankTime"  "time"
       Option "StandbyTime"  "time"
       Option "SuspendTime"  "time"
       Option "OffTime"  "time"

Offline

#3 2009-03-28 00:12:04

leo2501
Member
From: Buenos Aires, Argentina
Registered: 2007-07-07
Posts: 658

Re: [SOLVED] Turn monitor power off after a period of inactivity

SOLVED! Thanks guys!


Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
-- Antoine de Saint-Exupery

Offline

Board footer

Powered by FluxBB