Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
Not open for further replies.
Not sure what you mean

Bowtie -> Preferences -> Themes
Select the one you want and it applies

Woof, Woof - Dawg
pawprint.gif

i was able to apply the bowtie themes that came with it but im not sure how to apply the new ones i downloaded from other sites?
 
Thanks to JCK1634 for making the HTC geek tutorial and every1 one else who helped out!! I have one question though and I think I read it some where in here. I had to redo the weather and every time i tried going into Yahoo weather I kept getting a 999 error? Its back to normal but why did this happen in the first place?

Screenshot2010-02-15at101531PM.png
 
i came up with this idea last night so started configuring the desktop. dunno if anyone done this before, what you guys think?
 

Attachments

  • cap.jpg
    cap.jpg
    195 KB · Views: 722
Thanks to JCK1634 for making the HTC geek tutorial and every1 one else who helped out!! I have one question though and I think I read it some where in here. I had to redo the weather and every time i tried going into Yahoo weather I kept getting a 999 error? Its back to normal but why did this happen in the first place?

Screenshot2010-02-15at101531PM.png

You're welcome buddy. If I remember correctly, the error usually occurs whenever the yahoo weather web site fails to update. Nothing you can do really if that happens, except wait for yahoo to fix it.

I just remembered it might also be to do with how often you refresh your weather commands. if you do it too often then yahoo will block you from updating. Make sure you have all your geeklets, that require yahoo weather, to refresh at 3600 secs or more.
 
this would be awesome....

hey everyone,

so far i have had good luck with geektool but i was wondering if there is a weather script that automatically changes your location based of your ip address. Any1 hav any ideas.

this is my desktop so far
 

Attachments

  • Screen shot 2010-02-16 at 12.39.30 PM.png
    Screen shot 2010-02-16 at 12.39.30 PM.png
    718.6 KB · Views: 424
so far i have had good luck with geektool but i was wondering if there is a weather script that automatically changes your location based of your ip address. Any1 hav any ideas.

Sounds like that would be cool, but definitely hard (impossible?) to implement in the current environment of Geektool

In other words, I have not heard of anything like that
But good luck! And if you find it, be sure to post it here!
 
I have been following JCK1634's guide (thank you very much sir) and have found some trouble. I would like my temperature to display itself in Fahrenheit but it keeps coming up as Celsius. I searched and couldn't figure out how to change that. Any help would be much appreciated.
 
I have been following JCK1634's guide (thank you very much sir) and have found some trouble. I would like my temperature to display itself in Fahrenheit but it keeps coming up as Celsius. I searched and couldn't figure out how to change that. Any help would be much appreciated.

early in your curl code, just after your web page, there will be a "u=c"
change that to "u=f"
 
I changed my code to

Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=61822&u=f" | grep -E '(Current Conditions:|[A-Z]<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' -e 's/, [0-9]* [A-Z]//' | tail -n1

vs

Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=61822&u=c" | grep -E '(Current Conditions:|[A-Z]<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' -e 's/, [0-9]* [A-Z]//' | tail -n1

and it doesn't display the temp at all only the condition


edit: fixed
 
I changed my code to

Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=61822&u=f" | grep -E '(Current Conditions:|[A-Z]<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' -e 's/, [0-9]* [A-Z]//' | tail -n1

vs

Code:
curl --silent "http://weather.yahooapis.com/forecastrss?p=61822&u=c" | grep -E '(Current Conditions:|[A-Z]<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//' -e 's/, [0-9]* [A-Z]//' | tail -n1

and it doesn't display the temp at all only the condition

Try this

Code:
curl "http://weather.yahooapis.com/forecastrss?p=61822&u=f" | grep -E '(Current Conditions:|F<BR)' | sed -e 's/Current Conditions://' -e 's/<br \/>//' -e 's/<b>//' -e 's/<\/b>//' -e 's/<BR \/>//' -e 's/<description>//' -e 's/<\/description>//'
 
I tried this thing on snow leopard. Tried the original script on the OP, for date and time, nothing happened. is it not yet SL compatible?

Thanks,

Brian
 
I tried this thing on snow leopard. Tried the original script on the OP, for date and time, nothing happened. is it not yet SL compatible?

Thanks,

Brian

I am using Snow Leopard with Geektool 2
But Geektool 3 is also available

What are you trying to do exactly
We will be glad to help
 
grrrr....now the weather image won't update...I followed directions from a youtube vid with good step-by step instructions, but the image won't change. At first I thought it's because we've been getting snow for the past few days, but I checked the Yahoo Weather page for my town, and the image is different. Also, I didn't forget to do the "Update every __ seconds" thing. Halp?
 
grrrr....now the weather image won't update...I followed directions from a youtube vid with good step-by step instructions, but the image won't change. At first I thought it's because we've been getting snow for the past few days, but I checked the Yahoo Weather page for my town, and the image is different. Also, I didn't forget to do the "Update every __ seconds" thing. Halp?

Ok, just checking...
1. You have two separate entries
a. one to capture the file (a shell)
b. one to post the file (a picture)

2. You have checked to make sure the file name that is written is the file name that is being read

3. You have set the update time

4. You have double checked the yahoo page address you are using in your command
 
Hey guys, I have the code to put the degree symbol for most of my temperatures, but I don't have it for the forecast

I use this code to get the forecast

Code:
curl  "http://weather.yahooapis.com/forecastrss?p=YOURZIP&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/"

and it prints like this:

Fri - Sunny
H: 61 L: 39
Sat - Rain
H: 50 L: 46

What code would print it like this??

Fri - Sunny
H: 61º L: 39º
Sat - Rain
H: 50º L: 46º

I know you guys are awesome, so I am sure one of you can do this
 
SL CPU usage

In case anyone is still looking for it, here is a what you can use for CPU usage in Snow Leopard with Geektool.
Code:
top -l 2 | awk '/CPU usage/ && NR > 5 {print $1, ":", $3, $4, $5, $6, $7, $8}'
 
Countdown Script

thnks everyone for everything. i'm making my own desktop and i want a countdown script on it. i want it to say something like: Days Until Kickoff (then insert days here). The world cup (which is what i'm counting down to) starts on june 11, 2010. i can't find much online and i'm pretty much a n00b when it comes to this stuff. i'm hoping someone on here can help me out with this. thnks again.
 
Can some one help me change a script of mine?
I had this working perfect under leopard but when I upgraded to snow leopard I couldn't get the cpu usage to work.

Code:
echo CPU Usage

top -l 1| awk '/CPU usage/ {print $8, $9}'

top -l 1| awk '/CPU usage/ {print $10, $11}'

top -l 1| awk '/CPU usage/ {print $12, $13}'

echo""

echo Memory Usage &top -l 1 | awk '/PhysMem/ {print "Used: " $8}'

top -l 1 | awk '/PhysMem/ {print "Free: " $10}'

echo""
echo Macintosh HD
df -h | grep "disk1s2" | awk '{print "Total Space: " $2}'
df -h | grep "disk1s2" | awk '{print "Free Space: " $4}'

echo " "
echo Trash Size
du -sh ~/.Trash/ | awk '{print $1}'

Also, I would like to add a
"Inactive memory" and
"Total free memory" ( free+inactive)

I tried various things but couldn't get them working...
Thanks.
 
Wait, has anyone figured out how to pin adium to the desktop? Or am I just being dense and missed it? Nothing came up in the search of this thread!
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.