0

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.

2 Answers 2

3

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.

2
  • Nice! Thanks! PC sleep's well!!! Can I use that program for shut down PC?
    – Doroff
    Dec 17, 2012 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, 2012 at 2:04
0

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
  • 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, 2012 at 10:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .