Re: D-bus python example
Rob Caelers <[email protected]>
| Newsgroups | gmane.comp.misc.workrave.user |
|---|---|
| Message-ID | <[email protected]> |
Hi, > Sounds very cool! Is there any documentation or help text? Nope... > Also, is there any documentation of the D-Bus interface other than the > contents of workrave/trunk/backend/src/workrave-service.xml? Nope... > 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? You could write a python script that uses the org.workrave.ConfigInterface interface to set the 'breaks/rest_break/enabled' setting to true/false depending on the time. Groetjes, Rob ------------------------------------------------------------------------- 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=/