D-bus python example (was: Current status of WorkRave.)
Joe Wells <[email protected]>
| Newsgroups | gmane.comp.misc.workrave.user |
|---|---|
| Message-ID | <[email protected]> |
> Quoting Rob Caelers <[email protected]>: > >>> At the moment I am planning to make some small scripts around the >>> current status of work-rave. >>> My questin is, where can I find the current status of WorkRave? The >>> current status file does not contain info of whether or not the user >>> is in a break. >> >> On windows this is not yet possible. On Linux, you can use DBUS to subsctibe >> to break change events. Our Subversion archive contains a python example that >> shows how to do this. [email protected] writes: > Now I have some time again, I looked in the SVN of WorkRave for the > example. But I can only find a script for setup/installation. Maybe Rob is referring to workrave/trunk/backend/src/facedetect.py? I'm not quite sure what this does, but it begins with this comment: Workrave Activity Monitor based on face detection -- Joe ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/