Detecting user idleness
Registered by
Angus Helm
The uploader should be capable of detecting when the user has stepped away from the computer, and should not upload activity that occurred during that time.
Blueprint information
- Status:
- Complete
- Approver:
- Angus Helm
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Approved
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Angus Helm
- Completed by
- Angus Helm
Whiteboard
Basic idle time detection released in version 39, thanks to Lars.
Ideas of code bases to look at:
xscreensaver detects user idleness somehow. Probably very low-level X coding, though.
pidgin is able to detect when the user is idle, and set the user's status to "Idle".
Probably the best way to do it is to apt-get install python-xlib
then follow the code examples given here: http://
We should run this check before actually increasing the logged time per application, perhaps even before polling the running application.
(?)