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
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?– DoroffDec 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– DoroffDec 18, 2012 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.
-
1sorry 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.– DoroffDec 17, 2012 at 10:49