CheckPolicy() in policy-funcs script does not detect PowerDevil
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpi-support (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
The CheckPolicy() function in the /usr/share/
dbus-send --system --print-reply --dest=
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-
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.
Related branches
- No reviews requested
-
Diff: 47 lines2 files modifieddebian/changelog (+6/-1)
lib/policy-funcs (+15/-1)
Submitted a merge request to add PowerDevil detection to CheckPolicy()