Thursday, March 19, 2009

GeekTool updates

EDIT: I just pulled up my Analytics info for the blog and noticed I've got some traffic from Google for stuff about GeekTool and fanspeeds/temps. You've come to the right place. Please, use my scripts. I've even uploaded the entire zipfile here(don't right-click->save target as, Google intercepts the request and displays a "download attachment page". You can thank Sites for that, Pages was better for this.). Please please please read the README because there's some stuff you have to configure on your system for it to work.

I've updated my setup a little bit and it's decidedly better all around at notifying me when I have things to read or do.

I've placed a copy of my unread message count to the left of my Spotlight menubar item set as always on top. This one runs the same script that the other one runs except the script just feeds it the cached result from the desktop spot(I don't want to hit Google twice every time it runs).

On the other side of the Spotlight icon is the number of tasks in my RTM inbox. Same deal as with the message count: the original script feeds it the cached result.

I've completely moved the Time Machine notification to inside the Spotlight icon's lens. It makes for a more obvious notification(I could never see the other one). I've also changed the font to Geosans light for this element because it makes a nicer looking "*" for the location. FYI: Someone might say "just enable the menubar item", I say "No, I have more important items up there."

For those that may be interested, to find out if Time Machine is running a backup, do a ps and grep for backupd. Then, do an ls in Backups.backupdb/MacName/*.inProgress and wc -l on that. If *both* the process and folder exist, you're running a backup. I've seen stale .inProgress folders and I've also seen the backupd process running without the .inProgress folder so you've gotta check for both.

I also just realized: I'm not sure if the always-on-top elements are gonna be on top of full-screen apps (like VLC) or not. Since my always-on-top elements are black, it really doesn't matter too much when it comes to VLC but it may obscure apps that don't have completely black areas up near the menubar.

Awesome: took a short break while writing this post and generalized the Spotlight notification a bit. Now any script can call a script "enable_notifier who howlong"(who is the name of the app, howlong is how many seconds it should blink for. it actually blinks howlong/2 times) and the notifier will turn on. As a result, the unread message count now not only Growls at me, it also runs the notifier which lasts for longer than the Growl(I sometimes miss the Growl so it'll be nice to have something off in the corner of my eye blinking)