Re: D-bus python example
Joe Wells <[email protected]>
| Newsgroups | gmane.comp.misc.workrave.user |
|---|---|
| Message-ID | <[email protected]> |
Rob Caelers <[email protected]> writes: > Hi, > >>> 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 > > Correct. This script used OpenCV to perform face detection. As long as your > face is detected, Workrave assumes you are active. Useful when you are not > using keyboard/mouse (e.g. because you reading documentation on your computer) Sounds very cool! Is there any documentation or help text? Also, is there any documentation of the D-Bus interface other than the contents of workrave/trunk/backend/src/workrave-service.xml? Also (and this question is addressed to everyone, not just the developers), has anyone written a script to control Workrave settings via D-Bus based on time of day and day of week? For example, I would like to suspend rest breaks (but not micro breaks) during 07:15/08:00 every day. Is something like that possible? -- 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=/