Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Click here to return to the 'My fix to display online pictures w/ Geektool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
My fix to display online pictures w/ Geektool
Authored by: wmscyclone on Jan 13, '05 01:39:02PM
I couldn't quite parse this hint, but I've had the problem of geektool crashing. I had it set to download the local weather radar every 5 minutes and display it on the desktop, using the "Picture" option of geektool to display it from the URL.

In pondering this hint I've now tried this workaround...use geektool to run a shell script to download the jpg to the tmp directory, replace any previous jpg, then use geektool's picture display to show the jpg from the tmp directory.

For the shell command:
curl -o /tmp/wxradar.jpg;
mv /tmp/wxradar.jpg /tmp/geektoolradar.jpg

Shell code broken into 2 lines for display, it should all be on one line. I set it to refresh every 300 seconds. Replace the http:// with the URL for the online picture you wish to display.

For the picture display:
if your startup hard disk has a different name. I set this one to refresh every 60 seconds, in case it took a little while to download the last image.

So far it's working great.

[ Reply to This | # ]