getting workrave to notice gconf changes to /apps/workrave/gui/operation-mode

Joe Wells <[email protected]>
Newsgroups gmane.comp.misc.workrave.user
Message-ID <[email protected]>
Dear Workrave fans,

I'm using Workrave 1.8.5 (the default for Ubuntu Hardy Heron).
Workrave has the ability to choose 1 of 3 operation modes via a menu:
Normal, Suspended, and Quiet.  When this is changed via the menu, the
value of the gconf setting for /apps/workrave/gui/operation-mode
changes.  Workrave usually notices changes by other programs to its
gconf settings, but does not notice changes to
/apps/workrave/gui/operation-mode.  (Maybe because this change is done
via a menu instead of a check box?)  So I can do “gconftool-2 --type
int --set /apps/workrave/gui/operation-mode 0” and it does not return
Workrave to normal mode.

It seems this is probably a bug.

Separately from fixing the bug, I am looking for a workaround that I
can use with my installed Workrave.  (I do not want to upgrade
operating systems or install software by hand.)

Is there a way to get Workrave to notice the changed setting of
/apps/workrave/gui/operation-mode, other than killing and restarting
Workrave?

The issue is that sometimes when working to a tight deadline I need to
suspend Workrave, but then I forget to reenable it until far too late.
(What would be ideal would be a command to “suspend Workrave for the
next 2 hours only”.)  So I'm trying to set up a cron job that will
notice the bad setting and fix it automatically.  But Workrave ignores
gconf changes to this particular setting.

Thanks for any suggestions you may have!

-- 
Joe


------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Workrave-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/workrave-user
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.