Public bug reported:

The CheckPolicy() function in the /usr/share/acpi-support/policy-funcs
script will not detect PowerDevil running under KDE4. I'm not sure how
to fix this, this is how you can check with DBus:

dbus-send --system --print-reply --dest='org.kde.kded' /kded
org.kde.kded.loadedModules | grep -q powerdevil

But I don't think that will work in those scripts since it doesn't have
access to the session bus. So I'm not sure how to fix this.

It would be nice if it also checked for guidance-power-manager in the
same way.

PS. I discovered this since I'm running a trunk installation of KDE on a
9.04 system, and no matter what I set my lid close action to be, the
screen was blanked. This was because /etc/acpi/lid.sh used the
CheckPolicy() function to see if there was a policy daemon running. DS.

** Affects: acpi-support (Ubuntu)
     Importance: Undecided
         Status: New

-- 
CheckPolicy() in policy-funcs script does not detect PowerDevil
https://bugs.launchpad.net/bugs/387750
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to