summaryrefslogtreecommitdiff
path: root/desktop/icewm/README
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/icewm/README')
-rw-r--r--desktop/icewm/README13
1 files changed, 11 insertions, 2 deletions
diff --git a/desktop/icewm/README b/desktop/icewm/README
index 6a766518ff..5f4f763a9a 100644
--- a/desktop/icewm/README
+++ b/desktop/icewm/README
@@ -1,5 +1,14 @@
IceWM is a window manager for the X Window System. The goal of IceWM
is speed, simplicity, and not getting in the user's way.
-Many users will need to have a polkit authentication agent invoked
-at X startup - see /usr/share/icewm/startup for suggestions.
+Because icewm users are perhaps less likely to use components of other
+desktop environments, the following could be considered a recommendation
+for addition to /etc/sudoers (use visudo(8) to edit it), which will allow
+all members of the "power" group to use icewm's built-in methods for
+shutdown, reboot, and sleep.
+
+ Cmnd_Alias POWERMGMT = /sbin/halt, /sbin/reboot, /sbin/poweroff, /usr/sbin/pm-suspend
+ %power ALL=(ALL) NOPASSWD: POWERMGMT
+
+Some users might wish to have a polkit authentication agent or other things
+invoked at X startup - see /usr/share/icewm/startup for suggestions.