LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (https://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Dual-monitor one screen stays asleep after wake from DPMS standby (https://www.linuxquestions.org/questions/linux-desktop-74/dual-monitor-one-screen-stays-asleep-after-wake-from-dpms-standby-948879/)

Naklajat 06-06-2012 03:58 PM

Dual-monitor one screen stays asleep after wake from DPMS standby
 
I've got Arch 64-bit running Openbox on an AMD64 with ATI HD5770, set to go to standby with DPMS. Usually after resuming from standby or suspend one or the other of my monitors will remain off, requiring me to open a terminal and run
Code:

xset dpms force off
Its not a big deal but a little annoying. Is there a way I could set a script to run this command every time the system comes out of standby?

The contents of 10-monitor.conf in xorg.conf.d, where dpms is configured, are as follows:
Code:

Section "ServerLayout"
    Identifier "DualScreen"
    Screen 0 "Screen0"
    Screen 1 "Screen1" Relative "Screen0" 1680 0
    Option "Xinerama" "1"
    Option "BlankTime" "0"
    Option "StandbyTime" "10"
    Option "SuspendTime" "20"
    Option "OffTime" "0"
EndSection

Section "Monitor"
    Identifier "Monitor0"
    Option "DPMS"
EndSection

Section "Monitor"
    Identifier "Monitor1"
    Option "DPMS"
EndSection

Section "Screen"
    Identifier "Screen0"
    Device "Radeon0"
    Monitor "Monitor0"
    Option "Position" "0 0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        Modes "1680x1080" "1440x900" "1280x1024" "1024x768" "800x600"
        FbBpp 32
    EndSubSection
EndSection

Section "Screen"
    Identifier "Screen1"
    Device "Radeon1"
    Monitor "Monitor1"
    Option "Position" "1680 0"
    DefaultDepth 24
    SubSection "Display"
        Depth 24
        FbBpp 32
        Modes "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Thanks in advance for any suggestions and advice!


All times are GMT -5. The time now is 10:38 PM.