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.
Here's my new desktop, thanks for all the scripts :)
 

Attachments

  • geektool-bioshock.jpg
    geektool-bioshock.jpg
    625.4 KB · Views: 304
Network Monitor...type thing

I was messing around last night with a simple applescript that pings devices on my network, the response then uses geektool to display the status...

Screen%20shot%202011-01-03%20at%2017.39.09.png


Anyone else done something similar...Looking for some inspiration :)
 
I was messing around last night with a simple applescript that pings devices on my network, the response then uses geektool to display the status...

Screen%20shot%202011-01-03%20at%2017.39.09.png


Anyone else done something similar...Looking for some inspiration :)

Thats very nicely done... i've been thinking to make something similar but due to lack of time I haven't built it yet.
Maybe you like this, I've made my geeklets slide in and out.
By doing this you would have a whole lot more options.
In the example you'll see that once the track changes a geeklet comes sliding down.
click here
 
@tomge, Neat.
Not sure how I would make use of it, good though.
How are you doing that?

Incrementing the distance of the geeklet from top++ in a small loop?
 
@tomge, Neat.
Not sure how I would make use of it, good though.
How are you doing that?

Incrementing the distance of the geeklet from top++ in a small loop?
Indeed, just a loop that brings the geeklet down.
Maybe for you when some value changes that the belonging geeklet pops up...

I'm gonna start working on a similar thing like yours without the local network mapping.
Also busy with a clock and still have a job to do...
 
Last edited:
I was messing around last night with a simple applescript that pings devices on my network, the response then uses geektool to display the status...

Anyone else done something similar...Looking for some inspiration :)

Would be cool to see that applescript; mind sharing? For some reason I can't wrap my head around how you did it.
 
1 geeklet only
can you help me. 1 geeklet or multiple, to make things in order

I would leave it like that...
Maybe a sort on date but thats all for me.

can you give me the code you are using?

This is what I've made during the weekend
it displays the Used space in percentage then the name and whats left of the disk. When used percentage is greater than 70 it becomes red.
 
Maybe someone could help me.

I've got bash script (ported from linux Conky) for Polish weather service: pogodynka.pl:

Code:
#!/bin/bash
miasto="Ryki"
w3m -dump http://pogodynka.pl/polska/${miasto}_${miasto} | grep -A 5 "Teraz" | grep -A 3 "Temperatura" > tmp
echo "$miasto"
kierunki=("S" "SW" "W" "NW" "N" "NE" "E" "SE")
kierunek=`grep Kierunek tmp|sed 's/\(.*\)\([0-7]\)\(.*\)/\2/g'`
sed_cmd="s/\[$kierunek\]/${kierunki[$kierunek]}/"
cat tmp | sed ''$sed_cmd''
rm tmp
I saved it to script.sh, make it executable: chmod +x and add Shell: sh /path_to_bash_script to GeekTool. But GeekTool displays only: Ryki - this is Polish city.

When I run script from Terminial everything works fine. What is wrong? :-(
 
Google Reader

Anyone been able to build something that will pull in Google Reader Unread items?

I have tried various ways to get my Unread items from the reading-list feed, but for some reason I cannot get authenticated into Google reader.

Any help?

Oh, pulling the latest News from NetNewsWire would work as well. I can't get either to go.
 
Last edited:
http://image.weather.com/web/radar/us_se_9regradar_plus_usen.jpg

it's a geektool image. where the "se" between us_ and _9regradar means "southeast"

i found it somewhere in the middle of this forum and had to figure out where to change it to my region, through trial and error.

good luck.

cody

Thanks....you did most of the work...all I had to do was change "se" to "ne" to get the northeast image....now I'm getting greedy and trying to narrow it down to just my state or area...no success yet.
 
Anyone been able to build something that will pull in Google Reader Unread items?

I have tried various ways to get my Unread items from the reading-list feed, but for some reason I cannot get authenticated into Google reader.

Any help?

Oh, pulling the latest News from NetNewsWire would work as well. I can't get either to go.

I've tried but my knowledge is not great enough to help you out....
Maybe NetNewsWire, haven't tried it yet.
 
My Current Desktop

Thought I'd share my Current Geektool Desktop. Still a work in progress, most specifically needing my Google Reader / NetwNewsWire Unread Feeds (see two messages).

I am using Bowtie for the player (it seems to use less resources than my Geektool Geeklet) and Mirage2 to make the Dock clear.

5354480075_2f53a77d20_b.jpg
 
mail script...

hi, I have a new desktop and I would like that the geeklet which displays my number of mail should not put 0 when I have no mail but just no.
So my script for the mail count is this:

curl --silent https://compte:mdp/mail/feed/atom/ | awk '/fullcount>/{print substr($1, 12, 1) }'

I did try something with | if /fullcount=0/{print no}' but it diddn't worked out.
I'm not verry good yet with writing these scripts, just playing around...
If anyone could help me that would be great, thanks!!
 
I know there is already a way to get facebook notifications. Here is my version that skips the use of automator.

$ curl "http://your url here" -A "Mozilla/4.0" | grep 'title' | egrep '(commented|your Wall)' | sed -e 's/\<title\>//' -e 's/\<\/title\>//' -e "s/\&apos\;/'/" -e 's/ //' | head -n 4

The url you must have to use this can be obtained by clicking the notifications button on the lower right hand corner of any facebook page. From there click on show all. This should send you to a new page. Click the link for "Your notifications" on the right side of the screen. Now this should send you to a new page. Copy the url and paste that into your url here. To change the number of notifications shown change the last number in the code. It is currently set to show 4.

You must replace feed:// (from the facebook url) with http:// otherwise this will not work.

That should work to show facebook notifications if not write back and I'll try my best to help troubleshoot.

this did not work i am using google chrome could that be the problem?
 
Thanks....you did most of the work...all I had to do was change "se" to "ne" to get the northeast image....now I'm getting greedy and trying to narrow it down to just my state or area...no success yet.

First go to your city's weather page on weather.com, and click on the 'map' tab.
Then select 'classic map' near the bottom of the page. Using the drop down menu under the map, choose the view that you want. Finally, copy the URL of that radar image.

For instance, here's mine, Albuquerque area:
http://i.imwx.com/web/radar/us_abq_metroradar_plus_usen.jpg
 

Attachments

  • 011911ss.JPG
    011911ss.JPG
    106.6 KB · Views: 269
Last edited:
First go to your city's weather page on weather.com, and click on the 'map' tab.
Then select 'classic map' near the bottom of the page. Using the drop down menu under the map, choose the view that you want. Finally, copy the URL of that radar image.

For instance, here's mine, Albuquerque area:
http://i.imwx.com/web/radar/us_abq_metroradar_plus_usen.jpg

Tried that the first day....unfortunately, when I click the "classic map" link all I get is "error on page" in the status bar and if I try to copy the URL, it says it copies it, but when I try to paste it in the address bar, it's empty...really weird.
 
Status
Not open for further replies.
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.