GetLastInputInfo equivalent in Linux to detect last input time

Posted by SaM on Stack Overflow See other posts from Stack Overflow or by SaM
Published on 2010-03-20T05:47:53Z Indexed on 2010/03/20 5:51 UTC
Read the original article Hit count: 218

Filed under:
|
|
|

Is there a GetLastInputInfo() equivalent that can be used in Linux?

The intention is to detect the last input time (keyboard or mouse) of the user. Am using python to script the program.

© Stack Overflow or respective owner

Related posts about linux

Related posts about input