43 Folders

43 Folders feed subscription icon - Shiny!Time, Attention, and Creative Work. After 4 years and a lot of productivity pr0n, we’re shifting gears. Re-learn how to use 43 Folders. Then back to work. [»]

”What’s 43 Folders?”
43Folders.com is Merlin Mann’s website about finding the time and attention to do your best creative work.

GeekTool's new Tiger compatibility (and using it to build your own _Batcave_)

Mac Geekery - Geektool and Bash One-Liners

I’m an old-school fan of GeekTool, a smart little PreferencePane that lets you trick out your Mac’s Desktop background with a variety of customizable stats, photos, and status info. Most folks’ favorite use is to display the output of shell scripts and simple CLI commands (e.g. “cat ~/todo.txt” or “tail -n 10 /var/log/crashreporter.log”)

To be honest, I hadn’t used GeekTool in a while, but apparently there were some Tiger compatibility issues that were vexing fans. Now Mac Geekery’s rupa deadwyler points to a branched version (2nd item) that provides fixes for Tiger.

He also writes up a good post on a few of his favorite uses for GeekTool:

Processes

There’s a few ways to run this. Right now, I like:

ps -cm -U username | awk '/:/ && $5!~/Dashboard/'

c omits the full path of each process, m orders the processes by memory and -U username shows all processes owned by that user. Plain ps only shows processes run through the terminal, ps -A gives me more than I want to see, ps -U was pretty good, I thought. Replacing the m with r orders the processes by CPU usage, I haven’t really decided which one I like better.

My own favorite feature? Probably the least tech-y thing you can do with it: GeekTool can pull photos from the web on a regular schedule, which makes it easy to see weather, traffic, and web cam output right on your desktop (my Desktop, ca. 2004-11).

With a little bit of creativity, experimentation, and poking around, GeekTool can help you put together your own Information Batcave.


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Richard S's picture

Cool. I've missed GeekTool, although...

Cool. I’ve missed GeekTool, although the pain was moderated by running Shell Watcher in Dashboard.

Oli Young's picture

This is one of my...

This is one of my setups for my iBook. I have three rules 1 - Display my current Airport IP address echo “A:” ipconfig getifaddr en1 which comes out like A: 10.1.1.2

2 - Display my current Ethernet IP Address echo “E:” ipconfig getifaddr en0

3 - Display the current route data is travelling out ( so i can be assured ethernet kicks in when available ) echo /usr/bin/currentroute

/usr/bin/currentroute contains

!/bin/sh

scutil_query() { key=$1

scutil<<EOT
open
get $key
d.show
close

EOT }

SERVICE_GUID=scutil_query State:/Network/Global/IPv4 | grep "PrimaryService" | awk '{print $3}'

SERVICE_NAME=scutil_query Setup:/Network/Service/$SERVICE_GUID | grep "UserDefinedName" | awk -F': ' '{print $2}'

echo $SERVICE_NAME

which is then chmod +x (executable)

mkb's picture

GeekTool was actually working fine...

GeekTool was actually working fine for me under Tiger, though it had only been a few days. After installing the branched version, GeekTool keeps disabling itself, forcing me to re-open the pref pane and re-enable it.

About Merlin Mann

Merlin Mann's picture

Bio

Merlin Mann is an independent writer, speaker, and broadcaster. He’s best known for being the guy who started the website you’re reading right now. He lives in San Francisco, does lots of public speaking, and helps make cool things like You Look Nice Today. Also? He looks like this, answers questions, and has something like a life.

Merlin’s favorite thing he’s written recently is a short essay called, “Better.”

 
EXPLORE 43Folders THE GOOD STUFF

An Oblique Strategy:
Discover the recipes you are using and abandon them


STAY IN THE LOOP:

Subscribe with Google Reader

Subscribe on Netvibes

Add to Technorati Favorites

Subscribe on Pageflakes

Add RSS feed

The Podcast Feed

Inbox Zero

The original 43 Folders series looking at the skills, tools, and attitude needed to empty your email inbox — and then keep it that way. Don’t miss the free video of Merlin’s Inbox Zero presentation.

Making Time

3-part series on attention management for artists and makers. Read Bad Correspondence, The Job You Think You Have, and One Clear Line.