Home » IceWM Logout can shutdown the computer

IceWM Logout can shutdown the computer

 I just realized that IceWM supports both a startup script, and just as cool, a shutdown script.

When you select “Logout” from the IceWM menu, IceWM checks the /home/username/.icewm directory for a shutdown file.

After tinkering with /etc/sudoers to give my mother the proper sudo privileges I added this .icewm/shutdown script:

sudo /sbin/halt

Now when my mother logs out of IceWM her laptop will automatically shutdown. That will simplify my tech-support life!

Also some good info here: https://bbs.archlinux.org/viewtopic.php?id=40604

As an Amazon Associate I earn from qualifying purchases. Read our Privacy Policy for more info.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.