Lane Schwartz | 2 Apr 00:04 2005
Picon

Compile error on White Box Enterprise Linux 3

Just tried compiling the latest workrave release on my WBEL3 machine.
Doesn't want to compile. Any tips would be greatly appreciated. I'm
currently running workrave 1.4.0 from rpm.

make[5]: Entering directory
`/applications/installers/workrave-1.6.2/frontend/gtkmm/src/gnome_applet'
make[6]: Entering directory
`/applications/installers/workrave-1.6.2/frontend/gtkmm/src/gnome_applet'
if gcc -DHAVE_CONFIG_H -I. -I. -I../../../.. -I.   -DORBIT2=1 -pthread
-I/usr/include/panel-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/pango-1.0 -I/usr/X11R6/include -I/usr/include/freetype2
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0
-I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include
-I/usr/include/linc-1.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/libxml2   -I ../../../../common/include -I
../../../../common/include/unix
-DWORKRAVE_DATADIR="\"/applications/workrave/1.6.2//share/workrave\""
-DGNOMELOCALEDIR="\"/applications/workrave/1.6.2//share/locale\"" -Os
-g -DNDEBUG -MT workrave_applet-Workrave-Control-common.o -MD -MP -MF
".deps/workrave_applet-Workrave-Control-common.Tpo" \
  -c -o workrave_applet-Workrave-Control-common.o `test -f
'Workrave-Control-common.c' || echo './'`Workrave-Control-common.c; \
then mv -f ".deps/workrave_applet-Workrave-Control-common.Tpo"
".deps/workrave_applet-Workrave-Control-common.Po"; \
else rm -f ".deps/workrave_applet-Workrave-Control-common.Tpo"; exit 1; \
(Continue reading)

Joseph Reagle | 2 Apr 21:50 2005
Picon

Workrave question

Hello, sorry not to use the bug interface, but I never seem to get the 
account password and e-mail.

I have been using workraise for a number of years, but never really 
understood its interface. Or, I think I did a couple of years ago before it 
was reorganized. How do I configure the preferences such that I can work 
for two hours a day, then be warned twice, at 15 minute intervals, before 
having the screen locked? the period between his two warnings should still 
be productive: some a bit of text shouldn't be on the screen interfering 
with data entry.

Thanks!

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Cameron Stone | 6 Apr 10:41 2005
Picon
Picon

integration with kde screensaver

I'm having some trouble with workrave's lock feature under KDE (on 
debian sarge-ish).

I noticed in the 1.6.0 release notes that workrave uses kdesktop_lock if 
it can find it. However, in my kde session the lock button causes 
nothing to happen. I ran strace on workrave to see what I could see. 
There seems to be a call to xscreensaver-command to lock the screen, 
which fails silently.

I've had a look at the source, and it relies on kde setting one of the 
XClassHints of the window to be "kdesktop". I've just investigated that, 
and the kde version I'm using does not do that. I had a google for 
XClassHint and kde, and found this page suggesting that this is not a 
reliable way to do it:

http://mail.gnome.org/archives/gnome-devel-list/2001-September/msg00087.html

The only thing I can imagine would be better (other than horrible hacks 
based on ps), is to use dcop to find if kdesktop is running. There's 
dcop bindings for c so this shouldn't be too nasty.

Any suggestions/workarounds?

Cameron.

--

-- 
===================================================================

Alimony is a system by which, when two people make a mistake,
one of them keeps paying for it.
(Continue reading)

Tom Locke | 6 Apr 13:39 2005

Timer strangeness

Hi

Thanks for a great utility :-)

I'm getting some strange timer behavior (WR 1.6.2, Ubuntu Linux, Gnome)

I feel like I've been getting a variety of strange behavior. Are there 
any known bugs on timers, e.g. timers getting stuck? I had a look at the 
issue tracker but didn't see anything.

The only one I've nailed down enough to describe, is:

Sometimes, during a rest break, when WR replaces the exercise dialog 
with the regular rest-break dialog, the timer goes back to the full 5 
mins (usually it carries on from where is got to during the exercises). 
Then it just sits there stuck at 5 mins, until, after a minute or two, 
for no apparent reason, it starts ticking normally.

Any ideas? Is it a good idea to install a nightly?

Tom.

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Rob Caelers | 6 Apr 18:49 2005

Re: Compile error on White Box Enterprise Linux 3

