Current status of WorkRave.

View: New views
8 Messages — Rating Filter:   Alert me  

Current status of WorkRave.

by bestellingen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear all,

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.

Kindest regards,
Joris


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: Current status of WorkRave.

by Rob Caelers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> 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. In the future, this functionality should also become
available on Windows.

Groetjes,
   Rob



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: Current status of WorkRave.

by bestellingen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thursday 22 May 2008 17:25:15 Rob Caelers wrote:

> > 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. In the future, this functionality should
> also become available on Windows.
>
> Groetjes,
>    Rob
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Workrave-user mailing list
> Workrave-user@...
> https://lists.sourceforge.net/lists/listinfo/workrave-user



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: Current status of WorkRave.

by bestellingen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dear Rob,

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.

But is in a future an other solution in design? Like an XML-file  
containing the actual stat of Workrave or some sort of signalling?

Yours,
Joris

Quoting Rob Caelers <robc@...>:

>> 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. In the future, this functionality should also become
> available on Windows.
>
> Groetjes,
>    Rob
>
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Workrave-user mailing list
> Workrave-user@...
> https://lists.sourceforge.net/lists/listinfo/workrave-user
>




-------------------------------------------------------------------------
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=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

D-bus python example (was: Current status of WorkRave.)

by Joe Wells-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Quoting Rob Caelers <robc@...>:
>
>>> 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.

bestellingen@... 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=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: D-bus python example

by Rob Caelers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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)

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=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: D-bus python example

by Joe Wells-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Rob Caelers <robc@...> 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=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user

Re: D-bus python example

by Rob Caelers :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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=/
_______________________________________________
Workrave-user mailing list
Workrave-user@...
https://lists.sourceforge.net/lists/listinfo/workrave-user