<?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</title>
	<atom:link href="http://artofgeek.com/tag/mac/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>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>
	</channel>
</rss>
