Weather Screenlets

21 05 2009

mydesktopscreenlet

According to this thread in Ubuntu Forum, in order to be able to use weather screenlet like ClearWeather or SmoothWeather, we need to edit /usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py and add “&link=xoap” to the xoap.weather.com URL. So the URL will look like this
http://xoap.weather.com/weather/local/'+self.ZIP+'?cc=*&dayf=10∏=xoap&link=xoap&par=1003666583&key=4128909340a9b2fc&unit='+unit+'&hbhf=12&link=xoap'

And if you dont know the zipcode of your city, go to weather.com then input your city and search. Look at the address toolbar in your browser. In my case, I looked for Osaka and this is what I got:
http://www.weather.com/outlook/travel/businesstraveler/local/JAXX0071?lswe=Osaka,%20JAPAN&lwsa=Weather36HourBusinessTravelerCommand&from=searchbox_typeahead

From that URL, my zipcode is JAXX0071. Enter that in your weather screenlet and be prepared for tomorrow’s weather :D


Actions

Information

6 responses

21 05 2009
everlastingLearning » Blog Archive » Mac-like Dashboard for Ubuntu

[...] you have problem with the weather screenlet, check this out, maybe it can help. Tags: dashboard, screenlets, Ubuntu Category: Ubuntu, Ubuntu – I juga, i just [...]

21 05 2009
khim

sejak kapan ganti “mac” co’

21 05 2009
nico

kekeke,suka dashboardnya aja :D

22 05 2009
roqwez

Wah keren-2, saya baru pasang internet di rumah setelah liat tulisannya Mas ini langsung nyoba, cuman kayaknya ga perlu deh ampe edit ClearWeatherScreenlets segala Mas, ribet. Cukup jalan ClearWeather trus klik kanan-zip code trus masukin aja zip codenya yang kita dapatkan dari weather.com atau klik kanan ClearWeather trus Properties-Option-Weather-maukan value ZIP trus Aplly deh. Ini GUI Way! :)

23 05 2009
solsol

wow ! you are genius ! thank you for creating all of those things !

23 05 2009
nico

thanks, but i didn’t create them :p i just used them :lol:

Leave a comment