Thanks John.  As I mentioned before, the problems seem to be something
amiss in libdbusmenu -- either the problem is there, or libdbusmenu is
not checking for a problem condition for which it should be checking.
It's quite likely that just a few lines of programming code need to be
changed -- it's identifying the exact lines and how they need to be
changed that's the kicker. :)

For what it's worth, if you edit the file /home/jack/.config/autostart
/indicator-weather.desktop and change this line:

Exec=indicator-weather

to this (include the double quotes):

Exec=bash -c "while true; do indicator-weather; done"

and then logoff and back on, then at least the weather indicator should
restart itself immediately after each crash.  I have done so for the
time being and this workaround seems to work fine.  For what it's worth,
this is called putting a "shell wrapper" around the program (albeit a
very simple one).

Just in case you're not sure how to edit the file, just run the
following from either a terminal session or by first pressing Alt-F2 to
run a command:

gedit /home/jack/.config/autostart/indicator-weather.desktop

Last, for completeness, I've attached a copy of my indicator-
weather.desktop file modified in this way, for your reference, or you
could just download it and copy it to the /home/jack/.config/autostart
directory (overwriting the one you presently have).  Again, the change
in this file won't take effect until you log off and back on.

HTH,
Doug


** Attachment added: "indicator-weather.desktop"
   
https://bugs.launchpad.net/weather-indicator/+bug/821832/+attachment/2656239/+files/indicator-weather.desktop

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/821832

Title:
  indicator-weather disappears from panel randomly

To manage notifications about this bug go to:
https://bugs.launchpad.net/weather-indicator/+bug/821832/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to