> else rm -f ".deps/workrave_applet-Workrave-Control-skels.Tpo"; exit 1; \
> fi
> In file included from /usr/include/orbit-2.0/orbit/orb-core/orb-core-types.h:16,
>                  from /usr/include/orbit-2.0/orbit/orbit-types.h:6,
>                  from Workrave-Control.h:9,
>                  from Workrave-Control-skels.c:7:
> /usr/include/orbit-2.0/orbit/orb-core/corba-defs.h:8:1: warning:
> "ORBIT_IDL_SERIAL" redefined
> In file included from Workrave-Control-skels.c:7:
> Workrave-Control.h:8:1: warning: this is the location of the previous definition
> Workrave-Control-skels.c: In function
> `POA_GNOME_Workrave_WorkraveControl__init':
> Workrave-Control-skels.c:479: syntax error before
> "POA_GNOME_Workrave_WorkraveControl__vepv"

I've seen this error before. What versions of orbit and bonobo do you use?

Groetjes.
   Rob

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Rob Caelers | 6 Apr 18:57 2005

Re: Workrave question

> Hello, sorry not to use the bug interface, but I never seem to get the 
> account password and e-mail.

Sourceforge disabled email from website, so out bugzilla can't send mail 
anymore...I hope SF will fix this soon.

> I have been using workraise for a number of years, but never really 
> understood its interface. Or, I think I did a couple of years ago before it 
> was reorganized. How do I configure the preferences such that I can work 
> for two hours a day, 

In timers, daily limit tab, set "time before end' at 2 hours.

> then be warned twice

Set "maximum number of prompts" to 2. Workrave will then give 2 warning 
you can ignore. After the third warning, the daily limit will be forced, 
even if you did not become idle.

> at 15 minute intervals

set "postpone time" to 15 minutes

 > before  having the screen locked?

Workrave will start the break after the 3rd warning. If you have set 
block mode (in the user interface section) to 'block input' or 'block 
input and screen', workrave will block keyboard and mouse. If you want a 
password protected screen lock, you have to press the lock button manually.

(Continue reading)

Rob Caelers | 6 Apr 19:05 2005

Re: integration with kde screensaver

> I've had a look at the source, and it relies on kde setting one of the 
> XClassHints of the window to be "kdesktop". I've just investigated that, 
> and the kde version I'm using does not do that. I had a google for 
> XClassHint and kde, and found this page suggesting that this is not a 
> reliable way to do it:
> 
> http://mail.gnome.org/archives/gnome-devel-list/2001-September/msg00087.html 

Workrave 1.6.2 uses the code listed in this mail to detect KDE. 
Unfortunately, The window is 'Kdesktop' instead of 'kdesktop'. Workrave 
1.6.2 and before use a case sensitive string compare and so KDE is not 
detected....

> Any suggestions/workarounds?

Try a CVS version of Workrave. It should be pretty stable.

Groetjes,
   Rob

-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
Cameron Stone | 7 Apr 14:27 2005
Picon
Picon

Re: integration with kde screensaver

Rob Caelers wrote:
>> I've had a look at the source, and it relies on kde setting one of the 
>> XClassHints of the window to be "kdesktop". I've just investigated 
>> that, and the kde version I'm using does not do that. I had a google 
>> for XClassHint and kde, and found this page suggesting that this is 
>> not a reliable way to do it:
 >
> Workrave 1.6.2 uses the code listed in this mail to detect KDE. 
> Unfortunately, The window is 'Kdesktop' instead of 'kdesktop'. Workrave 
> 1.6.2 and before use a case sensitive string compare and so KDE is not 
> detected....
> Try a CVS version of Workrave. It should be pretty stable.

I updated the System.cc file in the debian source because I couldn't get 
it to build from cvs, but it had the same effect. Workrave now uses 
strcasecmp to examine the classhint.

However, it still doesn't work. :(

I'm not very familiar with xlib, but after searching a few manuals and 
looking at an ltrace on workrave I've come to this conclusion: The 
optimisation to ignore frames in the recursive kde detection (checking 
if the WM_STATE Atom is set) causes it to only examine the top level 
windows, and hence not kdesktop (which is unmapped according to 
xwininfo). Here's an excerpt from the xlib programming manual I found at 
http://www.sbin.org/doc/Xlib/chapt_12.html:

WM_STATE
According to the ICCCM adopted as of Release 4, the window manager sets 
this property on top-level windows. The contents of this property is for 
(Continue reading)

Lane Schwartz | 7 Apr 16:39 2005
Picon

Re: Compile error on White Box Enterprise Linux 3

Here are the versions:

pyorbit-1.99.3-5
orbitcpp-1.3.5-1rhel3
orbitcpp-devel-1.3.5-1rhel3

bonobo-activation-2.2.2-1
libbonoboui-2.2.2-1
libbonobomm2-devel-1.3.5-1rhel3
libbonobo-2.2.3-1
gnome-python2-bonobo-1.99.14-5
libbonobo-devel-2.2.3-1
libbonobouimm2-devel-1.3.5-1rhel3
bonobo-activation-devel-2.2.2-1
libbonoboui-devel-2.2.2-1
libbonobomm2-1.3.5-1rhel3
libbonobouimm2-1.3.5-1rhel3

Thanks,
Lane

On Apr 6, 2005 11:49 AM, Rob Caelers <robc <at> krandor.org> wrote:
> > else rm -f ".deps/workrave_applet-Workrave-Control-skels.Tpo"; exit 1; \
> > fi
> > In file included from /usr/include/orbit-2.0/orbit/orb-core/orb-core-types.h:16,
> >                  from /usr/include/orbit-2.0/orbit/orbit-types.h:6,
> >                  from Workrave-Control.h:9,
> >                  from Workrave-Control-skels.c:7:
> > /usr/include/orbit-2.0/orbit/orb-core/corba-defs.h:8:1: warning:
> > "ORBIT_IDL_SERIAL" redefined
(Continue reading)

Rob Caelers | 9 Apr 15:34 2005

Re: Timer strangeness

> I feel like I've been getting a variety of strange behavior. Are there 
> any known bugs on timers, e.g. timers getting stuck? I had a look at the 
> issue tracker but didn't see anything.

Not as far as I know.

> Sometimes, during a rest break, when WR replaces the exercise dialog 
> with the regular rest-break dialog, the timer goes back to the full 5 
> mins (usually it carries on from where is got to during the exercises). 
> Then it just sits there stuck at 5 mins, until, after a minute or two, 
> for no apparent reason, it starts ticking normally.

Weird. I've never seen this bug. During exercises, Working ignore 
activity. When the normal restbreak window appears, Workrave freezes the 
timers when you become active. Are you idle or actively using 
mouse/keyboard at the moment Workrave removes the exercises panel?

Also, do you have the xrecord extension enabled in /etc/X11/XF86Config-4 
(or xorg.conf):

Section "Module"
         Load    "record"
EndSection

> Any ideas? Is it a good idea to install a nightly?

The nightlies should be stable. You can try them and see if it fixes the 
problem...

Groetjes,
(Continue reading)


Gmane