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.

Island Roots

macrumors regular
Sep 26, 2003
178
0
ok, still not working for me. i have lynx installed, just double checked my app folder and its in there. once again, here is the link.

lynx -dump http://printer.wunderground.com/cgi-...ry=95816|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'

thanks for all your help.

Your link is wrong. Look at it. It's not a complete link. Click on it. It won't work.

Code:
lynx -dump http://printer.wunderground.com/cgi-bin/findweather/getForecast?query=95816|awk '/Temp/{printf $2, ": "; for (i=3; i<=3; i++) printf $i " " }'

That will work.
 

velvetelvis

macrumors 6502
Oct 26, 2007
470
7
just to get this straight, i have to enter this into geektool? i ask because i used your script and it still isnt working.

nevermind its working.... only, it says "probabilityof" and then nothing.
 

Island Roots

macrumors regular
Sep 26, 2003
178
0
just to get this straight, i have to enter this into geektool? i ask because i used your script and it still isnt working.

You may need to change the colors but the code I pasted in my last post, inserted into the Geektool preference pane in the displayed area, works. If you don't have Lynx installed, it won't work.
 

Attachments

  • Picture.png
    Picture.png
    102.4 KB · Views: 1,270

Island Roots

macrumors regular
Sep 26, 2003
178
0
That's odd, it must be how Weather Underground is reporting for that zip code. I entered it into my script and it says the same thing (Temp + Probability of...). Don't know where to go from there.
 

acee88

macrumors newbie
Sep 17, 2008
17
0
wow that date/cal script is very resource hogger... when it was on for me it maxed out my activity monitor but after taking it off i'm back down to minimal use..

i wish i had a C2D macbook now :(
 

macbwizard

macrumors 6502
May 23, 2005
282
54
wow that date/cal script is very resource hogger... when it was on for me it maxed out my activity monitor but after taking it off i'm back down to minimal use..

i wish i had a C2D macbook now :(

It really shouldn't take too much processor power even on the slowest machines it should be fine. You should try changing the refresh rate to a higher setting to minimize processor cycles. I believe the default refresh is every 10 seconds. For something like the month, this is way too often.
 

EV0LUTION

macrumors 6502
Jul 21, 2008
473
0
Florida
Will show your external IP address

Code:
lynx -dump http://checkip.dyndns.org | cut -d : -f 2
 

Attachments

  • Picture 1.png
    Picture 1.png
    39.9 KB · Views: 31,887

acee88

macrumors newbie
Sep 17, 2008
17
0
damn i totally forgot about that.. i had it set to 0 haha no wonder why it hogged my resource.. now i set it to 10 and its all good.

Thanks for the tip now i can continue using this..
 

EV0LUTION

macrumors 6502
Jul 21, 2008
473
0
Florida
I'm currently looking for a new way to post the weather. if uweather puts out a special alert you get a "willoverspred" error.

damn i totally forgot about that.. i had it set to 0 haha no wonder why it hogged my resource.. now i set it to 10 and its all good.

Thanks for the tip now i can continue using this..

for something like the weather you can set it even higher. it doesn't change too often. unless you are going through a hurricane or something.
 

salvatore

macrumors member
Aug 26, 2007
68
0
Massachusetts
I totally want to use/customize/love Geektool, but I just don't look at my desktop all that often, except for waking or sleeping.

Let's see those technical Geektool scripts! Give us reason to watch our desktops again!
 

VSMacOne

macrumors 603
Oct 18, 2008
5,769
2,747
hey I'm new to GeekTool and all this mess, but i LOVE the idea, and was wondering how difficult would it be to get a small script with a monthly calendar, weather, time and date? I might consider installing this stuff if i can get it do display what i want...
How much CPU does it use when running?
 

EV0LUTION

macrumors 6502
Jul 21, 2008
473
0
Florida
hey I'm new to GeekTool and all this mess, but i LOVE the idea, and was wondering how difficult would it be to get a small script with a monthly calendar, weather, time and date? I might consider installing this stuff if i can get it do display what i want...
How much CPU does it use when running?

CPU usage is little, unless you set something to 0

The desktop calendar via geektool:
Code:
 cal | sed "s/^/ /;s/$/ /;s/ $(date +%e) / $(date +%e | sed 's/./#/g') /"

Picture%201.png
 

macbwizard

macrumors 6502
May 23, 2005
282
54
hey I'm new to GeekTool and all this mess, but i LOVE the idea, and was wondering how difficult would it be to get a small script with a monthly calendar, weather, time and date? I might consider installing this stuff if i can get it do display what i want...
How much CPU does it use when running?


It's actually very easy to do everything that you want (everything with the exception of the calendar has already been laid out in this thread). As for the CPU question, it really is minimal and can be set so that it will run the scripts as often as you'd like. As a test you can always type a command into Terminal and see how fast and how few resources these things actually take up.

As for the calendar command, I know it's in one (or more) of the following links which combined have all of the information that I've ever needed for tinkering with GeekTool. Have fun!


http://forums.mactalk.com.au/20/58453-learning-love-geektool-primer-part-2-a.html

http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/

http://lifehacker.com/software/plain-text/geek-to-live--monitor-your-mac-and-more-with-geektool-244026.php#c1097729


And finally, a shameless plug for my blog that shows my friend's geektool set-up with commands (and with calendar I might add)
http://appalooza.wmblogs.net/2008/12/24/geektool-christmas-present/
 

velvetelvis

macrumors 6502
Oct 26, 2007
470
7
That's odd, it must be how Weather Underground is reporting for that zip code. I entered it into my script and it says the same thing (Temp + Probability of...). Don't know where to go from there.

any idea how to get rid of the "probability of..."
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.