Announcement

Collapse
No announcement yet.

DPMS Turns Itself On Workaround Fix

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    DPMS Turns Itself On Workaround Fix

    Hi,

    I installed kubuntu 12.04.1, earlier today and run into this bug and stumbled across this thread looking for a solution. I believe I have figured out a workaround for now (for those who don't want to compile KDE from source and don't mind disabling power management completely), so I thought I'd post it here, since I haven't seen it anywhere else.

    THE BUG: performing some actions such as (un)installing a package in muon cause dpms to be enabled overriding kde power management settings (others have reported using dragon or vlc or copying a file with dolphin can trigger the problem, I believe). xset -q reveals dpms has been switched on with apparently random setting for Standby, Suspend and Off. xset -dpms will temporarily fix this, until the bug is activated again (e.g. through muon).

    THE WORKAROUND:

    1) Go to System settings > Startup and Shutdown > Service Manager and disable Power Managment

    2) Create the following script (similar to one proposed earlier in the thread):
    Code:
    #!/bin/bash
    
    xset dpms 0 0 0
    xset -dpms
    name it "nodpms" (say) and chmod +x it and move it to ~/.kde/Autostart. Then logout and in again, and the fix should be in place. Installing a package in muon no longer enables dpms. Note: You need this script otherwise dpms defaults to on at login, but I guess disabling dpms in xorg.conf instead of the above script will probably have the same effect, but I've not tried it.

    Hope this helps someone else.
Working...
X