GeekTool
For all readers out there on a mac, here’s a nifty little tool for you. GeekTool (http://projects.tynsoe.org/en/geektool/) is a preference pane that lets you embed the output of terminal commands, images, and text files to your desktop. With a knowledge of unix, applescript, and aesthetics anyone can easily sexy up their desktop, like mine.
The preference pane itself has some cool features. Each element of your desktop can easily be turned off or on, and groups of elements can be made for different situations. Like if there are certain logs you need to monitor at work, but an iTunes updater is the least of your worries. With GeekTool, its easy to switch between two groups whenever you find the need. The appearance of your text is completely customizable, so making it look pretty is easy.

Here are just a few ways to bring the coolness to a desktop near you.
Monitoring CPU and memory usage can be done using the output of top. For the former, make a new shell entry, and add
top -l 1 | awk ‘/CPU usage/ {print $8, $9, $10, $11, $12, $13}’
which outputs…
![]()
Adding any output of the top command can be done in a very similar manner. Just replace the /CPU usage/ part with any titles of the statistics at the top of the output, then play around with different numbers ($8, $9, $10) to get the final display you want.
To update iTunes information, download this simple applescript and copy it to the directory of your choosing. Make a new entry in GeekTool and type
osascript /whatever/path/you/used/itunesinfo.scpt
That’ll give you an extraordinarily attractive notifier on your desktop.

To monitor space on your hard drive(s), use the command
df -H -l
which gives you…
![]()
Using the ‘cal’ and ‘uptime’ commands both give you very useful information without any further configuration.

That’s my basic intro to GeekTool. Its amazingly expandable, so continue playing with and you might find some really cool uses.
–jjhappypants




