
- #Geektool for mavericks for mac os#
- #Geektool for mavericks install#
- #Geektool for mavericks update#
- #Geektool for mavericks code#
#Geektool for mavericks update#
Second thing is update yahoo_url and gcweather_url to your locations. Obviously, first thing you will need to do is update all the paths to your location. Lunar_temp_image = '/Users/Ryoken/Documents/GeekTool/MyWeather/l_temp.png'Īlert_temp_image = '/Users/Ryoken/Documents/GeekTool/MyWeather/a_temp.png' Temp_image = '/Users/Ryoken/Documents/GeekTool/MyWeather/w_temp.png' Lunar_theme_dir = '/Users/Ryoken/Documents/GeekTool/MyWeather/Icons/LunarWhite/'Īlert_theme_dir = '/Users/Ryoken/Documents/GeekTool/MyWeather/Icons/Alerts/' Theme_dir = '/Users/Ryoken/Documents/GeekTool/MyWeather/Icons/FlatWhite/' Gcweather_cache = '/Users/Ryoken/Documents/GeekTool/MyWeather/gcw_temp.xml' Weather_cache = '/Users/Ryoken/Documents/GeekTool/MyWeather/w_temp.xml' Images link to w_temp.png, l_temp.png, and a_temp.png (Weather Conditions, Lunar Cycle, and Alerts) and are updated regularly. Though pasting the contents of each file into their own script windows should work too. I personally run each script individually in their own script boxes through the code: Below I will go through some of the changes that need to be made. Included in this zip is all the scripts, the images that I used ( Weather icons are FlatWhite, from ), and my current cached weather. Unless you use something else, in which case ignore this.
#Geektool for mavericks install#
You will need to install this as root in terminal (or other ways if you know what you are doing.

I have limited bandwidth, sometimes caps on usage, every little bit helps. This is to minimize the number of times I'm having to hit external servers, and pull data.

The other files then, if needed, pull from these cached XML files to extract the information they need. It also calculates the lunar cycle, and copies that image. It then checks these files to copy the correct weather conditions image, and if needed, an alert image to the temp images. The way mine works is a single main file, master.py, downloads the the XML feeds from Yahoo and Environment Canada and saves them. The alert part only works for Canadians, as it uses Environment Canada's RSS to grab the alerts (not surprising, they don't care about other countries :p )
#Geektool for mavericks code#
The main part of the weather code uses Yahoo's XML feed, and as such should work for everyone. There was some interest when I posted my desktop, so I figure I'll post the code for anyone to be able to take advantage of. Everything else is pretty much optional, you can select fonts, colours, position, etc.I wrote what is mostly my own weather code for geektool, cause I wasn't satisfied with any of the existing ones. The refresh field is how often you want the script to rerun, I chose 3,600 seconds, but you can go with either shorter or longer intervals. Once this is all working, you just need to drag a new “Shell” widget from GeekTool onto your desktop, and set the Command field to the script location, “/Users/username/Scripts/IPAddresses.sh -c /Users/username/Scripts/” The -c switch just specifies the location of the configuration file you created, the GeekTool scheduler won’t be able to find it otherwise, even if it’s in the same directory. You should see an output similar to the screenshot above.

Once this is done, you can test this in the Terminal app again by running “./IPAddresses.sh” from the directory you stored the script in. You can run “ifconfig -a” from the Terminal app if you’re unsure. …which should be your ethernet and WiFi ports. All it contains is a list of the network interfaces to probe, typically just… To get it running, you’ll need to create an IPAddresses.cfg in the same directory you’ve put the script in (I just use Scripts under my home directory). You can download my network interface script here. Here I have some weather, and whatever network interface my MacBook using along with my current IP address. It lets you display various kinds of information on your desktop via 3 default plug-ins.” With a little bit of scripting ability, you can display all sorts of useful information on your desktop.
#Geektool for mavericks for mac os#
GeekTool, in their words “is an application for Mac OS 10.6+.
