Re: trigger external program when a break is started

Ruben <[email protected]> Tue, 19 Jan 2016 01:32:38 +0100
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
You could easily adapt the call from mouse-speed contribution:

https://github.com/rcaelers/workrave/blob/branch_v1_10/contrib/mouse-speed/dbus-penalty.py

If you succeed, please add your contribution there on github as a pull
request

rubo77

On 18.01.2016 14:36, marc wijma wrote:
> Hi,
> 
> I am interrested if there is a way to trigger an external program when a
> break is started in workrave. I see there is some networking functionality,
> but i can't find anything about the protocol. I guess its not open
> (easily). Do breaks get transmitted over this 'network'? If so is there
> documentation about the protocol used so i can build a simple server to
> listen in to break announcements.
> 
> Love the program and are using it for around 10 years i guess.
> 
> In case anybody interrested about the reason. I just got myself a
> sit/standing desk with electromotor. And i noticed my workrave breaks can
> be nicely synchronized to toggle sitting/standing. Therefore would like to
> automate the desk to toggle at beginning of a break.
> 
> cheers!
> 
> Marc
> 
> 
> 
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
> 
> 
> 
> _______________________________________________
> Workrave-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/workrave-user
> 

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140