1

there. On Linux, is there any way in which I could shutdown the system if none action is taken by the user in some time(e.g. 30 minutes)? Thanks in advance.

dutor
  • 137
  • 1
  • 6
  • See http://stackoverflow.com/questions/2392076/how-to-detect-mouse-and-keyboard-inactivity-in-linux – stuartd Sep 08 '10 at 10:27

1 Answers1

0

You must get some property depends on her you can determinate idle state of user. Write C application and determinate idle state of user if state is longer than 30minutes you can simply shutdown machine.

Svisstack
  • 16,203
  • 6
  • 66
  • 100