Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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.

share|improve this question
add comment

2 Answers 2

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.

share|improve this answer
    
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
add comment

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.

share|improve this answer
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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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