xfce weather applet
Steve Grace
sgrace at pobox.com
Wed Nov 30 02:47:23 UTC 2011
On 11/29/2011 06:58 AM, sktsee wrote:
> 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
The "strings" command worked fine for me and pointed to the solution.
The hex editors I used (bless and ghex) were searching for hex bytes.
The text in question is actually two literal strings. I searched for "33
63 34 63" (the first four bytes of the string in hex) and found the
strings with no problem. I then overwrote them with the new info, and
Weather Plugin now works!
Thanks.
More information about the ubuntu-users
mailing list