1/ Activation du bouton d'arrêt/extinction et du bouton de suspension.
Créer :
/usr/local/etc/polkit-1/rules.d/shutdown.rules
Ajouter :
polkit.addRule(function (action, subject) { if ((action.id == "org.freedesktop.consolekit.system.restart" || action.id == "org.freedesktop.consolekit.system.stop") && subject.isInGroup("wheel")) { return polkit.Result.YES; } });
Ajouter :
polkit.addRule(function (action, subject) { if (action.id == "org.freedesktop.consolekit.system.suspend" && subject.isInGroup("wheel")) { return polkit.Result.YES; } });