Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Install a modified Tiger-compatible version of GeekTool Apps
Tired of waiting for a new release of GeekTool (it's been a long time that it's been stuck at 2.1(D8))? The current release also has some problems with Tiger -- take a look at the system console and you will see for yourself. These problems are because GeekTool uses some obsolete (and unofficial) calls to Core Image.

So I personally edited the source code (it's an open source app) to fix those problems. I also made some changes to speed up log window drawing, and reduce CPU load in some situations. Then I also added an Italian localization (both in the software and the online help).

This new release (unofficial, obviously!) is freely downloadable from the OS X Miscellanea page on my site; I hope you GeekTool fans will enjoy it!

[robg adds: GeekTool was one of my favorite pre-10.4 utilities, and it's nice to see the benefits of the open source model at work. I installed this modified version, and it definitely works better under Tiger than does the latest official release.]
    •    
  • Currently 2.20 / 5
  You rated: 2 / 5 (5 votes cast)
 
[24,951 views]  

Install a modified Tiger-compatible version of GeekTool | 17 comments | Create New Account
Click here to return to the 'Install a modified Tiger-compatible version of GeekTool' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Install a modified Tiger-compatible version of GeekTool
Authored by: ybizeul on Sep 30, '05 08:53:33AM

Yes, I know, I should have released a new version already !
But other products take most of the time I have to code on my personnal projects, and I must admit I'm more motivated to work on commercial ones !
Anyway, I would be happy to merge your work with the current development version and release an official version !



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: wallybear on Sep 30, '05 10:25:22AM

I think there is no problem in this, only I have some features I wish to add in the program, so I think it's better to send you a diff file.



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: Whosawhatsis on Sep 30, '05 03:50:20PM

Like an option for real-time terminal output? Pretty please?

---
I was offered a penny for my thoughts, so I gave my two cents... I got ripped off.



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: ybizeul on Oct 03, '05 07:48:48AM

Ok, send me this, I'll see what I can do



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: BulbVivid on Sep 30, '05 12:14:20PM

Would love to see it play nicely with Exposť. GeekTool's one of my favorites though, and I greatly appreciate the work.



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: wallybear on Oct 03, '05 06:31:33AM

I have no problems with Expose'. Can you be more specific? I'll se what I can do.



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: BulbVivid on Oct 03, '05 08:00:58AM
well, I typically have GeekTool showing a window over my menubar to show iTunes info using this shell script:
#!/bin/sh
set h = "       2"
if($(test $(ps -x | grep /Applications/iTunes.app/Contents/MacOS/iTunes | wc -l) -eq "       2"))
then
if($(osascript -e 'tell application "itunes"' -e 'return player state is playing' -e 'end tell'))
then
        echo "$(osascript -e 'tell application "itunes"' -e 'return artist of current track & " - "' -e 'end tell')$(osascript -e 'tell application "itunes"' -e 'return name of current track' -e 'end tell')"
else
        echo "Not Playing"
fi
fi
The script refreshes every ten seconds, and it always messes with exposť when showing the desktop. Other exposť functions work correctly, but when showing the desktop, the windows pull back in when the script refreshes. It's possibly something in the script, which I just cobbled together from various sources (I just know it works, not how it works.) Any help would be appreciated.

[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: unforeseen:X11 on Oct 04, '05 08:30:40AM

Yes, guys, thank you both for working together. I almost gave up hope for this fantastic app... =)

And thanks to the guy pointing out the chmod-"inconsistencies".



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: BulbVivid on Sep 30, '05 09:54:32AM

Thanks!!



[ Reply to This | # ]
Thank you
Authored by: fungus on Sep 30, '05 10:59:01AM

Thank you for contributing your talent to the community, both wallybear and ybizeul.

Only now that Tiger has a Dashboard. Does anyone know of a *good* widget that can do something similar. I have tried a few that suck rocks, but I want your opinions.



[ Reply to This | # ]
Permissions problems
Authored by: klktrk on Sep 30, '05 11:08:45AM

First, thanks for the updated version. Nice to finally be rid of those pesky messages.

Second, unfortunately, the distribution installs GeekTool with very odd permission bits set. If you install it at the System level (/Library/PreferencePanes), it will only work for the user who installed it. The main nib file is chmod 700 so other users can't use it. This is the case with other nib packages inside GeekTool. Also, all regular files, such as .tiffs, .pngs, .plists, and .string files are 755 instead of 644. No need for these to be executable.

To make the new GeekTool work for more than one user, go through the GeekTool.prefPane package and change *.nib *directories* from 700 to 755. (The regular file *.nibs can be set to 644). There are also a bunch of other permission bits weirdnesses, but I don't think they will stop the preference pane from working.



[ Reply to This | # ]
Permissions problems
Authored by: wallybear on Oct 03, '05 02:06:53AM

Thanks for the info. I'll fix this and post it soon.



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: afb on Sep 30, '05 09:04:33PM

Thanks.
Just wondering, what kept the old GeekTool from running?
I managed to keep mine running onscreen by editing out the tail windows from the plist, but not through the pref pane, which obviously wouldn't start up.



[ Reply to This | # ]
Install a modified Tiger-compatible version of GeekTool
Authored by: loren_ryter on Oct 01, '05 09:08:05AM

hey thanks, been waiting for a tiger-compatible geektool. maybe you can fix those permissions issues and post the thing on versiontracker with yan's permission (so to speak). take over as it were until yan can pick up the thing again.

let me take this opportunity to plug my iTunes meets GeekTool script, which basically allows you to put a track info window (small and large versions) on your desktop, but also does amazon searching and cache file searching for images, so you can put album art on your desktop too. it's part of the WBC iTunes Scripts Collection. (on VT). I had given up using the image part of it under Tiger because GeekTool was continually crashing. Maybe this will fix the problem.





[ Reply to This | # ]
Put your Tivo's "Now Playing" list on your desktop!
Authored by: tivoboi on Oct 03, '05 01:00:16AM
For those of you with vserver running on your Tivo and vstream running on your Mac, here's a short script I've written that -- when used with GeekTool -- allows you to put the "Now Playing" list from your TiVo on to your desktop.

The script uses the vstream client to gather the list of programs from your "Now Playing" list, sorts them, and then groups them together ala Tivo's "folders" feature. The output is formatted so that single programs are shown on one line with the program name, episode title, and record date. Shows with multiple episodes are shown on two lines: the first line contains the name of the program and the total number of episodes, and the second line contains the episode name and date and time of the last episode recorded.

In order to use this program, you need to have vserver running on your (hacked) Tivo and you must also have the "vstream-client" executable located on your Macintosh in /usr/local/bin. You'll also need to alter the following code and change the IP address so that it matches the IP address of your Tivo.

Here's the code. You can cut and past this directly into GeekTool.

/usr/local/bin/vstream-client tivo://192.168.1.3/llist | awk -v FS="|" '{print substr($2,7,2) "/" substr($2,1,5) " " substr($2,10,5) "|" $5 "|" $6 "|"}' | grep -v "|Live||" | grep -v "/ |||" | sort | awk -v FS="|" '{q[$2]++;ld[$2]=$1;le[$2]=$3 } END { { for (i in q) print i "|" q[i] "|" ld[i] "|" le[i] } }' | sort | awk -v FS="|" 'BEGIN {print ""Now Playing" on your Tivo:n"} {e=$4; if (length(e)>47) e=substr(e,1,46) "..."; d=substr($3,4,5) "/" substr($3,1,2) " " substr($3,10,5); if (int($2)==1) {if (length(e)>1) e=", "" e """; print ">" $1 e " recorded on " d;} else {if (length(e)==0) e="[No Episode Name]"; else e=""" e """; printf ">" $1 " (" $2 " episodes)n Last: " e " recorded on " d "n";}} END {if (NR==0) print "[Your Tivo could not be found, or vserver is not running.]"}'

I would recommend you set a 360-second refresh interval, so that the list only updates once an hour.

Cheers!
-tivoboi

[ Reply to This | # ]

Put your Tivo's "Now Playing" list on your desktop!
Authored by: tivoboi on Oct 03, '05 01:11:03AM
Ack! The code is getting munged by the forum. A cut-and-pastable version of this hint is available at http://www.tivocommunity.com/tivo-vb/showthread.php?t=263533 or http://www.dealdatabase.com/forum/showthread.php?t=45518 (This forum keeps stripping out the backslashes from the code, despite my use of
 tags).


[ Reply to This | # ]
Put your Tivo's "Now Playing" list on your desktop!
Authored by: BulbVivid on Oct 03, '05 08:34:32AM
gotta use square brackets, as per the warning at the top of the reply box:

/usr/local/bin/vstream-client tivo://192.168.1.3/llist | awk -v FS="|" '{print substr($2,7,2) "/" substr($2,1,5) " " substr($2,10,5) "|" $5 "|" $6 "|"}' 
I didn't use all the code, as it makes for a WIDE page. The other forums have a good solution for that, maybe we can get it here someday.

[ Reply to This | # ]