View Full Version : [ubuntu] Screenlets issue

December 1st, 2008, 02:50 AM
Hello all, upon startup my clear weather screenlet is unable to find weather settings. I have to click on it and reapply the zip code setting then it works. Any ideas why its unable to reapply the code itself?

December 1st, 2008, 02:52 AM
Please link the the screenlet you are using if you install it from a resource, it is probably that screenlet's bug.

December 1st, 2008, 02:56 AM
Its screenlets, clearweather from weather.com

December 1st, 2008, 03:01 AM
are you using intrepid ? Because i saw a bug here : https://bugs.launchpad.net/ubuntu/+source/screenlets/+bug/228278 it may be a problem if you cant get the results.Also this may be your problem : http://ubuntuforums.org/showthread.php?t=957011

December 1st, 2008, 03:13 AM
The second thread you posted looks like the answer. Im just not sure how to have the screenlet wait 20 seconds on startup before booting. Any ideas? Sry im a total noob

December 7th, 2008, 05:10 PM
I tried the suggested fix in the thread below but it didn't work for me maybe you'll have better luck.


I did get it to work using a script at startup with the following in it like what was mentioned in a previous post.

#! /bin/sh
sleep 20;
exec python -u /usr/share/screenlets/ClearWeather/ClearWeatherScreenlet.py > /dev/null &

I saved it as screenlets.sh in a scripts folder in my home directory then made it executable. Then you have to go to System > Preferences > Sessions and add the script to your startup. It's a bit of a pain but it works.