Create the following command to fetch the information:ġ1. Since yweather fetches the weather data from Yahoo and caches it locally, we need a command that will occasionally fetch the latest data from Yahoo. Create four Shell entries to display the appropriate data. Open the GeekTool Preference Pane found under System Preferencesġ0. Make the changes under the Variable section in the file to reflect your location and the directory location of ĩ. Using Finder, navigate to the /Users//bin directory and open using TextEdit.ħ. While still in the same directory as the script, create a subdirectory call yweather-dir using the command:Ħ. Using Terminal make the script executable using the following command:Ĥ. Copy to a sub directory named bin under your directory. To begin, you need to download from the Google Code site.Ģ. In our example, we will describe how to display the current temperature and conditions for our area as shown below. In previous posts we described how to put the current date and time on your desktop, along with the ability to display images, in our example we used a doppler radar image, but what if you want actual weather conditions? Using GeekTool and a Perl script, called yweather, developed by a Google Code user named loudambiance, you can pull weather data from the Yahoo feed and display on your desktop. Augin How-To, Tips & Tricks by Bob Faulhaber
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |