[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-panel-devel
Subject:    [Powerdevil] [Bug 344456] Plasma 5 desktop does not suspend with only upower, no systemd
From:       Eric Hameleers <alien () slackware ! com>
Date:       2015-05-10 15:12:58
Message-ID: bug-344456-165951-0m7iH9hEnx () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=344456

--- Comment #27 from Eric Hameleers <alien@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.
_______________________________________________
Plasma-devel mailing list
Plasma-devel@kde.org
https://mail.kde.org/mailman/listinfo/plasma-devel

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic