I installed Ubuntu in Kiosk mode in a library and I want it to re-start between users. Users always forget to shut down computer. Is it possible to have the computer shut down or reboot automatically, instead of sleeping or hibernating? Thanks.


You can use sleepd command to and -s option to modify the action upon inactivity.

Install it using:

sudo apt-get install sleepd 
sleepd [-s command] -u300 

Visit sleepd manpage for more info.

  • Nice! Thanks! PC sleep's well!!! Can I use that program for shut down PC? – Doroff Dec 17 '12 at 11:22
  • I found this: translate.google.de/… - I try to do it, but it's not work - may be I make mistake somewhere. They has good idea to make autoshutdown. Can you look they script, and try it, if it possible? Thanks – Doroff Dec 18 '12 at 2:04

Standby/Suspend is a Hardware level state. If you need to implement auto shutdown during standby, you will need to do it in hardware/BIOS level.

  • 1
    sorry for my english and thanks for comment - I mean users go out but PC works and works. I need a script or program that can shut down PC after 5 or 10 minuts nouse. – Doroff Dec 17 '12 at 10:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.