Good bye, little Weather Indicator. I have removed you from my startup roster. You are a crashy little thing, aren't you?
I guess I'll just look out the window from now on.
Good bye, little Weather Indicator. I have removed you from my startup roster. You are a crashy little thing, aren't you?
I guess I'll just look out the window from now on.
I had the same problem. Would run fine for a few hours then crash. No worries though since there are other ways we can get weather data. But it was nice to have it available at a glance.
I came across this little BASH script that displays weather in a terminal. Replace the question marks with a zip/post code:
There are any number of similar scripts around that grab the weather and parse out the relevant text. I suppose if I was clever I could run this as a cron job and use a notification for the display.Code:curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-?????}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n " ' | fmt -t;
It never worked for me when I had installed it.
I could usually have it running for several days at a time before it crashed... Still always would crash in the end though.
Neat little terminal trick. I threw together a bash script, put this command in, and added read; exit on the end. Then I set up a hot key (CTRL ALT M) to launch:
and it brings up a terminal with the weather. Once I hit enter, it closes, thanks to the addition of read; exit.Code:"gnome-terminal -e weather"
Code:#!/bin/bash curl -s "http://api.wunderground.com/auto/wui/geo/ForecastXML/index.xml?query=${@:-?????}"|perl -ne '/<title>([^<]+)/&&printf "%s: ",$1;/<fcttext>([^<]+)/&&print $1,"\n " ' | fmt -t; read; exit
Check out my weather indicator at the link. Indicator-weather is listed, just go further down the page . I have used this prior to 12.04. http://askubuntu.com/questions/30334...-are-available
"Our intention creates our reality. "
Ubuntu Documentation Search: Popular Pages
Ubuntu: Security Basics
Ubuntu: Flavors
Bookmarks