Geeklet to display your original weather forecast icons
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.

Icon Weather Forecast for Geektool

Using this script with GeekTool, you can put your original weather forecast icons on your desktop. Yahoo! Weather API is used as the forecast service.


  1. Install some Perl modules. execute following commands on

     $ sudo cpan -i XML::Simple
     $ sudo cpan -i LWP::Simple
  2. Save the folder that you downloaded to somewhere you like. For example /Users/_YOUR_ACCOUNT_/Library/Application Support/GeekTool/.

  3. Set the locations by WOEID. Open on your favorite text editor and modify values about at line 17 to the location where you want to get the forecast.

  4. Make a new shell geeklet on GeekTool. Input following command in the Command field

     perl <PATH TO SCRIPT>/

    and also input your refresh span time in the Refresh every field. 'Course this geeklet is only for executing Perl script, itself displays nothing.

  5. After the first execute of, forecasted weather icons will be created in results/ folder. Make a new image geeklet on Geektool and chose the created icon file. Don't forget to set its refresh span.

Customization of Weather Icons

Put the icons you made into icons/ folder. To relate icon images to the Yahoo's weather codes (condition codes), modify at about line 24. The left values are icon's file names and the right values are Yahoo's condition codes for them.

about condition code see web page Yahoo! Weather API.




Icon Weather Forecast for Geektool by 1024jp is licensed under a Creative Commons Attribution-NonCommercial 3.0 Unported License.