<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><!-- generator="wordpress/2.1" --><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
<channel>
	<title>Comments for Keynote 2 Keynote</title>
	<link>http://www.keynote2keynote.com</link>
	<description>365 Days Of My Experience With Apple As A Switcher</description>
	<pubDate>Sun, 07 Mar 2010 15:11:46 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.1</generator>

	<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/Keynote2KeynoteComments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="keynote2keynotecomments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by jonas</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1532</link>
		<author>jonas</author>
		<pubDate>Wed, 20 Jan 2010 13:02:40 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1532</guid>
					<description>I used the calendar shell, but would like Sundays to come at the end instead of the beginning, does anyone have a way to fix this?</description>
		<content:encoded><![CDATA[<p>I used the calendar shell, but would like Sundays to come at the end instead of the beginning, does anyone have a way to fix this?</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Matt</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1530</link>
		<author>Matt</author>
		<pubDate>Tue, 12 Jan 2010 02:50:17 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1530</guid>
					<description>We're trying to build a community where people can share their GeekTool setups over at http://www.macosxtips.co.uk/geeklets

People can download and contribute the "geeklet" files that GeekTool 3 now uses. It's a great place if you are looking for some new scripts or if you want to share your cool new setup.</description>
		<content:encoded><![CDATA[<p>We&#8217;re trying to build a community where people can share their GeekTool setups over at <a href="http://www.macosxtips.co.uk/geeklets" rel="nofollow">http://www.macosxtips.co.uk/geeklets</a></p>
<p>People can download and contribute the &#8220;geeklet&#8221; files that GeekTool 3 now uses. It&#8217;s a great place if you are looking for some new scripts or if you want to share your cool new setup.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Aaron</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1529</link>
		<author>Aaron</author>
		<pubDate>Thu, 31 Dec 2009 01:48:09 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1529</guid>
					<description>Just wondering if you (Nick Young) are still using GeekTool and if you have had to make any changes with Snow Leopard or the latest beta release of GeekTool...I can use this from the GeekTool website and get lots of info, but not well organized:
top -n43 -l2 -o-CPU &gt; top.txt &amp;&amp; tail -n52 top.txt If I use the command you listed I get nothing.
Also, if I use the command for up time, ram and cpu usage I only see uptime and RAM so I'm assuming this is a SL thing?Thanks for any light you can shed...</description>
		<content:encoded><![CDATA[<p>Just wondering if you (Nick Young) are still using GeekTool and if you have had to make any changes with Snow Leopard or the latest beta release of GeekTool&#8230;I can use this from the GeekTool website and get lots of info, but not well organized:<br />
top -n43 -l2 -o-CPU &gt; top.txt &amp;&amp; tail -n52 top.txt If I use the command you listed I get nothing.<br />
Also, if I use the command for up time, ram and cpu usage I only see uptime and RAM so I&#8217;m assuming this is a SL thing?Thanks for any light you can shed&#8230;</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by djyle</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1502</link>
		<author>djyle</author>
		<pubDate>Fri, 09 Oct 2009 21:37:01 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1502</guid>
					<description>I tried to improve the itunes script to fit what i needed, but i'm totally new to scripts, so maybe you'll find a better way to write it.

It works, as if, on my mac, displaying info od the current track, length and rating and the stream info if it's an audio stream like an internet radio.

here it is  and what it looks like (http://img12.yfrog.com/img12/8824/capturedcran20091006232.png):

tell application "System Events"
	set powerCheck to ((application processes whose (name is equal to "iTunes")) count)
	if powerCheck = 0 then
		return ""
	end if
end tell
tell application "iTunes"
	try
		set playerstate to (get player state)
	end try
	if playerstate = paused then
		return ""
	end if
	if playerstate = stopped then
		return ""
	end if
	
	set trackID to the current track
	set trackName to the name of trackID
	set artistName to the artist of trackID
	set albumName to the album of trackID
	set songLength to the time of trackID
	set myRating to round ((rating of current track) / 20)
	if myRating is 1 then
		set myRating to "  -  ✭✩✩✩✩"
	else if myRating is 2 then
		set myRating to "  -  ✭✭✩✩✩"
	else if myRating is 3 then
		set myRating to "  -  ✭✭✭✩✩"
	else if myRating is 4 then
		set myRating to "  -  ✭✭✭✭✩"
	else if myRating is 5 then
		set myRating to "  -  ✭✭✭✭✭"
	else
		set myRating to "  -  ✩✩✩✩✩"
	end if
	
	set theStream to the current stream title as text
	set ISstream to the size of trackID as text
	if theStream is not null then
		if theStream is not "missing value" then
			set totalData to "  ▶         " &amp; theStream &amp; "  (" &amp; trackName &amp; ")" &amp; myRating
		else
			if ISstream is not "missing value" then
				set totalData to "  ▶         " &amp; trackName &amp; "  /  " &amp; artistName &amp; "  /  " &amp; albumName &amp; "  -  " &amp; songLength &amp; myRating
			else
				set totalData to "  ▶         " &amp; trackName &amp; myRating
			end if
		end if
	else
		if ISstream is not "missing value" then
			set totalData to "  ▶         " &amp; trackName &amp; "  /  " &amp; artistName &amp; "  /  " &amp; albumName &amp; "  -  " &amp; songLength &amp; myRating
		else
			set totalData to "  ▶         " &amp; trackName &amp; myRating
		end if
	end if
	return totalData
end tell</description>
		<content:encoded><![CDATA[<p>I tried to improve the itunes script to fit what i needed, but i&#8217;m totally new to scripts, so maybe you&#8217;ll find a better way to write it.</p>
<p>It works, as if, on my mac, displaying info od the current track, length and rating and the stream info if it&#8217;s an audio stream like an internet radio.</p>
<p>here it is  and what it looks like (http://img12.yfrog.com/img12/8824/capturedcran20091006232.png):</p>
<p>tell application &#8220;System Events&#8221;<br />
	set powerCheck to ((application processes whose (name is equal to &#8220;iTunes&#8221;)) count)<br />
	if powerCheck = 0 then<br />
		return &#8220;&#8221;<br />
	end if<br />
end tell<br />
tell application &#8220;iTunes&#8221;<br />
	try<br />
		set playerstate to (get player state)<br />
	end try<br />
	if playerstate = paused then<br />
		return &#8220;&#8221;<br />
	end if<br />
	if playerstate = stopped then<br />
		return &#8220;&#8221;<br />
	end if</p>
<p>	set trackID to the current track<br />
	set trackName to the name of trackID<br />
	set artistName to the artist of trackID<br />
	set albumName to the album of trackID<br />
	set songLength to the time of trackID<br />
	set myRating to round ((rating of current track) / 20)<br />
	if myRating is 1 then<br />
		set myRating to &#8221;  -  ✭✩✩✩✩&#8221;<br />
	else if myRating is 2 then<br />
		set myRating to &#8221;  -  ✭✭✩✩✩&#8221;<br />
	else if myRating is 3 then<br />
		set myRating to &#8221;  -  ✭✭✭✩✩&#8221;<br />
	else if myRating is 4 then<br />
		set myRating to &#8221;  -  ✭✭✭✭✩&#8221;<br />
	else if myRating is 5 then<br />
		set myRating to &#8221;  -  ✭✭✭✭✭&#8221;<br />
	else<br />
		set myRating to &#8221;  -  ✩✩✩✩✩&#8221;<br />
	end if</p>
<p>	set theStream to the current stream title as text<br />
	set ISstream to the size of trackID as text<br />
	if theStream is not null then<br />
		if theStream is not &#8220;missing value&#8221; then<br />
			set totalData to &#8221;  ▶         &#8221; &amp; theStream &amp; &#8221;  (&#8221; &amp; trackName &amp; &#8220;)&#8221; &amp; myRating<br />
		else<br />
			if ISstream is not &#8220;missing value&#8221; then<br />
				set totalData to &#8221;  ▶         &#8221; &amp; trackName &amp; &#8221;  /  &#8221; &amp; artistName &amp; &#8221;  /  &#8221; &amp; albumName &amp; &#8221;  -  &#8221; &amp; songLength &amp; myRating<br />
			else<br />
				set totalData to &#8221;  ▶         &#8221; &amp; trackName &amp; myRating<br />
			end if<br />
		end if<br />
	else<br />
		if ISstream is not &#8220;missing value&#8221; then<br />
			set totalData to &#8221;  ▶         &#8221; &amp; trackName &amp; &#8221;  /  &#8221; &amp; artistName &amp; &#8221;  /  &#8221; &amp; albumName &amp; &#8221;  -  &#8221; &amp; songLength &amp; myRating<br />
		else<br />
			set totalData to &#8221;  ▶         &#8221; &amp; trackName &amp; myRating<br />
		end if<br />
	end if<br />
	return totalData<br />
end tell</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Wooden Brain Concepts</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1501</link>
		<author>Wooden Brain Concepts</author>
		<pubDate>Wed, 23 Sep 2009 16:00:12 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1501</guid>
					<description>Thanks for some great tips.

Forgive the plug, but I've included a clean, fast, easy to configure, implementation for iTunes artwork in &lt;a href="http://www.woodenbrain.com/products/omnigrowl/omnigrowl.html" rel="nofollow"&gt;OmniGrowl version 3.7&lt;/a&gt;.

(It requires &lt;a href="http://projects.tynsoe.org/en/geektool/" rel="nofollow"&gt;GeekTool 3&lt;/a&gt; and neither needs to poll iTunes for track changes nor refresh GeekTool unless the track changes.)

&lt;blockquote&gt;
Included an iTunes GeekTool template for the new iTunes plugin that will display iTunes artwork and track info on the desktop with GeekTool 3 installed and some minimal configuration.  (See Advanced Info.)
Since OmniGrowl handles everything, this is a much better solution for GeekTool users than anything currently available (just try it).
&lt;/blockquote&gt;</description>
		<content:encoded><![CDATA[<p>Thanks for some great tips.</p>
<p>Forgive the plug, but I&#8217;ve included a clean, fast, easy to configure, implementation for iTunes artwork in <a href="http://www.woodenbrain.com/products/omnigrowl/omnigrowl.html" rel="nofollow">OmniGrowl version 3.7</a>.</p>
<p>(It requires <a href="http://projects.tynsoe.org/en/geektool/" rel="nofollow">GeekTool 3</a> and neither needs to poll iTunes for track changes nor refresh GeekTool unless the track changes.)</p>
<blockquote><p>
Included an iTunes GeekTool template for the new iTunes plugin that will display iTunes artwork and track info on the desktop with GeekTool 3 installed and some minimal configuration.  (See Advanced Info.)<br />
Since OmniGrowl handles everything, this is a much better solution for GeekTool users than anything currently available (just try it).
</p></blockquote>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Glenn</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1499</link>
		<author>Glenn</author>
		<pubDate>Mon, 07 Sep 2009 05:07:04 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1499</guid>
					<description>For the Battery Capacity Stuff, try this one-liner:

for str in DesignCapacity MaxCapacity CurrentCapacity;do ioreg -w0 -l|grep $str|/opt/local/bin/gawk -v var=$str '{print var " = " $NF}';done

I think the calendar entries are not quite right. They gave me three identical months. Try:

cal $(date -v -1m " %m %Y"); cal $(date " %m %Y"); cal $(date -v  1m " %m %Y") 

The only difference seems to be the   sign in  %m</description>
		<content:encoded><![CDATA[<p>For the Battery Capacity Stuff, try this one-liner:</p>
<p>for str in DesignCapacity MaxCapacity CurrentCapacity;do ioreg -w0 -l|grep $str|/opt/local/bin/gawk -v var=$str &#8216;{print var &#8221; = &#8221; $NF}&#8217;;done</p>
<p>I think the calendar entries are not quite right. They gave me three identical months. Try:</p>
<p>cal $(date -v -1m &#8221; %m %Y&#8221;); cal $(date &#8221; %m %Y&#8221;); cal $(date -v  1m &#8221; %m %Y&#8221;) </p>
<p>The only difference seems to be the   sign in  %m</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Fabian</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1498</link>
		<author>Fabian</author>
		<pubDate>Wed, 26 Aug 2009 12:20:54 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1498</guid>
					<description>Could anyone please help me with the itunes artwork script?

my problem is that the script barks on the following line:

set ArtworkFromiTunes to FromiTunesFolder &amp; "albumArt.pict" as file specification

it says it cannot convert from  \"Mac:Users:fabian:Pictures:iTunes Artwork:From iTunes:albumArt.pict\" to type file specification." number -1700 from "Mac:Users:fabian:Pictures:iTunes Artwork:From iTunes:albumArt.pict" to file specification

if i remove the "to file specifiction" the .pict file is updated but alas without the converted tiff so i cannot view it.

thanks</description>
		<content:encoded><![CDATA[<p>Could anyone please help me with the itunes artwork script?</p>
<p>my problem is that the script barks on the following line:</p>
<p>set ArtworkFromiTunes to FromiTunesFolder &amp; &#8220;albumArt.pict&#8221; as file specification</p>
<p>it says it cannot convert from  \&#8221;Mac:Users:fabian:Pictures:iTunes Artwork:From iTunes:albumArt.pict\&#8221; to type file specification.&#8221; number -1700 from &#8220;Mac:Users:fabian:Pictures:iTunes Artwork:From iTunes:albumArt.pict&#8221; to file specification</p>
<p>if i remove the &#8220;to file specifiction&#8221; the .pict file is updated but alas without the converted tiff so i cannot view it.</p>
<p>thanks</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Best Of Both Worlds - Safari’s Style With Firefox’s Power by Tablo</title>
		<link>http://www.keynote2keynote.com/2007/04/02/best-of-both-worlds-safaris-style-with-firefoxs-power/#comment-1474</link>
		<author>Tablo</author>
		<pubDate>Sun, 09 Aug 2009 21:35:18 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/02/best-of-both-worlds-safaris-style-with-firefoxs-power/#comment-1474</guid>
					<description>I used Fission with Firefox, but unlike Safari, it was quite 2D, as compared to Safari's quite-3D.
Anyway Apple dropped that status bar in address bar, all you now get is "Loading..."
I really like Safari's speed, but sees good things in Firefox.</description>
		<content:encoded><![CDATA[<p>I used Fission with Firefox, but unlike Safari, it was quite 2D, as compared to Safari&#8217;s quite-3D.<br />
Anyway Apple dropped that status bar in address bar, all you now get is &#8220;Loading&#8230;&#8221;<br />
I really like Safari&#8217;s speed, but sees good things in Firefox.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by mediapathic</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1473</link>
		<author>mediapathic</author>
		<pubDate>Fri, 07 Aug 2009 09:47:58 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1473</guid>
					<description>Hey, wanted to let you know, you inspired me to set up something similar, but I run mpd instead of itunes. So, my now playing script is:

/opt/local/bin//mpc |head -n1

Which, like everything about mpd vs itunes, is much simpler ;&gt;

Cheers, and thanks for the inspiring article!</description>
		<content:encoded><![CDATA[<p>Hey, wanted to let you know, you inspired me to set up something similar, but I run mpd instead of itunes. So, my now playing script is:</p>
<p>/opt/local/bin//mpc |head -n1</p>
<p>Which, like everything about mpd vs itunes, is much simpler ;&gt;</p>
<p>Cheers, and thanks for the inspiring article!</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on My MacBook Pro Airport Connection Problem And Solution by Armadillo</title>
		<link>http://www.keynote2keynote.com/2007/02/18/my-macbook-pro-airport-connection/#comment-1472</link>
		<author>Armadillo</author>
		<pubDate>Fri, 24 Jul 2009 08:04:15 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/02/18/my-macbook-pro-airport-connection/#comment-1472</guid>
					<description>I had the same issue of crashing my router while putting my MBP to sleep and waking it up. Couldn't actually use the WLAN with any other device either after the MBP woke up. My router only supports B and G modes, and was using mixed whilst the problem was occurring. ATM it seems changing the WLAN mode to B fixed the issue, atleast I am able to sleep-wake my computer and regain the connection succesfully.</description>
		<content:encoded><![CDATA[<p>I had the same issue of crashing my router while putting my MBP to sleep and waking it up. Couldn&#8217;t actually use the WLAN with any other device either after the MBP woke up. My router only supports B and G modes, and was using mixed whilst the problem was occurring. ATM it seems changing the WLAN mode to B fixed the issue, atleast I am able to sleep-wake my computer and regain the connection succesfully.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Kirby</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1471</link>
		<author>Kirby</author>
		<pubDate>Fri, 17 Jul 2009 01:26:08 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1471</guid>
					<description>I found the problem with the Rate output in F33z3r's PERL script. Where he says "$airport_info =~ /lastTxRate: (\d )/s" it should say "$airport_info =~ /lastTxRate: (\d*)/s". Now the script works fine.</description>
		<content:encoded><![CDATA[<p>I found the problem with the Rate output in F33z3r&#8217;s PERL script. Where he says &#8220;$airport_info =~ /lastTxRate: (\d )/s&#8221; it should say &#8220;$airport_info =~ /lastTxRate: (\d*)/s&#8221;. Now the script works fine.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Plop</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1470</link>
		<author>Plop</author>
		<pubDate>Fri, 03 Jul 2009 23:25:26 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1470</guid>
					<description>Hey,
Firstly, thanks for this great article. Really usefull.
Configuring that app is not really easy. :)

Secondly, I was wondering if you could share the desktop image shown on your screenshot.
I really like it, but I don't know where I could get it.
Could you tell me where you got it from, or upload it?
(I hope it's available in 1900x1200 format)</description>
		<content:encoded><![CDATA[<p>Hey,<br />
Firstly, thanks for this great article. Really usefull.<br />
Configuring that app is not really easy. :)</p>
<p>Secondly, I was wondering if you could share the desktop image shown on your screenshot.<br />
I really like it, but I don&#8217;t know where I could get it.<br />
Could you tell me where you got it from, or upload it?<br />
(I hope it&#8217;s available in 1900&#215;1200 format)</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on My MacBook Pro Airport Connection Problem And Solution by J. Burns</title>
		<link>http://www.keynote2keynote.com/2007/02/18/my-macbook-pro-airport-connection/#comment-1468</link>
		<author>J. Burns</author>
		<pubDate>Sat, 20 Jun 2009 19:53:36 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/02/18/my-macbook-pro-airport-connection/#comment-1468</guid>
					<description>Have had major connectivity issues with airport ever since I updated to 10.5.7.  SOLUTION:  Re-install operating system disk and archive.  Airport works fine once again.</description>
		<content:encoded><![CDATA[<p>Have had major connectivity issues with airport ever since I updated to 10.5.7.  SOLUTION:  Re-install operating system disk and archive.  Airport works fine once again.</p>
]]></content:encoded>
				</item>
	<item>
		<title>Comment on Ultimate GeekTool Setup - Pimp Your Desktop Part 2 by Squid</title>
		<link>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1467</link>
		<author>Squid</author>
		<pubDate>Tue, 16 Jun 2009 05:43:26 +0000</pubDate>
		<guid>http://www.keynote2keynote.com/2007/04/10/ultimate-geektool-setup-pimp-your-desktop-part-2/#comment-1467</guid>
					<description>Hey, I have a better solution for the airport:

/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I

which gives you either this:

    commQuality: ##
     rawQuality: ##
 avgSignalLevel: -##
  avgNoiseLevel: -##
     linkStatus: 
       portType: 
     lastTxRate: ##
        maxRate: ##
lastAssocStatus: #
          BSSID: xx:xx:xx:xx:xx:xx
           SSID: xxxxx
       Security: WPA 

or this:

Airport: Off

That's a rather long path to type, so I created a symlink to the airport command in usr/sbin:

sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport


This is the script I use for GeekTool:

#myvar1=`airport -I | grep " SSID\|AirPort" | awk '{print $1, $2}'`
#myvar2=`airport -I | grep channel | awk '{print "Channel:", $2","}'`
#myvar3=`airport -I | grep agrCtlRSSI | awk '{print "Signal:", $2","}' `
#myvar4=`ifconfig en1 | grep "inet " | awk '{print "IP:", $2}'`
#echo "$myvar1   $myvar2 $myvar3 $myvar4"


Which gives me:

SSID: linksys   Channel: 1, Signal: -40, IP: 192.168.1.100

or:

AirPort: Off

As a note, the channel and signal commands are for Leopard.  The channel command doesn't work, and the signal one should grep avgSignalLevel instead of agrCtlRSSI.  Also, the above should be saved to a shell script, which should then be called from GeekTool.</description>
		<content:encoded><![CDATA[<p>Hey, I have a better solution for the airport:</p>
<p>/System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport -I</p>
<p>which gives you either this:</p>
<p>    commQuality: ##<br />
     rawQuality: ##<br />
 avgSignalLevel: -##<br />
  avgNoiseLevel: -##<br />
     linkStatus:<br />
       portType:<br />
     lastTxRate: ##<br />
        maxRate: ##<br />
lastAssocStatus: #<br />
          BSSID: xx:xx:xx:xx:xx:xx<br />
           SSID: xxxxx<br />
       Security: WPA </p>
<p>or this:</p>
<p>Airport: Off</p>
<p>That&#8217;s a rather long path to type, so I created a symlink to the airport command in usr/sbin:</p>
<p>sudo ln -s /System/Library/PrivateFrameworks/Apple80211.framework/Versions/Current/Resources/airport /usr/sbin/airport</p>
<p>This is the script I use for GeekTool:</p>
<p>#myvar1=`airport -I | grep &#8221; SSID\|AirPort&#8221; | awk &#8216;{print $1, $2}&#8217;`<br />
#myvar2=`airport -I | grep channel | awk &#8216;{print &#8220;Channel:&#8221;, $2&#8243;,&#8221;}&#8217;`<br />
#myvar3=`airport -I | grep agrCtlRSSI | awk &#8216;{print &#8220;Signal:&#8221;, $2&#8243;,&#8221;}&#8217; `<br />
#myvar4=`ifconfig en1 | grep &#8220;inet &#8221; | awk &#8216;{print &#8220;IP:&#8221;, $2}&#8217;`<br />
#echo &#8220;$myvar1   $myvar2 $myvar3 $myvar4&#8243;</p>
<p>Which gives me:</p>
<p>SSID: linksys   Channel: 1, Signal: -40, IP: 192.168.1.100</p>
<p>or:</p>
<p>AirPort: Off</p>
<p>As a note, the channel and signal commands are for Leopard.  The channel command doesn&#8217;t work, and the signal one should grep avgSignalLevel instead of agrCtlRSSI.  Also, the above should be saved to a shell script, which should then be called from GeekTool.</p>
]]></content:encoded>
				</item>
</channel>
</rss>
