xfce weather applet

sktsee sktseer at gmail.com
Tue Nov 29 14:58:59 UTC 2011


On Mon, 28 Nov 2011 22:15:34 -0800, Steve Grace wrote:

> On 11/28/2011 07:30 AM, sktsee wrote:
> 
>>> Do you happen to know if there's any way to get a working weather
>>> applet in Xubuntu 11.10?
> 
>> 1. Remove the weather applet from the panel if it is running
>>
>> 2. Install a hex editor.
>>
>> 3. make a copy for backup of /usr/lib/xfce4-weather-plugin/xfce4/panel-
>> plugins/xfce4-weather-plugin because you'll be editing the binary
>> directly with the hex editor.
>>
>> 4. As root, open the file and search for the following text:
>> 3c4cd39ee5dec84f.1121946239
>>
>> 5. Replace that set with 4128909340a9b2fc.1003666583
> 
> I was somewhat interested in fixing this even though it's not a big deal
> for me. Unfortunately, my binary doesn't contain the hex string listed
> (it doesn't have even have the first two bytes "3c4c" together
> anywhere). I'm using Xubuntu 11.10 and am sure I have the most current
> version (I even purged the xfce4-weather-plugin package and reinstalled
> it to make sure). The version I (re-)installed is 0.7.4-1.
> 
> Anyway, I don't care that much about fixing the issue; I just think it's
> curious that the fix works for some people.

Not sure what's happening. I just downloaded the package from universe 
repo at archive.ubuntu.com, extracted xfce4-weather-plugin and ran 
strings on it:

$ strings xfce4-weather-plugin |grep 3c4c
3c4cd39ee5dec84f

I did that for the maverick version (0.7.3-3build1) as well, and it's 
also there.

In addition, the source code for both versions have "weather.h" that 
define the following constants with those values:

#define PARTNER_ID       "1121946239"
#define LICENSE_KEY      "3c4cd39ee5dec84f"


Link to universe repo for source and deb packages
http://archive.ubuntu.com/ubuntu/pool/universe/x/xfce4-weather-plugin/

Source code path to weather.h
/xfce4-weather-plugin-0.7.4/panel-plugin/weather.h

-- 
sktsee





More information about the ubuntu-users mailing list