<?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; login window</title>
	<atom:link href="http://artofgeek.com/tag/login-window/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, 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>111</slash:comments>
		</item>
	</channel>
</rss>
