how to monitor the event of mouse or keyboard
there. On Linux, is there any way in which I could shutdown the system if none action is taken by th开发者_开发百科e user in some time(e.g. 30 minutes)? Thanks in advance.
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.
精彩评论