Also do not recommend tanning in the desert at noon. :)

LightDM/Xfce?

Save the file
'50-org.freedesktop.login1.suspend-multiple-sessions.rules' in the
attachment to a dir '/etc/polkit-1/rules.d'.

Create a group 'suspend'
# groupadd suspend

Add your username to this group
# gpasswd -a <USER> suspend

Re-log-in.


poma


polkit.addRule(function(action, subject) {
    if (action.id == "org.freedesktop.login1.suspend-multiple-sessions" &&
        subject.isInGroup("suspend")) {
        return polkit.Result.YES;
    }
});
-- 
users mailing list
[email protected]
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to