<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Art Of Geek &#187; Mac OS X</title>
	<atom:link href="http://artofgeek.com/category/apple/mac-os-x/feed/" rel="self" type="application/rss+xml" />
	<link>http://artofgeek.com</link>
	<description>Technology from the geek perspective.</description>
	<lastBuildDate>Thu, 18 Mar 2010 18:48:30 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Toggle display of hidden files in Finder with keyboard shortcut [Update 2]</title>
		<link>http://artofgeek.com/2009/09/16/toggle-display-of-hidden-files-in-finder-with-keyboard-shortcut/</link>
		<comments>http://artofgeek.com/2009/09/16/toggle-display-of-hidden-files-in-finder-with-keyboard-shortcut/#comments</comments>
		<pubDate>Thu, 17 Sep 2009 00:23:43 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[Finder]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[keyboard shortcut]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://artofgeek.com/?p=460</guid>
		<description><![CDATA[<p>[Update 2] Still in early Mac OS X 10.6 Snow Leopard discovery mode, I&#8217;ve started revisiting MacOSXHints.com much more regularly to find out what handy undocumented or at least not widely known tricks the new OS has up it&#8217;s sleeve. Today I came across this fantastic tip about how you can toggle the display of [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-483" title="Toggle Hidden Files" src="http://artofgeek.com/wp-content/uploads/2009/09/Toggle-Hidden-Files-300x141.png" alt="Toggle Hidden Files" width="300" height="141" /><a href="http://artofgeek.com/2009/09/16/toggle-display-of-hidden-files-in-finder-with-keyboard-shortcut/#update_2">[Update 2]</a> Still in early Mac OS X 10.6 Snow Leopard discovery mode, I&#8217;ve started revisiting <a href="http://www.macosxhints.com/">MacOSXHints.com</a> much more regularly to find out what handy undocumented or at least not widely known tricks the new OS has up it&#8217;s sleeve. Today I came across <a href="http://www.macosxhints.com/article.php?story=20090915152215383">this fantastic tip</a> about how you can toggle the display of hidden files in any standard open/save dialog box just by hitting &#8220;Shift+Command+. (period)&#8221;. My first reaction of course was, &#8220;wow, what a great idea!&#8221;, followed quickly by, &#8220;about freaking time!&#8221; and ultimately, &#8220;wtf?, why didn&#8217;t they implement this in the Finder?!?&#8221;.</p>
<p>Well as the old saying goes, give a man a fish and he can feed himself for a day, teach a man to fish and he can get rich selling fish to other suckers (or something of the sort). So it is that Apple has given us the tools in Snow Leopard to fend for ourselves.<span id="more-460"></span> Once again, Automator, Services, a custom keyboard shortcut and the good old bash Terminal are all we need to get the job done. Read on for the step by step instructions on how to make &#8220;Shift+Command+. (period)&#8221; toggle the display of hidden files in Finder.</p>
<div id="attachment_439" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Automator-Service-Selection.png" target="_blank"><img class="size-medium wp-image-439 " title="Automator Service Selection" src="http://artofgeek.com/wp-content/uploads/2009/09/Automator-Service-Selection-300x278.png" alt="Choosing a template for your Automator workflow (click to enlarge)" width="300" height="278" /></a><p class="wp-caption-text">Choosing a template for your Automator workflow</p></div>
<ol>
<li>Open Automator (in your Applications folder) and choose Service from the list of templates provided and click the Choose button.</li>
<li>In the left hand column under Library, select Utilities.</li>
<li>In the second column, drag &#8220;Run Shell Script&#8221; to the right hand pane.</li>
<li>At the top of the right hand pane where you dragged the Run Shell Script action, click on the right-hand popup menu and change &#8220;any application&#8221; to &#8220;Finder&#8221;. This sets the service so it only appears and can be activated by the keyboard shortcut when Finder is the active application.</li>
<li>Then click on the popup menu next to &#8220;Service receives&#8221; and choose &#8220;no input&#8221;. It&#8217;s important you do this step after step 4 because if you do the reverse, Finder won&#8217;t be available as an option in the right hand menu.</li>
<li>Copy and paste the following text into the empty text area of the Run Shell Script action:</li>
<blockquote><p><code><span style="color: #0000ff;">osascript -e 'tell application "Finder" to quit'<br />
SHOWHIDDEN=`defaults read com.apple.finder AppleShowAllFiles`<br />
if [ $SHOWHIDDEN -eq 1 ]; then<br />
defaults write com.apple.finder AppleShowAllFiles -bool FALSE<br />
else<br />
defaults write com.apple.finder AppleShowAllFiles -bool TRUE<br />
fi<br />
osascript -e 'tell application "Finder" to activate'<br />
</span></code></p></blockquote>
<div id="attachment_504" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Toggle-Hidden-Files-Automator-Action.png" target="_blank"><img class="size-medium wp-image-504 " title="Toggle Hidden Files Automator Action" src="http://artofgeek.com/wp-content/uploads/2009/09/Toggle-Hidden-Files-Automator-Action-300x230.png" alt="Completed Automator action, ready to save (click to enlarge)" width="300" height="230" /></a><p class="wp-caption-text">Completed Automator action, ready to save (click to enlarge)</p></div>
<li>Choose File&#8211;&gt;Save, and give the new service a meaningful name like &#8220;Toggle Hidden Files&#8221; that will appear in the Services menu. Once you&#8217;ve done that, you can go to the Services menu (located in the current application menu, next to the Apple menu) and your newly created service should appear there. You can even run it, it&#8217;s already fuctional, just lacking a keyboard shortcut.</li>
<li>Open System Preferences&#8211;&gt;Keyboard&#8211;&gt;Keyboard Shortcuts and select Services in the left column.</li>
<div id="attachment_467" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Toggle-Hidden-Files-Keyboard-Shortcut.png" target="_blank"><img class="size-medium wp-image-467 " title="Toggle Hidden Files Keyboard Shortcut" src="http://artofgeek.com/wp-content/uploads/2009/09/Toggle-Hidden-Files-Keyboard-Shortcut-300x271.png" alt="Setting the keyboard shortcut (click to enlarge)" width="300" height="271" /></a><p class="wp-caption-text">Setting the keyboard shortcut (click to enlarge)</p></div>
<li>Scroll down to the bottom and under the General category, you should see your newly created service listed there. Select it, then Double-click close to the right side of the selected line to reveal a field where you can enter a custom keyboard shortcut. Enter &#8220;Shift+Command+.&#8221; (might as well keep it consistent with the shortcut used in open/save dialog boxes), and then quit System Preferences.</li>
</ol>
<p>That&#8217;s all there is to it. The really nice thing is built-in keyboard shortcuts override custom ones, so pressing  &#8220;Shift+Command+. (period)&#8221; in an open/save dialog will not execute this service.<br />
<div id="attachment_515" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Finder-Busy-Error.png"><img src="http://artofgeek.com/wp-content/uploads/2009/09/Finder-Busy-Error-300x143.png" alt="Finder Busy Error (click to enlarge)" title="Finder Busy Error" width="300" height="143" class="size-medium wp-image-515" /></a><p class="wp-caption-text">Finder Busy Error (click to enlarge)</p></div><br />
<div id="attachment_516" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Service-Execution-Error.png"><img src="http://artofgeek.com/wp-content/uploads/2009/09/Service-Execution-Error-300x139.png" alt="Service Execution Error (click to enlarge)" title="Service Execution Error" width="300" height="139" class="size-medium wp-image-516" /></a><p class="wp-caption-text">Service Execution Error (click to enlarge)</p></div>The way the script works is to toggle the state of a hidden Finder preference and restart the Finder so the changes take effect. So you will see Finder disappear momentarily when executing this service.</p>
<p>Since the Finder will be restarted cleanly (using an AppleScript call to request it to quit), any tasks it is currently executing such as  a copy operation, emptying the trash, etc. will prevent Finder from quitting and pop up the two error messages displayed on the right, without any modification to Finder&#8217;s preference plist file. If this happens, simply click &#8220;OK&#8221; to clear the two messages, wait for the Finder operation to complete (or cancel it) and try again.</p>
<p>I&#8217;ll reiterate how dumb it is that we have to implement this ourselves, but this oversight seems completely insignificant when we consider that instead of implementing a single keyboard shortcut that less than 1% of users will ever use, Apple have given all users a powerful and easy to use set of tools to add a keyboard shortcut for almost anything they could ever want to accomplish with one. Now go fish! <img src='http://artofgeek.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a name="update_1"></a></p>
<hr /><a name="update_1"></a><strong><em>Update 1 &#8211; 9/17/2009, 11:20 pm:</em></strong> I&#8217;ve made a slight modification to the instructions, adding step 4 which makes the service (and keyboard shortcut) only active when Finder is the frontmost app. This greatly reduces the chances that the keyboard shortcut will interfere with one already assigned to an application, but also keeps the Services menu less cluttered when not in Finder. This also makes it impossible to accidentally activate the service unintentionally unless Finder is the active app. Seeing as you&#8217;d only really want/need to use this trick while using Finder, this made the most sense, but of course you&#8217;re welcome to leave this step out if you think you might want to toggle this while running any app.</p>
<p>I also added two extra lines at the end of the shells script to improve usabiliy. Previously, after the action was executed, Finder would in most cases not end up being the frontmost application anymore since upon quitting Finder, the next application that is running would now become frontmost. The added two lines simply add a quarter second pause so Finder has a chance to relaunch before running the open command which brings Finder back to the front if it isn&#8217;t already.</p>
<p><a name="update_2"></a></p>
<hr /><a name="update_2"></a><strong><em>Update 2 &#8211; 10/2/2009, 11:57 am:</em></strong> Special thanks to commenter &#8220;GlowingApple&#8221; for a suggested improvement to use the osascript command to politely quit the Finder rather than the killall command. The benefit is now Finder will throw up an error if it&#8217;s in the middle of doing something rather than simply imploding taking your copy or empty trash command with it. <img src='http://artofgeek.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p>I also changed the execution order a little bit so that the Finder is quit first before the plist modification takes place. That way if the Finder can&#8217;t be quit because it&#8217;s busy, no change will take place. This will prevent the state of hidden file display from unexpectedly changing between reboots or logouts if you unsuccessfully executed the service and Finder couldn&#8217;t be quit. </p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2009/09/16/toggle-display-of-hidden-files-in-finder-with-keyboard-shortcut/feed/</wfw:commentRss>
		<slash:comments>66</slash:comments>
		</item>
		<item>
		<title>Lock your Mac&#8217;s screen like in Windows, Snow Leopard edition</title>
		<link>http://artofgeek.com/2009/09/08/lock-your-macs-screen-like-in-windows-snow-leopard-edition/</link>
		<comments>http://artofgeek.com/2009/09/08/lock-your-macs-screen-like-in-windows-snow-leopard-edition/#comments</comments>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Automator]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[keyboard shortcut]]></category>
		<category><![CDATA[login window]]></category>
		<category><![CDATA[Services]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://artofgeek.com/?p=438</guid>
		<description><![CDATA[<p>Wow. Didn&#8217;t take long for Snow Leopard to render my previous hint on how to lock your Mac&#8217;s screen utterly obsolete.</p>
<p>This is one of the things I love most about Mac OS X: Apple just keeps adding features that often eliminate the need for third party solutions to simple problems. In this particular case, we&#8217;re [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-446" title="Snow-Leopard-and-Friends" src="http://artofgeek.com/wp-content/uploads/2009/09/Snow-Leopard-and-Friends.png" alt="Snow-Leopard-and-Friends" width="300" height="233" />Wow. Didn&#8217;t take long for Snow Leopard to render <a href="http://artofgeek.com/2009/06/23/lock-your-macs-screen-like-in-windows/">my previous hint</a> on how to lock your Mac&#8217;s screen utterly obsolete.</p>
<p>This is one of the things I love most about Mac OS X: Apple just keeps adding features that often eliminate the need for third party solutions to simple problems. In this particular case, we&#8217;re going to use a combination of Automator, a terminal command, Snow Leopard&#8217;s new improved Services and a system-wide keyboard shortcut to enable a hotkey that will suspend the currently logged in user session and display the Login Window as though you had chosen the &#8220;Login Window…&#8221; option from the Fast User Switching menu extra.<span id="more-438"></span></p>
<p>I know, enough with the chatter, get on with the tutorial!  Just follow these steps and you&#8217;ll be locking your Mac running Mac OS X 10.6 Snow Leopard like it&#8217;s running Windows XP! Wait, did I just write that? <em>Shudder.</em> Sorry, I think I just threw up a little bit in my mouth. Here&#8217;s the tutorial:</p>
<div id="attachment_439" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Automator-Service-Selection.png" target="_blank"><img class="size-medium wp-image-439 " title="Automator Service Selection" src="http://artofgeek.com/wp-content/uploads/2009/09/Automator-Service-Selection-300x278.png" alt="Choosing a template for your Automator workflow (click to enlarge)" width="300" height="278" /></a><p class="wp-caption-text">Choosing a template for your Automator workflow</p></div>
<ol>
<li>Open Automator (in your Applications folder) and choose Service from the list of templates provided and click the Choose button.</li>
<li>In the left hand column under Library, select Utilities.</li>
<li>In the second column, drag &#8220;Run Shell Script&#8221; to the right hand pane.</li>
<li>At the top of the right hand pane where you dragged the Run Shell Script action, click on the menu next to &#8220;Service receives&#8221; and choose &#8220;no input&#8221;.</li>
<li>Copy and paste the following Terminal command into the empty text area of the Run Shell Script action:<br />
<blockquote><p><code><span style="color: #0000ff;">/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend</span></code></p></blockquote>
<p>The entire command should be entered on a single line and note there is a space after &#8220;/Menu\&#8221;.</li>
<div id="attachment_441" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Automator-Action.png" target="_blank"><img class="size-medium wp-image-441 " title="Automator Action" src="http://artofgeek.com/wp-content/uploads/2009/09/Automator-Action-300x199.png" alt="Completed Automator action, ready to save (click to enlarge)" width="300" height="199" /></a><p class="wp-caption-text">Completed Automator action, ready to save (click to enlarge)</p></div>
<li>Choose File&#8211;&gt;Save, and give the new service a meaningful name like &#8220;Lock Computer&#8221; that will appear in the Services menu. Once you&#8217;ve done that, you can go to the Services menu (located in the current application menu, next to the Apple menu) and your newly created service should appear there.</li>
<li>Next open System Preferences &#8211;&gt; Keyboard &#8211;&gt; Keyboard Shortcuts and select Services in the left column.</li>
<div id="attachment_443" class="wp-caption alignright" style="width: 310px"><a href="http://artofgeek.com/wp-content/uploads/2009/09/Setting-the-keyboard-shortcut.png" target="_blank"><img class="size-medium wp-image-443 " title="Setting the keyboard shortcut" src="http://artofgeek.com/wp-content/uploads/2009/09/Setting-the-keyboard-shortcut-300x271.png" alt="Setting the keyboard shortcut (click to enlarge)" width="300" height="271" /></a><p class="wp-caption-text">Setting the keyboard shortcut (click to enlarge)</p></div>
<li>Scroll down to the bottom and under the General category, you should see your newly created service listed there. Select it, then Double-click close to the right side of the selected line to reveal a field where you can enter a custom keyboard shortcut. Enter an easy to remember but unique keyboard shortcut (I decided to go with ctrl+option+command+L), and then quit System Preferences.</li>
</ol>
<p>That&#8217;s it! Go ahead and test your keyboard shortcut!</p>
<p>Welcome back! As you should have just seen, pressing the assigned keyboard shortcut fast user switches to the login screen leaving all your programs running in the background waiting for you to log back in again. If you&#8217;re more mouse inclined, you can of course also lock your screen by choosing your Automator action from the Services menu. All accomplished with the awesome customization tools included with Mac OS X 10.6 Snow Leopard!</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2009/09/08/lock-your-macs-screen-like-in-windows-snow-leopard-edition/feed/</wfw:commentRss>
		<slash:comments>102</slash:comments>
		</item>
		<item>
		<title>Lock your Mac&#8217;s screen like in Windows [Update 1]</title>
		<link>http://artofgeek.com/2009/06/23/lock-your-macs-screen-like-in-windows/</link>
		<comments>http://artofgeek.com/2009/06/23/lock-your-macs-screen-like-in-windows/#comments</comments>
		<pubDate>Tue, 23 Jun 2009 13:14:26 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[fast user switching]]></category>
		<category><![CDATA[hint]]></category>
		<category><![CDATA[lock screen]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://artofgeek.com/?p=421</guid>
		<description><![CDATA[<p>[Update 1] Anyone who uses Windows at work is probably familiar with the old Ctrl-Alt-Del &#60;return&#62; trick to quickly lock your screen when you step away from your computer. This displays a &#8220;This computer is in use and has been locked.&#8221; message which instructs you to press Ctrl-Alt-Del again to unlock the computer. Doing so [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-423" title="LockSystem" src="http://artofgeek.com/wp-content/uploads/2009/06/LockSystem.png" alt="LockSystem" width="128" height="128" /><a href="http://artofgeek.com/2009/06/23/lock-your-macs-screen-like-in-windows/#update_1">[Update 1]</a> Anyone who uses Windows at work is probably familiar with the old Ctrl-Alt-Del &lt;return&gt; trick to quickly lock your screen when you step away from your computer. This displays a &#8220;This computer is in use and has been locked.&#8221; message which instructs you to press Ctrl-Alt-Del again to unlock the computer. Doing so presents you with a username/password prompt, which looks very much like the login screen.</p>
<p>In Mac OS X, the closest thing we have is the &#8220;Require password to wake this computer from sleep or screen saver&#8221; check box in the Security system preference pane (in Mac OS X 10.5 Leopard). Then what a lot of people do is set a screen corner to activate the screen saver (via the Exposé system preference pane). Then just before they walk away, they move the mouse into the designated corner, wait for the screensaver to kick in, then walk away.<span id="more-421"></span></p>
<p>If you have OS X&#8217;s Fast User Switching enabled (via the Accounts system preference pane), there&#8217;s a second way to lock your screen which is a bit more like the Windows method. By selecting the &#8220;Login Window…&#8221; option from the Fast User Switching (FUS) menu in the top-right corner of your screen, you are taken back to the login screen while your user session continues to run in the background.</p>
<p>While the Mac OS X solutions works fine, some of us regular Windows users just prefer a more direct method of locking the screen similar to what is offered in Windows. I was one of those people. I liked the Fast User Switching method for locking my screen, but didn&#8217;t want to have to enable FUS to get it because I&#8217;m the only person who uses my Mac, and I didn&#8217;t want to give up the extra menu bar real estate to the FUS menu. In addition, the FUS method requires two clicks, which is one too many clicks! Ideally I wanted a single click solution or one which can be quickly activated with a hotkey.</p>
<p>In my searching, I found a Terminal command on <a title="Mac OS X Hints" href="http://www.macosxhints.com/" target="_blank">MacOSXHints</a> (it&#8217;s been posted so many times in different hints and comments too numerous to give credit to individually) which activates the &#8220;Login Window…&#8221; function from the FUS menu, even if FUS isn&#8217;t enabled! The command is as follows:</p>
<pre>/System/Library/CoreServices/Menu\ Extras/User.menu/Contents/Resources/CGSession -suspend</pre>
<p>&#8220;Now we&#8217;re getting somewhere&#8221;, I thought to myself upon finding that little gem. If I could turn that into a double-clickable script or application, I could add it to the Dock and could lock my system with a single click of the mouse. Even better, using keyboard automation software <a href="http://www.shadowlab.org/softwares/spark.php">like Spark</a> or similar, you could even map a keyboard shortcut that would launch the script or app with the press of a couple of keys.</p>
<p>So to cut an already long story short, I figured out how to create a shell script and using XCode bundled it as an application. I won&#8217;t go into details on exactly how I did either, mainly because I did it a long time ago, and frankly can&#8217;t exactly remember, and that wasn&#8217;t the point of this post. Not being an artist, I borrowed Apple&#8217;s icon from Mac OS X&#8217;s Security Preference pane (thanks Apple!) and made it the icon for my new application bundle which I called simply &#8220;Lock System&#8221;. You can download the Lock System application from the link at the end of this article.</p>
<p>Once you&#8217;ve downloaded and extracted the zip file. Just move the Lock System application to your Applications folder (or anywhere else you want to keep it). I keep mine in ~/Library/Scripts so I can access it via the AppleScript menu. Then add it to your Dock or put an Alias on your Desktop for quick access. Finally, create a keyboard shortcut in <a href="http://www.shadowlab.org/softwares/spark.php">Spark</a> (or similar) for launching Lock System (I like Command+Shift+L), and that&#8217;s it! You can now lock your Mac like you do on Windows. Enjoy!</p>
<h6><em>Lock System should be compatible with Mac OS X 10.3, 10.4 and 10.5. <del datetime="2009-09-09T01:35:52+00:00">Anyone out there who can confirm if it still works in Mac OS X 10.6 Snow Leopard, please post your results in the comments, thanks!</del><em> [Edit: See <a href="http://artofgeek.com/2009/06/23/lock-your-macs-screen-like-in-windows/#update_1">my update</a> at the end of the article. - madgunde]</em> This software is presented as is and with no guarantees. You use it at your own risk, so don&#8217;t be coming back to me to complain that it&#8217;s hosed your system (which would be hard to believe anyway). I&#8217;ve been using it for years now and am only sharing because I thought others might appreciate it.</em></h6>
<p><img class="size-full wp-image-423 alignnone" title="LockSystem" src="http://artofgeek.com/wp-content/uploads/2009/06/LockSystem.png" alt="LockSystem" width="128" height="128" /></p>
<p><a href="http://artofgeek.com/wp-content/uploads/2009/06/Lock-System.zip">Download Lock System (12KB .zip)</a></p>
<hr />
<a name="update_1" ></a><strong><em>Update 1 &#8211; 9/8/2009, 9:30 pm:</em></strong> If you&#8217;re running Mac OS X 10.6 Snow Leopard, there&#8217;s an <a href="http://artofgeek.com/2009/09/08/lock-your-macs-screen-like-in-windows-snow-leopard-edition/">even more elegant solution</a> that doesn&#8217;t require any third party software to accomplish the same task. If you&#8217;re not running Snow Leopard, you better have a darn good reason, like your Mac doesn&#8217;t have an Intel processor or something. <img src='http://artofgeek.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2009/06/23/lock-your-macs-screen-like-in-windows/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Turn your iPhone into a wireless keyboard &amp; mouse [Update]</title>
		<link>http://artofgeek.com/2009/03/05/turn-your-iphone-into-a-wireless-keyboard-and-mouse/</link>
		<comments>http://artofgeek.com/2009/03/05/turn-your-iphone-into-a-wireless-keyboard-and-mouse/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 19:27:16 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[iPhone]]></category>
		<category><![CDATA[iPod/iTunes]]></category>
		<category><![CDATA[ControlPad]]></category>
		<category><![CDATA[iPod touch]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[mouse]]></category>
		<category><![CDATA[remote control]]></category>
		<category><![CDATA[VNC]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://artofgeek.com/?p=370</guid>
		<description><![CDATA[<p>[Update 1] Like a lot of tech-savvy people out there, I&#8217;m using a Mac mini as the heart of my home theatre to play music, view photos, watch downloaded TV shows and movies as well as DVDs. I also do the occasional web surfing with it. For most of those uses, the tiny white Apple [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-373" style="border: 1px solid #777;" title="controlpad_icon" src="http://artofgeek.com/wp-content/uploads/2009/03/controlpad_icon.png" alt="controlpad_icon" width="150" height="150" /><a href="http://artofgeek.com/2009/03/05/turn-your-iphone-into-a-wireless-keyboard-and-mouse/#update_1">[Update 1]</a> Like a lot of tech-savvy people out there, I&#8217;m using a Mac mini as the heart of my home theatre to play music, view photos, watch downloaded TV shows and movies as well as DVDs. I also do the occasional web surfing with it. For most of those uses, the tiny white Apple infrared remote control gets by just fine, since thanks to QuickTime&#8217;s extendability and a little plugin called Perian, I can play pretty much any video format I&#8217;m likely to come across in FrontRow. I can even use the same remote to command the most critical DVD Player functions when watching movies stored on my hard disk as Video TS folders or ISO images.</p>
<p>The Apple remote only handles so much unfortunately as we know all too well. Switching from Front Row to DVD Player or any other app can&#8217;t be done for instance. The little white device becomes nothing more than a poor paperweight in fact when trying to control any app that isn&#8217;t specifically a media or presentation tool. We normally get around this limitation by keeping a wireless keyboard and mouse handy, tucked away and out of sight until needed. Well I&#8217;m happy to report that our days of getting off the couch to reach for a keyboard or mouse are finally over because a handy little iPhone/iPod touch app has just rendered those battery sucking peripherals obsolete!<span id="more-370"></span></p>
<div id="attachment_371" class="wp-caption alignleft" style="width: 210px"><img class="size-medium wp-image-371  " title="controlpad_screenshot" src="http://artofgeek.com/wp-content/uploads/2009/03/controlpad_screenshot-200x300.jpg" alt="controlpad_screenshot" width="200" height="300" /><p class="wp-caption-text">ControlPad&#39;s user interface is simple and functional.</p></div>
<p><a href="http://www.tienshiao.org/iphone-apps/controlpad/">ControlPad by Tienshiao Ma</a> (link to developer&#8217;s blog) is a simple yet beautifully executed app that turns your multi-touch Apple iDevice into a wireless keyboard and mouse. As you can see from the image on the left, the interface divides the screen into a two button touch pad on top and a keyboard on the bottom. Communication is done using standard VNC protocols, so no installation is required on Macs running Mac OS X. However, because it&#8217;s VNC, it can be used to remote control any PC and OS that has a VNC server installed. The developers website even has step by step instructions for configuring your setup whether it be running Mac OS X, Windows or Ubuntu Linux.</p>
<p>Since I&#8217;ve already got my Macs set up to control via VNC and Screen Sharing, it took zero configuration on the computer end to start using ControlPad. It even automatically detected my Macs using Bonjour, so all I had to do was select my Mac from the list, enter my VNC password and within seconds I was controlling my Mac&#8217;s mouse and keyboard using my iPhone. It&#8217;s that simple. You can of course manually enter and save your PC or Mac&#8217;s network info and password to recall later with just one touch. If it wasn&#8217;t obvious, your Mac will need to be accessible over a WiFi network or via the internet and your iPhone or iPod touch will have to have network connectivity to be able to communicate with the computer. It even works on iPhones connected via a 3G or EDGE cell network over the internet.</p>
<p>The virtual touch pad is very responsive and allows you to do all the standard mouse click, double-click and drag operations.  It even supports tap to click and two finger drag to scroll like the trackpads on Apple&#8217;s notebooks, which is a godsend if you&#8217;re surfing the web. To round out the features, the virtual keyboard seems to support all they keys you&#8217;d find on a full-size keyboard, and even supports modifier keys for key combos like Command+Option+Esc or Command+Tab. So there&#8217;s almost nothing you can&#8217;t do with this that you could with a real wireless or wired keyboard.</p>
<p>It&#8217;s hard not to love ControlPad for iPhone/iPod touch. The app isn&#8217;t perfect, but there&#8217;s not much to gripe about either. In my testing it has been fast, stable and responsive. I don&#8217;t really have any complaints, but I do have a couple of suggestions for improvements I&#8217;d like to see in a future update:</p>
<ul>
<li><del datetime="2009-10-28T12:35:38+00:00">It only supports TCP/IP port numbers up to 32767, even though port numbers upwards of 50000 should be perfectly valid</del>. <span style="color: #0000ff;">Update: Since the original review was posted, ControlPad has gained support for the full range of TCP/IP port numbers.</span></li>
<li><del datetime="2009-10-28T12:35:38+00:00">As a Mac user, I&#8217;d like to see a per connection preference to have the &#8216;alt&#8217; key aptly renamed &#8216;option&#8217; when controlling a Mac.</del> <span style="color: #0000ff;">Update: The latest versions of ControlPad now seem to detect Mac hosts and displays a properly named &#8216;option&#8217; key instead of &#8216;alt&#8217;.</span></li>
<li><del datetime="2009-10-28T12:35:38+00:00">It would be nice if we could get a landscape keyboard when turning the device on it&#8217;s side. Since there wouldn&#8217;t be any room for the trackpad in landscape mode, it would be nice to be able to hide the keyboard to use a larger full-screen trackpad. Tilting the iPhone back to portrait mode could then return it to the default split-screen layout.</del> <span style="color: #0000ff;">Update: The developer did one better in a later release of ControlPad. Not only does turning the iPhone into landscape mode give you a landscape keyboard (thank-you!), but you can hide the keyboard and get a spacious full screen trackpad, great for doing extended complex mouse operations.</span></li>
<li>This is a bit of a long shot, but one thing that I miss while using ControlPad to type on my Mac is the iPhone&#8217;s predictive spell checker. Maybe in a future update they could add a little text entry buffer so you could type your text with spelling correction on the iPhone, make any corrections and then send it all to the computer as keystrokes. That way we could benefit from the iPhone&#8217;s excellent typo correction system. Something you only realize you rely on when it&#8217;s suddenly not there to fix your clumsy thumbs&#8217; mistakes.</li>
</ul>
<p>ControlPad is <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=301400438&amp;mt=8">available from the iTunes App Store</a> for $2.99 CDN.  In my opinion it is a must have app for any iPhone or iPod touch user who needs to control a Mac or PC that doesn&#8217;t have a keyboard or mouse within reach or if you want to do away with a mouse or keyboard altogether such as in a kiosk, presentation or home theatre setup. It works as advertised.</p>
<p><strong>Rating:</strong> <del datetime="2009-10-28T12:35:38+00:00">4.5/5</del> Upgraded to 5/5 because of improvements added in the latest releases.<br />
<strong>Product:</strong> ControlPad for iPhone and iPod touch<br />
<strong>Version:</strong> 1.1.2 (iPhone OS 3.0 tested)<br />
<strong>Price:</strong> $2.99 CDN<br />
<strong>Developer:</strong> Tienshiao Ma<br />
<strong>Website:</strong> <a href="http://www.tienshiao.org/iphone-apps/controlpad/">http://www.tienshiao.org/iphone-apps/controlpad/</a><br />
<strong>iTunes Link:</strong> <a href="http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewSoftware?id=301400438&amp;mt=8">Download ControlPad</a></p>
<p><a name="update_1"></a></p>
<hr /><strong><em>Update 1 - 10/28/2009, 9:00 am:</em></strong> I&#8217;ve updated the review and review score to reflect improvements the developer made in newer versions of the app that were released after the initial review.</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2009/03/05/turn-your-iphone-into-a-wireless-keyboard-and-mouse/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Time Machine &amp; AirPort Update breaks 10.5.2 Combo Update [Update 2]</title>
		<link>http://artofgeek.com/2008/03/25/time-machine-airport-update-changes-mac-os-x-built-number/</link>
		<comments>http://artofgeek.com/2008/03/25/time-machine-airport-update-changes-mac-os-x-built-number/#comments</comments>
		<pubDate>Tue, 25 Mar 2008 16:28:42 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Combo Update]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2008/03/25/time-machine-airport-update-changes-mac-os-x-built-number/</guid>
		<description><![CDATA[<img src='http://artofgeek.com/wp-content/uploads/2008/03/about_this_mac_build_9c7010.png' alt='About This Mac 9C7010' class="alignleft" /><a href="http://artofgeek.com/2008/03/25/time-machine-airport-update-changes-mac-os-x-built-number/#update_2">[Update 2]</a> So I recently attempted to re-apply the Mac OS X 10.5.2 Combo update to my MacBook Pro in the hopes that it would fix an annoying little bug that is preventing the contents of my Desktop folder to get dynamically updated.  To my surprise, when I went to select my boot volume to install on, the Installer wouldn't let me continue stating:
<blockquote>"You cannot install Mac OS X Update Combined on this volume.  This volume does not meet the requirements for this update."</blockquote>
At first I thought my OS installation was corrupted, but before I reached for my Leopard install DVD to do a clean install I decided to investigate whether one of the recent Apple software updates may have caused the problem.  Read on to see the results of my [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://artofgeek.com/2008/03/25/time-machine-airport-update-changes-mac-os-x-built-number/#update_2">[Update 2]</a> So I recently attempted to re-apply the Mac OS X 10.5.2 Combo update to my MacBook Pro in the hopes that it would fix an annoying little bug that is preventing the contents of my Desktop folder to get dynamically updated.  To my surprise, when I went to select my boot volume to install on, the Installer wouldn&#8217;t let me continue stating:</p>
<blockquote><p>&#8220;You cannot install Mac OS X Update Combined on this volume.  This volume does not meet the requirements for this update.&#8221;</p></blockquote>
<p><img src='http://artofgeek.com/wp-content/uploads/2008/03/1052_combo_installer_screenshot.png' alt='Combo Installer Screenshot' class="aligncenter" /></p>
<p>At first I thought my OS installation was corrupted, but before I reached for my Leopard install DVD to do a clean install I decided to investigate whether one of the recent Apple software updates may have caused the problem.  I hadn&#8217;t installed the recent Safari, Security and Time Machine &#038; AirPort updates on my Mac mini, so I installed each, one at at time, and then attempted to install the 10.5.2 Combo update after each to see if at any point it would give me the same problem I&#8217;m having on my MacBook Pro. I installed the Safari update first, followed by the latest security update, after both, I had no problems selecting the boot volume for the 10.5.2 Combo Update, but after installing the Time Machine &#038; AirPort Update, the Combo update now said my mini&#8217;s boot volume did not meet the requirements for the update, just like my MacBook Pro!</p>
<p>A quick search through Apple&#8217;s Support forums didn&#8217;t reveal any other reports about this issue, so I <a href="http://discussions.apple.com/thread.jspa?threadID=1451651">posted a topic there</a> and it quickly got responses from others who have run into the same problem.  One post lead us to the culprit, which was that the Time Machine &#038; AirPort Update changed the build number of Mac OS X from 9C31 to 9C7010.  Since the latest Combo Update available as of this writing is for build 9C31, it won&#8217;t let you install overtop of the newer build.</p>
<p>So great, we know what the cause is, but what&#8217;s the solution?  Unfortunately, we&#8217;ll have to wait until Apple either releases a new Combo updater for build 9C7010, or for Mac OS X 10.5.3 to be released, which will have a new Combo Updater.  Otherwise, right now, the only workaround if you really need a reinstall to fix a problem would be an Archive and Install or Format and Install using your original Leopard install DVD&#8211;which isn&#8217;t a solution at all.</p>
<p>Thankfully my problem is minor enough that I can wait, but for those who are having bigger issues, and for my own peace of mind, I hope we don&#8217;t have to wait too long for a proper solution from Apple.</p>
<hr />
<a name="update_1"></a><strong><em>Update 1 &#8211; 4/10/2008, 5:00 pm:</em></strong> I tried a workaround which was discussed in <a href="http://discussions.apple.com/thread.jspa?threadID=1452904&#038;start=60&#038;tstart=0">this Apple support forum topic</a> which seems to have worked for me.  Before you try this yourself, please note that I take no responsibility for any damage you do to your computer.  Proceed at your own risk, and before you try this, make sure you have a good backup!  I also only recommend trying this if you are comfortable working in Terminal.</p>
<ol>
<li>Enter the following command in Terminal:<br />
<code>sudo defaults write /System/Library/CoreServices/SystemVersion ProductBuildVersion 9C31</code><br />
 This is all one command.  Enter your admin password when prompted and hit return.<br />
If you&#8217;re typing manually, be 100% certain you type it correctly with all spaces and upper/lowercase letter exactly as shown.  If you are going to totally screw up your system, this is the most likely point it will happen!  This will change your OS X build number to the previous build so the Combo update will install.</li>
<li>Correct permissions on /System/Library/CoreServices/SystemVersion.plist using this command:<br />
<code>sudo chmod 644 /System/Library/CoreServices/SystemVersion.plist</code><br />
This is so you don&#8217;t get a javascript error trying to run Installer.  Again, this is all one command and be certain you type it exactly as shown, otherwise you could really screw something up.</li>
<li>Install the <a href="http://www.apple.com/support/downloads/macosx1052comboupdate.html">Mac OS X 10.5.2 Combo update</a> and reboot.</li>
<li>Install the <a href="http://www.apple.com/support/downloads/timemachineandairportupdatesv10.html">Time Machine &#038; AirPort Update</a> and reboot.</li>
<li>Install the <a href="http://www.apple.com/support/downloads/securityupdate2008002v11leopard.html">Security Update 2008-002 v.1.1 (Leopard)</a> and reboot.</li>
<li>Install the <a href="http://www.apple.com/support/downloads/safari311.html">Safari 3.1.1 Update</a> and reboot.</li>
<li>Repair disk permissions using Disk Utility.</li>
</ol>
<p>Everything seems to be working right so far, and I&#8217;ve confirmed that the permissions on /System/Library/CoreServices/SystemVersion.plist are correct.  You can check by entering the following command in Terminal:<br />
<code>ls -l /System/Library/CoreServices/SystemVersion.plist</code></p>
<p>The result should look exactly like this (although the date/time may be different):<br />
<code>-rw-r--r--  1 root  wheel  479 Mar 13 14:03 /System/Library/CoreServices/SystemVersion.plist</code></p>
<p>Good luck and if you&#8217;re brave enough to try this, post your results in the comments.</p>
<hr />
<a name="update_2"></a><strong><em>Update 2 &#8211; 5/28/2008, 2:10 pm:</em></strong> Apple has released the <a href="http://www.apple.com/support/downloads/macosx1053comboupdate.html">Mac OS X 10.5.3 Combo update</a>.  You&#8217;re better off installing the new version unless you have a specific application compatibility issue with 10.5.3.</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2008/03/25/time-machine-airport-update-changes-mac-os-x-built-number/feed/</wfw:commentRss>
		<slash:comments>14</slash:comments>
		</item>
		<item>
		<title>Classic Lode Runner, on your Mac OS X Dashboard!</title>
		<link>http://artofgeek.com/2008/03/03/classic-lode-runner-on-your-mac-os-x-dashboard/</link>
		<comments>http://artofgeek.com/2008/03/03/classic-lode-runner-on-your-mac-os-x-dashboard/#comments</comments>
		<pubDate>Tue, 04 Mar 2008 00:18:45 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Entertainment]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[Apple II]]></category>
		<category><![CDATA[AppleIIGo]]></category>
		<category><![CDATA[Dashboard]]></category>
		<category><![CDATA[emulation]]></category>
		<category><![CDATA[Lode Runner]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2008/03/03/classic-lode-runner-on-your-mac-os-x-dashboard/</guid>
		<description><![CDATA[<p>[Update 2] Mention &#8220;Lode Runner&#8221; to any veteran computer user and chances are they&#8217;ll not only be familiar with it, but they&#8217;ll have fond memories of playing it.  It&#8217;s been remade so many times and for so many platforms over the years that many younger gamers are probably familiar with it as well.  [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft" src="http://artofgeek.com/wp-content/uploads/2008/03/lode_runner_widget.png" alt="Lode Runner Dashboard Widget" /><a href="http://artofgeek.com/2008/03/03/classic-lode-runner-on-your-mac-os-x-dashboard/#update_2">[Update 2]</a> Mention &#8220;Lode Runner&#8221; to any veteran computer user and chances are they&#8217;ll not only be familiar with it, but they&#8217;ll have fond memories of playing it.  It&#8217;s been remade so many times and for so many platforms over the years that many younger gamers are probably familiar with it as well.  It was after the topic came up with a friend and fellow computer veteran earlier today that I became determined to find a version of the game I could run on my Mac.  While there are one or more Lode Runner-like shareware games for Mac OS X, it became clear to me after a bit of searching that if I wanted the original Lode Runner, I was going to have to run it under emulation.</p>
<p>The world of emulators on the Mac is very diverse.  I had a lot of choices available to me of which version of Lode Runner I wanted to run, on which computing platform and using which emulator.  I ended up choosing the original Lode Runner game running on the Apple II, and rather than using a traditional emulator, I decided to go with one that came packaged as a Dashboard widget, that way I could quickly jump into a game of Lode Runner no matter what I was in the middle of doing, and just as quickly put it away when I&#8217;ve had my fill.  Following these step by step instructions, you&#8217;ll be able to get your Lode Runner on too.<span id="more-148"></span></p>
<ol>
<li>Download the <a href="http://www-personal.umich.edu/~mressl/appleiigo/pub/Dashboard%20Widget/AppleIIGo-1.0.1.wdgt.zip">AppleIIGo Dashboard widget</a> from the developer&#8217;s website and then click &#8220;Install&#8221; and &#8220;Keep&#8221; when Mac OS X prompts you asking if you want to download and install the widget.</li>
<li>Download the Apple IIe ROM image from <a href="http://mirrors.apple2.org.za/ftp.apple.asimov.net/emulators/rom_images/apple_iie_rom.zip">here</a>.  Extract the zip file if Mac OS X doesn&#8217;t do this for you automatically.</li>
<li>Download Lode Runner for the Apple II from <a href="http://home.mieweb.com/jsfiles/lrfiles/ap_lode.zip">here</a> and unzip it.</li>
<li>Call up Dashboard, and click the bottom right hand corner of the AppleIIGo widget where the little &#8220;<em>i</em>&#8221; is.</li>
<li>On the backside of the AppleIIGo widget, click the &#8220;Disks&#8221; button, followed by the &#8220;ROMs&#8221; button.  Two Finder windows will open. Click the &#8220;Done&#8221; button to flip the widget over.</li>
<li>Drag the file APPLE2E.ROM file that you unstuffed in step 2 to the Finder window named &#8220;ROMs&#8221;.</li>
<li>Drag the file named loderunner.dsk that you downloaded and unzipped in step 3 to the Finder window named &#8220;Disks&#8221;.</li>
<li>Call up Dashboard again and click on the little &#8220;<em>i</em>&#8221; to bring up the AppleIIGo settings again.</li>
<li>Select &#8220;loderunner.dsk&#8221; from the &#8220;Disk Drive 1:&#8221; popup menu, and then click the &#8220;Restart&#8221; button.</li>
<li>Play Lode Runner.</li>
</ol>
<p>Here are the controls:</p>
<table border="0">
<tbody>
<tr>
<th>Action</th>
<th>Key</th>
</tr>
<tr>
<td>Up, Down, Left, Right</td>
<td>I, K, J, L</td>
</tr>
<tr>
<td>Dig left, Dig right</td>
<td>U, O</td>
</tr>
<tr>
<td>Stop moving</td>
<td>Space</td>
</tr>
<tr>
<td>Switch to keyboard controls</td>
<td>Ctrl-K</td>
</tr>
<tr>
<td>Switch to joystick controls</td>
<td>Ctrl-J</td>
</tr>
<tr>
<td>Suicide</td>
<td>Ctrl-A</td>
</tr>
<tr>
<td>End game</td>
<td>Ctrl-R</td>
</tr>
<tr>
<td>Pause game</td>
<td>Esc or Stop or Ctrl-M</td>
</tr>
<tr>
<td>View High Scores</td>
<td>Return</td>
</tr>
</tbody>
</table>
<p>A more complete list of controls and commands are available <a href="http://entropymine.com/jason/lr/misc/controls.html">here</a>, including editing commands for creating/modifying your own levels.</p>
<p>Hit any key to start a game.  Collect all the barrels until the exit ladder appears, then climb up the ladder to move onto the next level, all while avoiding the bad guys chasing you.  Remember that bad guys will pick up barrels they walk over, which they will drop sometimes on their own or when they fall into one of the holes you&#8217;ve dug.</p>
<p>The only two caveats with playing Lode Runner like this is that there is no sound (the AppleIIGo emulator doesn&#8217;t support sound), and the screen can be a bit small.  Those shouldn&#8217;t really get in the way of some good old school fun though, since the sound isn&#8217;t important to gameplay, and the graphics are simple enough that you shouldn&#8217;t have a problem seeing all the detail you need.  Of course, you can theoretically play any Apple II game using the AppleIIGo Dashboard widget.  If you successfully get any other classics running, tell our readers about it in the comments!</p>
<p>Have fun, and let me know what level you manage to reach.  So far, I&#8217;m up to level 5.</p>
<hr />
<a name="update_1"></a><strong><em>Update 1 &#8211; 2/27/2009, 11:00 am:</em></strong> Updated the download link for the Apple IIe ROM because it looks like the original site is no longer live.</p>
<hr />
<a name="update_2"></a><strong><em>Update 2 &#8211; 3/24/2009, 12:25 pm:</em></strong> If you want to download other Apple II classic game disks, check out <a href="http://www.virtualapple.org/">Virtual Apple 4.0</a>. This is an awesome website with a great archive and a fully functional web based Apple II emulator! So if you don&#8217;t feel like messing with the Dashboard trick, or want to get your fix when you&#8217;re away from your Mac, you can play all those classic Apple II games anywhere you have internet access!</p>
<p>To play or download an Apple II game at Virtual Apple, click on a letter at the top to browse their archive, then click the title of a game you want to play/download. The download links are in the right hand column.</p>
<p>If you get any other games working in the Apple IIGo Dashboard widget, let us know in the comments!</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2008/03/03/classic-lode-runner-on-your-mac-os-x-dashboard/feed/</wfw:commentRss>
		<slash:comments>44</slash:comments>
		</item>
		<item>
		<title>Set Safari&#8217;s window size with one click of the mouse</title>
		<link>http://artofgeek.com/2008/02/29/set-safaris-window-size-with-one-click-of-the-mouse/</link>
		<comments>http://artofgeek.com/2008/02/29/set-safaris-window-size-with-one-click-of-the-mouse/#comments</comments>
		<pubDate>Sat, 01 Mar 2008 03:36:48 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[bookmarks]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[tip]]></category>
		<category><![CDATA[window]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2008/02/29/set-safaris-window-size-with-one-click-of-the-mouse/</guid>
		<description><![CDATA[<p>OK, here&#8217;s a hint I think a lot of you Windows switchers are going to love, and I&#8217;m sure more than a few long time Mac users will appreciate as well.  I love Safari.  I think it&#8217;s the best web browser out there.  My primary Mac is a MacBook Pro that I [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" src="http://artofgeek.com/wp-content/uploads/2008/02/safari-window-size.png" alt="Safari window size" />OK, here&#8217;s a hint I think a lot of you Windows switchers are going to love, and I&#8217;m sure more than a few long time Mac users will appreciate as well.  I love Safari.  I think it&#8217;s the best web browser out there.  My primary Mac is a MacBook Pro that I use in a dual monitor setup at home, connected to a 24&#8243; widescreen monitor, and on it&#8217;s own when at work or on the road.  I use Safari all the time, no matter where I&#8217;m at, and one thing that can be annoying is having to manually move/resize my Safari window whenever I switch between single and dual monitor set up.  Since Safari is always running, this is something I have to deal with at least twice a day.</p>
<p>For the longest time I got around this by using an AppleScript, which I placed inside my ~/Library/Scripts/Applications/Safari/ folder (where &#8220;~&#8221; represents my home folder).  Then whenever I&#8217;d switch monitor setups, I&#8217;d simply run that script from within Safari via the AppleScript menu on the top right side of the menubar.  The AppleScript menu can be enabled using AppleScript Utility located in the /Applications/AppleScript/ folder.<span id="more-143"></span> For those interested, this is the script I used:</p>
<ul> <code>tell application "Safari"<br />
set the properties of front window to {bounds:{1, 23, 1200, 1194}}<br />
end tell</code></ul>
<p>You can copy and past that code into Script Editor and save as a script with an appropriate name like &#8220;Set Window Size &#8211; External Display&#8221;.  Just substitute your own values inside the curly brackets.  The values correspond with x,y screen coordinates measured in pixels from the top-left edge of the screen, and indicate the location of the top left and bottom right corners of the window.  In this case, my script told Safari to set the top left corner of the front window to 1 pixel from the left and 23 pixels down (to accomodate the menu bar), and the bottom right corner to 1200 pixels from the left and 1194 pixels down.</p>
<p>This script has worked well for me for several years, but it wasn&#8217;t quite as convenient as I would have liked since it required me to navigate and click on the Script menu, then click on the script I wanted to run.  Being the lazy computer user I am, I&#8217;ve longed for a solution that would take one less click and would be even easier to activate.  Then one day, I came across a useful hint in the ehmac.com forums about this simple javascript that you could save as a bookmark that would make Safari&#8217;s window full-screen:</p>
<ul><code>javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);</code></ul>
<p>This was in response to a Windows switcher who really missed a simple way to make his browser window go full screen like Windows does when you click the maximize window.  Thought it was pretty handy, so I added it to my Safari Bookmarks bar and called it &#8220;Full Screen&#8221; and left it there untouched for several weeks.  Turns out I never want my Safari window to fill my screen since my displays are all fairly large and wide.</p>
<p>I guess today I had an epiphany.  Lightning had just struck my brain (that had to hurt)*.  If a Javascript can set my window full-size, then it should be able to set the window to any arbitrary size.  Looking at the full screen javascript, it was ridiculously obvious how to modify it to fit my needs.  Simply substitute the desired width and height in the resizeTo section like so:</p>
<ul><code>javascript:self.moveTo(0,0);self.resizeTo(1200,1170);</code></ul>
<p>You could even specify a custom window position by changing the x,y coordinates in the moveTo section if you wish.</p>
<p><img class="alignright" src="http://artofgeek.com/wp-content/uploads/2008/02/bookmark_bar_icons.png" alt="Bookmark bar icons" />This in itself is quite brilliant, but still a bit inelegant having bookmarks named &#8220;Full Screen&#8221; and &#8220;Big Monitor&#8221; taking up all that space on your Bookmark bar.  So I came up with some nice simple bookmark names that visually represented what I wanted to accomplish in a way that would look a bit like an icon, and take a minimal amount of space on my bookmark bar, as seen in the image to the right.  So from left to right, I have |-| to resize the Safari window for my small display, |+| to resize the window for my large display and |‹ ›| to resize the window full screen.</p>
<p>This is how they appear in my Bookmarks window:</p>
<div class="wp-caption aligncenter" style="width: 464px"><a href="http://artofgeek.com/wp-content/uploads/2008/02/window_bookmarks.png" target="_blank"><img class=" " style="border: 1px solid black;" src="http://artofgeek.com/wp-content/uploads/2008/02/window_bookmarks.png" border="1" alt="Window bookmarks" width="454" height="50" /></a><p class="wp-caption-text">(Click to enlarge)</p></div>
<p>Just to clarify, the &#8220;|&#8221; character is achieved by pressing shift+\, and the ‹ › characters are created by pressing shift+option+3 and shift+option+4 separated by a space on a Mac.  These symbols are smaller than the standard less than and greater than symbols &#8220;&lt; &gt;&#8221; and make for a nicer looking icon in my opinion.  I was also trying to make all three &#8220;icons&#8221; appear as similar in size as possible for consistency sake and to strengthen the illusion that they are icons.  What you name your bookmarks doesn&#8217;t make any difference to how they work, so be creative if my choices don&#8217;t fit your likes or needs.  If you think you&#8217;ve improved on my names, let me know in the comments!</p>
<p>Having one-click access to these controls directly within the window is not only more convenient, but also more intuitive.  It may not seem like a huge improvement over my previous AppleScript solution, but when you do the same operation multiple times a day, every day of your life, all those clicks really add up.  Sometimes, it&#8217;s the little things that make all the difference.</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2008/02/29/set-safaris-window-size-with-one-click-of-the-mouse/feed/</wfw:commentRss>
		<slash:comments>25</slash:comments>
		</item>
		<item>
		<title>iNdependence 1.2.1 enables YouTube on non-AT&amp;T activated iPhones</title>
		<link>http://artofgeek.com/2007/09/15/independence-121-enables-youtube-on-non-att-activated-iphones/</link>
		<comments>http://artofgeek.com/2007/09/15/independence-121-enables-youtube-on-non-att-activated-iphones/#comments</comments>
		<pubDate>Sun, 16 Sep 2007 04:24:08 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[iPhone]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2007/09/15/independence-121-enables-youtube-on-non-att-activated-iphones/</guid>
		<description><![CDATA[<p>The iPhone development community has released iNdependence 1.2.1, an update to the iPhone activation/hacking tool that now enables YouTube functionality on non-AT&#038;T activated iPhones.  I&#8217;ve tested it and it works beautifully.  This program is in my opinion the most important tool for hacking the iPhone using a Mac.</p>
<p>You can download the latest version [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://artofgeek.com/wp-content/uploads/2007/09/independence_icon.png' alt='iNdependence Icon' class="alignright" />The iPhone development community has released iNdependence 1.2.1, an update to the iPhone activation/hacking tool that now enables YouTube functionality on non-AT&#038;T activated iPhones.  I&#8217;ve tested it and it works beautifully.  This program is in my opinion the most important tool for hacking the iPhone using a Mac.</p>
<p>You can download the latest version from the <a href="http://code.google.com/p/independence/">iNdependence project page</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2007/09/15/independence-121-enables-youtube-on-non-att-activated-iphones/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Reason #1,687,592 why Apple ROCKS</title>
		<link>http://artofgeek.com/2007/03/14/reason-1687592-why-apple-rocks/</link>
		<comments>http://artofgeek.com/2007/03/14/reason-1687592-why-apple-rocks/#comments</comments>
		<pubDate>Wed, 14 Mar 2007 18:53:29 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Gadgets]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2007/03/14/reason-1687592-why-apple-rocks/</guid>
		<description><![CDATA[<p>I have been on a quest for the &#8216;perfect&#8217; mobile phone for several years now, buying a new one every 6-9 months, but never being quite satisfied with any of them.  I think the quest started back in 2003 when I bought a Sony Ericsson T68i, my first BlueTooth equipped phone, and was able [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://artofgeek.com/wp-content/uploads/2007/03/isync-smiley-e61.png' alt='iSync Smiley E61' class="alignright" />I have been on a quest for the &#8216;perfect&#8217; mobile phone for several years now, buying a new one every 6-9 months, but never being quite satisfied with any of them.  I think the quest started back in 2003 when I bought a Sony Ericsson T68i, my first BlueTooth equipped phone, and was able to synchronize it wirelessly with my Mac using iSync.  Every phone I bought since then could sync contact names and phone numbers with Mac OS X&#8217;s Address Book, and appointments with iCal but I have been forever plagued by a desire for a phone that can sync full addresses and contact notes with the same simplicity.  In other words, I wanted something that could finally allow me to ditch my Palm PDA in the garbage forever.<span id="more-70"></span></p>
<p>Back in November of last year, a friend of mine IM&#8217;d me and told me about this new smartphone he had purchased.  I told him what I was looking for in a phone, and he told me his phone would do all that, and synchronize contact photos to boot.  I was skeptical, because I was starting to give up hope that any device could live up to my high expectations, short of Apple making a phone of their own*.  But I was curious to see what benevolent creation my friend possessed.  That phone was a Nokia E61, and after a short demonstration and a bit of a test drive, I was convinced.  The next day I bought an unlocked Nokia E61 from a local reseller, and kissed my Motorola RAZR V3i and Palm TX goodbye.</p>
<p>The latest version of Mac OS X&#8217;s iSync at the time didn&#8217;t directly support the Nokia E61, but a free plugin available off the Internet quickly solved that problem.  I just had to drag the plugin into a specific location on my hard drive, and iSync suddenly recognized and worked with my phone, like they were designed for each other from the beginning.</p>
<p>So last night, the Mac OS X 10.4.9 update dropped via Software Update, and I quickly went about downloading and installing it.  The installation went without issue as expected and I was quickly back up and running with no muss or fuss.  But this morning, when I went to launch iSync to sync up my phones with my MacBook Pro, I was greeted with this message:</p>
<p><a href='http://artofgeek.com/wp-content/uploads/2007/03/isync-plugin-error.png' title='iSync Plugin Error'><img src='http://artofgeek.com/wp-content/uploads/2007/03/isync-plugin-error.png' class="aligncenter"  alt='iSync Plugin Error' /></a></p>
<p>My first thought was, &#8220;where the heck did I install that plugin?&#8221;  My second was, &#8220;oh no, I might not be able to sync my E61 until an updated plugin gets released!&#8221;  Well, looks like Apple&#8217;s iSync developers read my mind because they seem to have anticipated my concerns and dealt with them ahead of time.  I proceeded to click on the little arrow to the right of the plugin name in the dialog box, and was pleasantly surprised to see a Finder window pop open with the offending plugin highlighted. All I had to do was drag the file to my Desktop to disable it.  Then I relaunched iSync, re-added the Nokia E61 to the list and it was instantly recognized.  Seconds later, I was syncing it without issue.  I no longer need to use a third party plug-in because iSync now has built-in support for the Nokia E61.</p>
<p>Once again, Apple has exceeded my expectations by obsessing over the little details so I don&#8217;t have to waste my time.  After this positive experience, I couldn&#8217;t help but wonder what it would have been like had I gone through the same ordeal on Windows or Linux.  Having used and supported the former for years, and dabbled a bit with the latter, I think I&#8217;ve got a pretty good idea what that would have been like.</p>
<p><em>*Of course, we all know Apple has decided to make their own smartphone, the iPhone, which is slated for release in the US in June.  No firm release date has been given for Canada, although Rogers Wireless has apparently said they would be the exclusive carrier in the Great White North.  For the record, as much as I do like my Nokia E61, I do plan on replacing it with an iPhone as soon as they arrive north of the border.  A mobile phone that is as well thought out as Apple&#8217;s other products is, will be utter mobile nirvana.</em> </p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2007/03/14/reason-1687592-why-apple-rocks/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blog Sighting: Display The Date In The Mac OS X Menu Bar</title>
		<link>http://artofgeek.com/2007/02/20/blog-sighting-display-the-date-in-the-mac-os-x-menu-bar/</link>
		<comments>http://artofgeek.com/2007/02/20/blog-sighting-display-the-date-in-the-mac-os-x-menu-bar/#comments</comments>
		<pubDate>Tue, 20 Feb 2007 19:13:59 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2007/02/20/blog-sighting-display-the-date-in-the-mac-os-x-menu-bar/</guid>
		<description><![CDATA[<p>Any Mac user knows you can display the current time in the right side of the menu bar.  Most even know you can set it to also display the day of the week, and that clicking the clock will pull down a menu which displays today&#8217;s date.</p>
<p>If you&#8217;re like me, you often want to [...]]]></description>
			<content:encoded><![CDATA[<p><img src='http://artofgeek.com/wp-content/uploads/2007/02/menubardate.png' class="alignright"  alt='Menubar Clock' border="1" />Any Mac user knows you can display the current time in the right side of the menu bar.  Most even know you can set it to also display the day of the week, and that clicking the clock will pull down a menu which displays today&#8217;s date.</p>
<p>If you&#8217;re like me, you often want to know what today&#8217;s date is, and you find having to click the clock or bring up Dashboard to check the Calendar widget to be a tad inconvenient.  Sure you could leave iCal running, which will display today&#8217;s date in it&#8217;s Dock icon, and you can&#8217;t be sure you&#8217;ll leave it running all the time. <span id="more-63"></span></p>
<p>Today I came across a great hint on <a href="http://www.macinstruct.com/">Macinstruct</a> (by way of <a href="http://www.macdailynews.com/index.php/weblog/comments/how_to_display_the_date_in_mac_os_x_menu_bar/">MacDailyNews</a>), which explains how to get the date to display with the time in the menu bar, by customizing the time format in the International preference pane.  Click the following link to read the full step-by-step instructions.</p>
<p><a href="http://www.macinstruct.com/node/53">Macinstruct Tutorial: How to Display the Date in the Menu Bar</a></p>
<p>Macinstruct seems to be a new website, so they don&#8217;t have too much content up yet, but I&#8217;m going to keep my eye on it as it looks like it might be a great resource for useful Mac OS X hints in the future.  They have a few other hints and tutorials in their <a href="http://www.macinstruct.com/tutorials">How-Tos section</a>, so check it out!</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2007/02/20/blog-sighting-display-the-date-in-the-mac-os-x-menu-bar/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Safari 3.0: Leopard can&#8217;t come too soon!</title>
		<link>http://artofgeek.com/2006/10/05/safari-30-leopard-cant-come-too-soon/</link>
		<comments>http://artofgeek.com/2006/10/05/safari-30-leopard-cant-come-too-soon/#comments</comments>
		<pubDate>Thu, 05 Oct 2006 14:44:25 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[pre-release]]></category>
		<category><![CDATA[Safari]]></category>
		<category><![CDATA[sneak-peak]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2006/10/05/safari-30-leopard-cant-come-too-soon/</guid>
		<description><![CDATA[<p>If you&#8217;re like me, you spend a crazy amount of your waking hours in a web browser.  For me, that browser is Apple&#8217;s Safari, and despite some enticing features of other browsers for Mac OS X (there are quite a few), I stick with Safari because I love it&#8217;s uncluttered interface, excellent support for [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image56" src="http://artofgeek.com/wp-content/uploads/2006/10/safari_icon.png" class="alignleft" alt="Safari Icon" />If you&#8217;re like me, you spend a crazy amount of your waking hours in a web browser.  For me, that browser is Apple&#8217;s Safari, and despite some enticing features of other browsers for Mac OS X (there are quite a few), I stick with Safari because I love it&#8217;s uncluttered interface, excellent support for web standards and Apple look/feel that the other browsers just seem to be lacking.</p>
<p>Well, a few weeks back a video showed up on YouTube purporting to show off new drag-able tabs in the upcoming version of Safari in Mac OS X Leopard, but there was much reason to be skeptical, given all the fake Leopard screenshots and movies that made the rounds leading up to WWDC&#8217;06.  Well kids, it looks like drag-able tabs are coming to Safari 3.0, as well as a couple of other really cool features, according to <a href="http://www.musingsfrommars.org/2006/10/three-new-safari-30-tricks-are-producing-leopard-lust.html" target="_blank">an article on Musings From Mars blog</a>.  The article includes videos demonstrating the three features, so I highly recommend you check it out!<span id="more-57"></span></p>
<p>Drag-able tabs, much improved in-page search and resizable form text fields!  Very nice.  Now the one feature that I&#8217;d still like to see is true zooming in and out on a page.  Not simply changing text size, I want all page components to scale proportionately.  Opera is the only browser that I know of that does this.  Very handy for people with lots of screen real estate who wants to enlarge a page to make it more easily read from further back, or those with notebooks who want to be able to see more of a web page on the screen at once.  Give me that and site-specific settings, and I&#8217;ll be a really happy camper.  Of course, drag-able tabs, improved in-page find and resizable form text fields go a long way to helping me forget about the other stuff.</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2006/10/05/safari-30-leopard-cant-come-too-soon/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Useful Mac OS X Terminal Commands</title>
		<link>http://artofgeek.com/2006/09/22/useful-mac-os-x-terminal-commands/</link>
		<comments>http://artofgeek.com/2006/09/22/useful-mac-os-x-terminal-commands/#comments</comments>
		<pubDate>Fri, 22 Sep 2006 15:01:28 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[hints]]></category>
		<category><![CDATA[Terminal]]></category>
		<category><![CDATA[Terminal commands]]></category>
		<category><![CDATA[Unix]]></category>
		<category><![CDATA[Unix commands]]></category>

		<guid isPermaLink="false">http://artofgeek.com/2006/09/22/useful-mac-os-x-terminal-commands/</guid>
		<description><![CDATA[<p>Mac OS X is a very powerful OS.  One of it&#8217;s most amazing traits is how well it scales from being dead easy to use for novice users to allowing power users near unlimited capabilities.  The former comes from the excellent UI design and GUI tools that Apple has built, the latter from [...]]]></description>
			<content:encoded><![CDATA[<p><img id="image51" src="http://artofgeek.com/wp-content/uploads/2006/09/terminal-icon.jpg" class="alignright" alt="Terminal.app icon" />Mac OS X is a very powerful OS.  One of it&#8217;s most amazing traits is how well it scales from being dead easy to use for novice users to allowing power users near unlimited capabilities.  The former comes from the excellent UI design and GUI tools that Apple has built, the latter from Mac OS X&#8217;s FreeBSD Unix underpinnings.  While most users will never have to touch the Mac OS X Terminal application to go about their day to day computing, those who like to push the limits of what they can do will most likely spend at least a bit of time at the command prompt.  This article is for those aspiring command line gurus, like myself.</p>
<p>I&#8217;ve been using Mac OS X since the Public Beta was released in 2000.  Over the years, as I&#8217;ve delved further into learning about the operating system&#8217;s Unix underpinnings, I&#8217;ve always kept a Stickies note handy where I would paste terminal commands that I thought might come in handy at some point in the future.<span id="more-50"></span>  Every one of these commands required countless Google searches and time scouring the results to find solutions to the problem I had at the time.  It&#8217;s in the interest of saving others from spending too much time searching that I present my Stickies Mac OS X terminal command list.  I hope these help all of you as much as they have helped me.</p>
<h3>A warning for newbies:</h3>
<p>If you&#8217;re not familiar with the Mac OS X Terminal, it&#8217;s an application that allows a user to directly execute Unix commands by typing them into text based command prompt.  You can find the Terminal application in /Applications/Utilities on your hard disk.  <strong>Please be aware that the terminal and Unix commands are very unforgiving.  A simple typo or misplaced punctuation can mean the difference between your command working and you deleting or overwriting something important, especially when executing commands with administrator rights (via the <code>sudo</code> command).</strong>  If you aren&#8217;t sure what you&#8217;re doing, it&#8217;s better to take the time to research the answer than to simply guess and possibly mess something up you won&#8217;t know how to fix.  This article is not meant to be a tutorial on how to use the Terminal.  If have never used the terminal, may I suggest you visit O&#8217;Reilly&#8217;s MacDevCenter which has <a href="http://www.macdevcenter.com/pub/ct/51">some good tutorials</a> to get you started.</p>
<h3>The Commands</h3>
<p><strong><u>Disclaimer:</u></strong> Please note that I cannot be held responsible for anything bad you do to your computer while attempting to use any of these commands.  Use them at your own risk!</p>
<h4>Eject Stubborn CDs</h4>
<ul>
<code>disktool -e disk#</code></ul>
<p>I found myself one day with a CDROM stuck in my CDROM drive, but no way to eject it.  It didn&#8217;t show up in the Finder or on the Desktop, and hitting the &#8220;Eject&#8221; button on the keyboard did nothing.  I found and tried two or three other terminal and GUI based solutions from sites like Mac OS X Hints, but none of them worked except this little gem.  I haven&#8217;t had to use it for years and it may not work for every stuck CD, but this one saved me from having to reboot my computer to get a bad CD out.  Type <code>disktool</code> by itself to get help.</p>
<h4>Unmount Stubborn Network Volumes</h4>
<ul>
<code>umount -f /Volumes/volumename</code></ul>
<p>Like the stuck CD issue above, I have once or twice come across a network volume that I could not disconnect.  Substitute the stuck network share&#8217;s name in place of &#8220;volumename&#8221; in this command.    You can view the pdisk man page to get help by typing <code>man umount</code> at the prompt and hitting return.</p>
<h4>Delete partition table on iPod</h4>
<ul>
<code>pdisk</code></ul>
<p>This menu based terminal app saved a dead iPod.  I once made the mistake of formatting my iPod as an external FireWire drive as some non-standard format (maybe NTFS or Unix File System).  After doing that, I couldn&#8217;t re-initialize the iPod using the latest iPod updater.  While I don&#8217;t remember exactly the steps I used to get the iPod working again (it had to do with deleting the partition table), this tool is what did the trick for me.  You can view the pdisk man page to get help by typing <code>man pdisk</code> at the prompt and hitting return.</p>
<h4>Restart Bonjour service</h4>
<ul>
Stop Bonjour service:<br />
<code>sudo launchctl unload /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist</code></ul>
<ul>
Start Bonjour service:<br />
<code>sudo launchctl load /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist</code></ul>
<p>A while back I had a problem where one of my Macs would periodically fail to broadcast it&#8217;s Bonjour name for things like print and file serving.  Rebooting the computer would resolve the problem for a time, but it would always come back.  Rather than having to reboot my computer all the time, I searched for and found this handy set of commands for stopping and starting the Bonjour service which would do the trick until the problem occurred again.  Since this was a service, it was great not having to reboot.  I eventually solved the problem, which if memory serves was caused by my router, but I felt it was handy to hold onto this in case I ever needed to stop or restart the Bonjour service again.  These commands need to be run as administrator, which is why they are prefixed with the <code>sudo</code> command.  You will be prompted to enter your admin password to execute them.</p>
<h4>Restart Apple Remote Desktop (ARD) service</h4>
<ul>
<code>sudo /System/Library/CoreServices/RemoteManagement/ARDAgent.app/Contents/Resources/kickstart -restart -agent -menu</code><br />
<em>Note: This is a very long command that should all be typed or copied/pasted as one line.</em></ul>
<p>I had a problem with Apple Remote Desktop once where if I left a remote control session running for too long (say overnight), the remote display would no longer refresh automatically.  In my quest to avoid rebooting my server, I found this handy command that restarts the ARD service, which listens for and manages remote control requests.  This has to be run on the machine you want to control normally.  Since I was having problems remote controlling said computer, I would log in remotely via SSH by typing <code>ssh ip_address</code> and execute the command while logged in remotely.  Very handy indeed.  Being able to remotely login via SSH is no doubt one of the most useful reasons to learn the command line.  All terminal commands that are covered in this article can be executed remotely.  You can view the SSH man page to get help by typing <code>man ssh</code> at the prompt and hitting return.</p>
<h4>Reset Network Interface</h4>
<ul>
Shut down network interface:<br />
<code>sudo ifconfig en0 down</code></ul>
<ul>
Start up network interface:<br />
<code>sudo ifconfig en0 up</code></ul>
<ul>
<em>Note: Substitute en0 for appropriate network interface id (a.k.a. BSD device name).  You can use System Profiler (in the /Applications/Utilities folder) to find the BSD device name for the network connection you want to reset.</em></ul>
<p>I can&#8217;t remember why I needed to do this.  Might have been while I was troubleshooting that Bonjour service issue, or maybe I was trying to change the connection&#8217;s MAC hardware address.  Doesn&#8217;t really matter.  The point is you can use this combination of commands to restart a network interface.  These commands use the SUDO command to run using administrator rights and so you will be prompted for your admin password.</p>
<p>[Edit: Thanks to commenter "why o why" for pointing out, <em>"it should be noted that if you remotely shutdown the ethernet interface you are using, it will be difficult to get it back up remotely <img src='http://artofgeek.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  "</em>]</p>
<h4>Restart Apache Webserver</h4>
<ul>
<code>sudo apachectl graceful</code></ul>
<p>While restarting Mac OS X&#8217;s built-in Apache web server is as easy as toggling the &#8220;Personal Web Sharing&#8221; service&#8217;s status in the Sharing preference pane, you can&#8217;t do this easily remotely unless you can remote control the server in question.  Over a modem connection, this can be near impossible or at least very painful.  This command comes in handy if you&#8217;ve modified the Apache configuration file via a remote SSH connection as the changes only take effect after the Apache service is restarted.</p>
<h4>Restart MySQL Server</h4>
<ul>
Stop MySQL Server<br />
<code>sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop</code></ul>
<ul>
Start MySQL Server<br />
<code>sudo /Library/StartupItems/MySQLCOM/MySQLCOM start</code></ul>
<p>Not so long ago I installed the MySQL open source SQL database on my web server so I could run a phpBB based forum site.  MySQL also happens to be the database that runs the Art Of Geek blog.  These two commands are useful for stopping or restarting the MySQL service via SSH, or if like me you have ever broken your MySQL installation just enough for the MySQL preference pane to stop working.</p>
<h4>Change a file&#8217;s type code to make an AAC file an iTunes/iPod audio book</h4>
<ul>
<code>/Developer/Tools/SetFile -t 'm4b ' filename.m4b</code><br />
<em>Note: You must have the Mac OS X developer tools installed for this command to work!</em></ul>
<p>This gem of a command will set the type code of a file to &#8216;m4b &#8216; (there is a space after the &#8216;b&#8217;), which tells iTunes it&#8217;s an audio book.  This is required if you have ever ripped an audio book from CD, and want iTunes to see it as an audio book.  The file must be an AAC file, and you need to change the file extension to .m4b.  The truth is, this command can come in handy any time you need to implicitly set a file&#8217;s &#8216;type&#8217; or &#8216;creator&#8217; codes.  You can view the SetFile man page for help by typing <code>man SetFile</code> at the terminal prompt and hitting return.</p>
<p>That&#8217;s all the time (and commands) we have for today folks!  I&#8217;ll post more in a future article!</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2006/09/22/useful-mac-os-x-terminal-commands/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Apple enters phase 3 of it&#8217;s Mac ad strategy</title>
		<link>http://artofgeek.com/2006/09/07/apple-magazine-ad/</link>
		<comments>http://artofgeek.com/2006/09/07/apple-magazine-ad/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 16:00:27 +0000</pubDate>
		<dc:creator>madgunde</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[ads]]></category>
		<category><![CDATA[advertising]]></category>
		<category><![CDATA[marketing]]></category>

		<guid isPermaLink="false">http://www.artofgeek.com/?p=6</guid>
		<description><![CDATA[<p>Most Mac enthusiasts were relieved when Apple launched it&#8217;s Get a Mac TV campaign a few months back, but we weren&#8217;t holding our breath that it would last, given Apple&#8217;s past Mac advertising efforts.  The ads have been received quite well among the Mac faithful, and have certainly ruffled some feathers in the Windows [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://artofgeek.com/wp-content/uploads/2008/07/apple_mac_booklet.jpg" alt="Apple's 14-page magazine insert" title="Apple\&#039;s 14-page magazine insert" width="300" height="241" class="alignright size-full wp-image-295" />Most Mac enthusiasts were relieved when Apple launched it&#8217;s <a href="http://www.apple.com/getamac/ads/">Get a Mac TV campaign</a> a few months back, but we weren&#8217;t holding our breath that it would last, given Apple&#8217;s past Mac advertising efforts.  The ads have been received quite well among the Mac faithful, and have certainly ruffled some feathers in the Windows world.  Apple added more spots to the lineup, each one targeting one feature or benefit.  A great way to communicate the Mac&#8217;s benefits without information overload.  Let the masses learn about the Mac one feature or benefit at a time and eventually people will start to wake up.</p>
<p>The Get A Mac TV ads were actually phase 2 of their marketing campaign, phase 1 being the opening of Apple Stores across the United States and later expansion to other countries such as Japan, UK, and Canada.  Now numbering 160 stores and growing, this strategy is geared towards giving people an excellent consumer experience and the opportunity to test drive Apple&#8217;s products in a relaxed no-pressure environment.  The TV spots have played a strong role in boosting brand awareness and driving traffic into Apple Stores.<span id="more-6"></span></p>
<p>Well now it looks like Apple is following up on this successful strategy with some informative print advertising.  A 14-page brochure <a href="http://www.macdailynews.com/index.php/weblog/comments/apple_advertises_mac_os_x_in_major_print_campaign/">has been spotted</a> attached to a 3 full page ad in Entertainment Weekly magazine.  In it, Apple hilights the most popular iLife applications (iPhoto, iTunes, iMovie, GarageBand), as well as a couple of Mac OS X features (iChat, Dashboard) and Microsoft Office.  The brochure closes by showcasing the Macintosh consumer lineup (iMac, MacBook, MacBook Pro and Mac mini).  You can see <a href="http://www.flickr.com/photos/52066649@N00/sets/72157594272960440/">scanned images of the entire brochure</a> on Flickr.</p>
<p>This is an excellent follow-up to the TV ad campaign, because it is more product focused rather than branding/symbolic in nature, as the TV spots are.  By making it a brochure that can be removed from the magazine, potential customers can pull it out and save it for later or pass it on to a friend.  I think these brochures will get far more views than they would if they were simply full-page ads.  Assuming Apple runs these print ads in a wide range of popular publications, I think they&#8217;ll go far to finally bridge the gap between the branding/imagery of the TV spots and the hand-on experience of the Apple Store.  These brochures dangle a bit more of a carrot to pique the interest of consumers enough to get them to visit the apple website or stop in at their local Apple Store.</p>
<p>I am curious why Apple has chosen to avoid mentioning Windows compatibility in the 14-page brochure though.  While I don&#8217;t think Apple should be focusing too much of it&#8217;s marketing message on luring people to the Mac platform with the intention of using it for Windows, they have mentioned it in their <a href="http://movies.apple.com/movies/us/apple/getamac_ads2/touche_480x376.mov">TV spot titled Touché</a>.  Following that up with a page on their brochure with a screenshot of Windows XP running in virtual machine window with Mac OS X apps wouldn&#8217;t be such a bad idea, would it?</p>
<p>Critique aside, Apple&#8217;s Mac marketing strategy is now coming into focus and seems to be close to firing on all cylinders for the upcoming holiday season.  It will be interesting to see how much thunder Apple can steal from Microsoft Windows Vista before it launches.  There has never been such a great opportunity to steal market share as there is now, especially given that Windows Vista will drive most Windows customers to buy new hardware in order to keep up with the latest version.  Many of those customers may just decide to spend that money on a new Mac instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://artofgeek.com/2006/09/07/apple-magazine-ad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
<enclosure url="http://movies.apple.com/movies/us/apple/getamac_ads2/touche_480x376.mov" length="2475445" type="video/quicktime" />
		</item>
	</channel>
</rss>
