xprintidle (utility printing user's idle time in X) xprintidle is a simple utility to query the X server for the user's idle time in milliseconds and print it to the standard output.