the-linux-schools-project / karoshi-client

Central repository for Karoshi Client development
http://linuxschools.org.uk
5 stars 6 forks source link

Use portable interfaces for detecting idleness #48

Open RobinMcCorkell opened 10 years ago

RobinMcCorkell commented 10 years ago

Currently idleness is handled by X inactivity through xautolock in LightDM. Ideally the system should also work on logged in users (such as remote users/TTY users), along with an easier way to detect X idleness.

logind can provide detection of user sessions, and it may be possible to monitor /dev/input for detecting keyboard/mouse idleness. This would also work with TTY idleness, not just X idleness.

RobinMcCorkell commented 10 years ago

This won't be done for 4.0 unfortunately. The current implementation just about works, for now.