Weather Plug-in Causes Panel to Crash

Peter Hyman pete4abw at comcast.net
Mon Mar 22 17:50:30 CET 2004


My xfce4 version 4.04.

Trying to add the weather 0.30 goodie to the panel causes a panel crash,
however, it can be manually fixed. Here is what I did. Do compile and
install the source, though, since the module does work :)!

1) go to xoap.weather.com and do a search for your town. Retrieve the 8
letter alpha numeric code that displays in the link. Format is AAAA####
2) Open xfce4rc and add the following lines in the relative location you
would like it to appear in the panel. 
3) Add the following between any
</Group> and
<Group> lines

    <Group>
      <Control id="-1" filename="libweather.so">
        <weather celsius="0" tooltip="0" loc_code="USNJ0105">
          <label>7</label>
          <label>1</label>
          <label>0</label>
        </weather>
      </Control>
    </Group>
4) Restart xfce4

Note, USNJ0105 is my local location. celsius="0" means I want to see
Fahrenheit. Not sure what the labels stand for for, but you will notice
on the display, you will see current temperature, wind chill
temperature, and humidity. I am sure this is documented somewhere in the
source code.

NOTE: Changing properties will cause a crash, although left-clicking the
module will allow the forecast to be displayed.

Good luck.
-- 
Peter Hyman




More information about the Xfce mailing list