[Powerdevil] [Bug 344456] Plasma 5 desktop does not suspend with only upower, no systemd
Eric Hameleers
alien at slackware.com
Sun May 10 15:12:58 UTC 2015
https://bugs.kde.org/show_bug.cgi?id=344456
--- Comment #27 from Eric Hameleers <alien at slackware.com> ---
I have attached a polkit file which enables the missing suspend/hibernate
features in my Plasma 5 desktop.
Thanks to luis' comment in this blog article:
http://alien.slackbook.org/blog/kde-5_15-02-release-for-slackware-current/
I want to suggest that this bug report can be closed now that there is a
working solution.
In that same article, two other polkit files are proposed to enable the missing
shutdown/rebootfeatures without the need for removing the kwrapper5 command
from the KDE startup script "/usr/bin/startkde".
For your reference, this is the content of those two files.
Note that i have altered them slightly compared to the proposals in my blog,
because I want to limit this functionality to users in the "power" group:
cat
/etc/polkit-1/localauthority/50-local.d/40-org.freedesktop.consolekit.system.stop-multiple-users.pkla
[Allow power users to shutdown]
Identity=unix-group:power
Action=org.freedesktop.consolekit.system.stop-multiple-users;org.freedesktop.consolekit.system.stop
ResultAny=yes
ResultInactive=no
ResultActive=yes
cat
/etc/polkit-1/localauthority/50-local.d/41-org.freedesktop.consolekit.system.restart-multiple-users.pkla
[Allow power users to restart]
Identity=unix-group:power
Action=org.freedesktop.consolekit.system.restart-multiple-users;org.freedesktop.consolekit.system.restart
ResultAny=yes
ResultInactive=no
ResultActive=yes
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the Plasma-devel
mailing list