#979706 xfce4-genmon-plugin: genmon-plugin often does not show up on panel

Package:
xfce4-genmon-plugin
Source:
xfce4-genmon-plugin
Description:
Generic Monitor for the Xfce4 panel
Submitter:
Date:
2021-01-10 13:39:03 UTC
Severity:
normal
#979706#5
Date:
2021-01-10 13:35:15 UTC
From:
To:
Dear Maintainer,

as orage is no longer supported by xfce 4.16 I created an instance of genmon-plugin in
my panel, which points to a script to show a small calender via ncal and my appointments
of the next two days via konsolekalendar while hover the genmon-icon (icon, tool) and which
opens korganizer when clicking on the icon (iconclick).

But when I restart xfce the defined genmon-icon doesn't appear on the panel. Sometimes there
is only a vertical white line on its position, sometimes nothing and only sometimes it appears.
When I check with a teask-manager, I can see an instance of genmon-plugin running even when
it does't appear in the panel. When I terminate this process, it is restarted by the
xfce-session-management and now it also appears in my panel and works just fine.

I would like to have the genmon-plugin appear in my panel on the first run and think that's the
behaviour to be expected ;-)

Here's the script I run with genmon-plugin:
---snipp ----
#! /bin/sh
# script für Zeitanzeige etc. in xfce4-genmon-plugin
#
echo "<icon>xfcalendar</icon>"
echo "<tool><b>$(date +"%A, %d. %B %Y (KW %V)")</b>\n\n<tt><small>$(ncal -bhM)</small></tt>\n<b><i>Termine heute und morgen:</i></b>\n\n<small>$(konsolekalendar --export-type Short --show-next 1)</small></tool>"
echo "<txtclick>korganizer</txtclick>"
echo "<iconclick>korganizer</iconclick>"
exit 0
---- snipp ----

Klaumi