Manjaro Translations:KDE/40/en

Translations:KDE/40/en

From Manjaro
/etc/polkit-1/rules.d/99-disable-suspend.rules
// Disable suspend for all users
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.suspend")) {
      return polkit.Result.NO;
   }
});
polkit.addRule(function(action, subject) {
   if ((action.id == "org.freedesktop.login1.suspend-multiple-sessions")) {
      return polkit.Result.NO;
   }
});
Cookies help us deliver our services. By using our services, you agree to our use of cookies.