开发者

how to monitor the event of mouse or keyboard

开发者 https://www.devze.com 2023-01-15 01:20 出处:网络
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)?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消