[Powerdevil] [Bug 344456] Plasma 5 desktop does not suspend with only upower, no systemd

Anton Filimonov via KDE Bugzilla bugzilla_noreply at kde.org
Wed Apr 13 07:31:42 UTC 2016


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

Anton Filimonov <anton.filimonov at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |anton.filimonov at gmail.com

--- Comment #38 from Anton Filimonov <anton.filimonov at gmail.com> ---
Had same problem with suspend in Gentoo with plasma 5.5.5. Localauthority files
mentioned above didn't help. Managed to solve missing suspend issue by adding
polkit rule instead:

polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.upower.suspend")
    {
        return polkit.Result.YES;
    }
});

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Plasma-devel mailing list