iMac Geektool Help

iphonewarrior

Moderator
Moderator
Apr 11, 2008
13,847
699
113
Honda, have you read over the comments at the bottom of the page (on the link you provided)?

I used Geektool for a short while and found that it was quite buggy. Are you running Lion? It may also be a compatibility problem.
 

Hondamaker

Genius
Gold
May 14, 2007
9,946
655
113
61
Fairborn, Ohio
Honda, have you read over the comments at the bottom of the page (on the link you provided)?

I used Geektool for a short while and found that it was quite buggy. Are you running Lion? It may also be a compatibility problem.
Yeah, I read them. Nothing anyone suggested helped. Maybe it's a Lion compatibility issue. I just thought this app was pretty neat and wanted to try it.
 

azdawg

New Member
Sep 10, 2011
1
1
3
I downloaded Geektool, and added the date and time which is cool, but I'm having trouble with the yahoo weather geeklet. All I get is the current weather image. I'm doing what I'm supposed to, but still can't get it to work properly. Any help would be appreciated. Here is the link for the geeklet and the instructions:

http://www.macosxtips.co.uk/geeklets/weather/weather-icon-and-info-yahoo-weather-1/
Dump the script of your choice below in the Command. Set Refresh to 600 and Timeout to 10 (Don't forget to set the color of your font or you won't see the text appearing):

Los Angeles, CA (Forecast & Celsius)

curl --silent "http://xml.weather.yahoo.com/forecastrss?p=90007&u=c" | grep -E '(Current Conditions:|C<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'

---

Los Angeles, CA (Forecast & Fahrenheit)

curl --silent "http://weather.yahooapis.com/forecastrss?p=90007&u=f" | grep -E '(Current Conditions:|F<BR)' | tail -n1 | sed -e 's/Current Conditions://' -e 's///' -e 's///' -e 's///' -e 's///' -e 's///' -e 's///' -e 's/<[^>]*>//g' -e 's/ F$/˚F/'

---

Los Angeles, CA (Forecast & high & low temps for 2 days) (Fahrenheit)

curl "http://weather.yahooapis.com/forecastrss?p=90007&u=f" | grep -e "Forecast:" -A 2 | tail -n 2 | sed -e 's/<br \/>//' -e 's/<BR \/>//' | sed "s/\(.*\)\.\ \(.*\)/\1\?\2/" | tr "?" "\n" | sed "s/High\:\ \(.*\)\ Low\:\ \(.*\)/\?H\: \1\ L\:\ \2/" | sed "s/\?\(.*\)/\\1/"

Change the 90007 of the examples to the zip code of your choice.

Worked for me.
 
  • Like
Reactions: Hondamaker