<?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>Wheadon&#039;s Words; Mark&#039;s Mutterings &#187; windows-L</title>
	<atom:link href="http://www.markwheadon.com/blog/tag/windows-l/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.markwheadon.com/blog</link>
	<description>Welcome to Mark Wheadon&#039;s blog; I hope you find it useful. Feel free to comment on anything you read here.</description>
	<lastBuildDate>Thu, 10 Nov 2011 15:25:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Locking your session in Mac OS X</title>
		<link>http://www.markwheadon.com/blog/2009/02/lock-screen-mac-os-x/</link>
		<comments>http://www.markwheadon.com/blog/2009/02/lock-screen-mac-os-x/#comments</comments>
		<pubDate>Sun, 15 Feb 2009 15:58:58 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[lock]]></category>
		<category><![CDATA[lock session]]></category>
		<category><![CDATA[login]]></category>
		<category><![CDATA[mac os for windows users]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[windows-L]]></category>
		<category><![CDATA[XP]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=330</guid>
		<description><![CDATA[Windows-L for the Mac.
No related posts.]]></description>
			<content:encoded><![CDATA[<h2>The need</h2>
<p>Coming to Mac OS X from Windows (XP and Vista), I missed being able to lock my session using a simple key-chord. I work in a shared office so it&#8217;s sensible to lock the session every time I walk away &#8212; something I do regularly.</p>
<p style="text-align: left;">In Windows, you simply press <em>Windows-L</em> and that&#8217;s it &#8212; time to go. Mac OS X Leopard doesn&#8217;t provide anything as succinct as standard, but there are ways.</p>
<p>Firstly, there are a couple of solutions that are accepted as standard ways of doing this &#8212; but unfortunately both have problems. I&#8217;ll cover these methods first in case they work for you, and then I&#8217;ll cover a solution that really is as quick and easy to use as the Windows&#8217; <em>lock screen</em> key chord.</p>
<h2>Partial solution number one: use a hot corner</h2>
<p>A hot corner allows you to drop into the screen saver by moving the cursor to a chosen corner of the screen. To do this, first go to <em>System Preferences-&gt;Desktop &amp; Screen Saver</em> and click on <em>Hot Corners&#8230;</em> Then select <em>Start Screen Saver</em> for one of the corners:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/hot-corner-screensaver-copy.png"><img class="aligncenter size-large wp-image-333" title="hot-corner-screensaver" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/hot-corner-screensaver-copy-540x509.png" alt="hot-corner-screensaver" width="540" height="509" /></a>Now, when you place the cursor in that corner (I chose the bottom-left), the screen saver will start.</p>
<p>Of course, this doesn&#8217;t help unless your system is configured to require a password when woken from the screen saver. You can set that in <em>System Preferences-&gt;Security</em>:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/require-password-copy.png"><img class="aligncenter size-large wp-image-328" title="require-password" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/require-password-copy-540x415.png" alt="require-password" width="540" height="415" /></a></p>
<p>And that&#8217;s it. Now, before you walk away from your Mac, just drop the cursor into the bottom-left corner of the screen.</p>
<p>However, there is a problem with this method &#8212; at least for me &#8212; as I don&#8217;t want the system to prompt for a password on wakeup. I end up typing my password far too often &#8212; every time I&#8217;ve left the machine alone long enough for the screen saver to start.</p>
<p>What I want is the Mac to remain unlocked until I explicitly lock it. So, on to solution two&#8230;</p>
<h2>Partial solution number two: select a pull-down from the menu bar</h2>
<p>Here&#8217;s another way of locking the machine, and this one doesn&#8217;t require that you tick <em>Require password to wake up this computer from sleep or screen saver</em>.</p>
<p>The trick is to enable <em>fast user switching</em> in <em>System Preferences-&gt;Accounts-&gt;Login Options</em>:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/enable-fast-user-switching-copy.png"><img class="aligncenter size-large wp-image-323" title="enable-fast-user-switching" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/enable-fast-user-switching-copy-540x441.png" alt="enable-fast-user-switching" width="540" height="441" /></a></p>
<p style="text-align: left;">which will then place your user name in the menu bar at the top of the screen.</p>
<p style="text-align: left;">When you want to lock the session, just click on your user name:<img class="size-full wp-image-321 aligncenter" title="login-window-from-user" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/login-window-from-user.png" alt="login-window-from-user" width="385" height="219" />and select <em>Login Window&#8230;</em><em> </em>and you&#8217;re done. (You can also achieve a similar result by ticking <em>Show Status in Menu Bar</em><em> </em>in<em> </em><em>Keychain</em>&#8216;s preferences if you prefer.)</p>
<p style="text-align: left;">What&#8217;s my beef with this solution? The problem is that it&#8217;s still rather slow and fiddly &#8212; and it&#8217;s something I do regularly, so I want to just press and go, just as I did with Windows.</p>
<h2>A full solution</h2>
<p>To implement a full <em>Windows-L</em> style solution we need <a href="http://getdockables.com/" target="_blank">Dockables</a> to provide us with an application that locks the Mac OS session, and <a href="http://www.blacktree.com/" target="_blank">Quicksilver</a> to launch that application.</p>
<p>First, download and install <a href="http://cocoaapp.com/products/dockables/" target="_blank">Dockables from cocoaapp.com</a>. This gives you a bunch of useful applications in a sub-folder of your <em>Applications</em> folder:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/dockables.png"><img class="aligncenter size-large wp-image-322" title="dockables" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/dockables-540x457.png" alt="dockables" width="540" height="457" /></a></p>
<p>and the one we&#8217;re interested in is <em>Lock Screen</em>.</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/exit-quicksilver-window-copy.png"><img class="alignright size-medium wp-image-324" title="exit-quicksilver-window" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/exit-quicksilver-window-copy-300x148.png" alt="exit-quicksilver-window" width="300" height="148" /></a>Next, download and install <a href="http://www.blacktree.com/" target="_blank">Blacktree&#8217;s Quicksilver</a> and run it to configure a new <em>Lock Screen</em> key-chord. Quicksilver will present you with its main window &#8212; just quit that and instead move to Quicksilver&#8217;s menu bar at the top of the screen and select <em>Triggers&#8230;</em> from the drop-down menu.</p>
<p><img class="aligncenter size-full wp-image-320" title="quicksilver-triggers" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/quicksilver-triggers.png" alt="quicksilver-triggers" width="347" height="447" /></p>
<p>In the <em>Triggers</em> window that appears, click on the <em>+</em> at the bottom and select <em>HotKey.</em></p>
<p style="text-align: left; "><em></em><img class="size-full wp-image-316 aligncenter" title="add-hotkey" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/add-hotkey.png" alt="add-hotkey" width="266" height="236" /></p>
<p style="text-align: left; ">A new window will appear. Click on the first field and start to type <em>lock screen</em>. Quicksilver will rapidly find the <em>Lock Screen</em> dockable you installed earlier. Click <em>Save</em>.</p>
<p style="text-align: left; "><img class="aligncenter size-full wp-image-329" title="type-lock-screen" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/type-lock-screen-copy.png" alt="type-lock-screen" width="218" height="358" /></p>
<h3>Nearly there</h3>
<p style="text-align: left; ">You now have a new command, but with no trigger. So click on the <em>None</em> in your new command,</p>
<p><img class="aligncenter size-large wp-image-319" title="click-on-none" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/click-on-none-copy-540x236.png" alt="click-on-none" width="540" height="236" />click in the input field labelled <em>Hot Key:</em> and press the key combination you wish to use to lock your session from now on. (I chose <em>alt+cmd+L</em> because the obvious choice &#8211; <em>cmd+L</em> &#8212; is already used by <em>Thunderbird</em> &#8212; my email client.)</p>
<p style="text-align: center;"><a style="text-decoration: none;" href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/press-hotkeys-copy.png"><img class="size-large wp-image-318 aligncenter" title="press-hotkeys-copy" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/press-hotkeys-copy-540x338.png" alt="press-hotkeys-copy" width="540" height="338" /></a></p>
<p style="text-align: left;">I suggest you <em>don&#8217;t</em> use the <em>ctrl</em> key as part of your hot key-chord. If you do then <em>quicksilver</em> presents this dialog every time you type the chord:</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/press-run.png"><img class="aligncenter size-large wp-image-757" title="press-run" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/press-run-540x220.png" alt="press-run" width="540" height="220" /></a></p>
<p style="text-align: left;">Now, having typed a key-chord (which doesn&#8217;t include <em>ctrl</em>), exit the <em>Triggers</em> window and you have yourself a new Lock Screen hot key-chord: <em>alt+cmd+L</em> in the example above.</p>
<h3>And finally, tweak some settings</h3>
<p>You need quicksilver to run at all times, so bring up Quicksilver&#8217;s preferences (available from the <em>Quicksilver</em> menu in the menu bar at the top of the screen):</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/quicksilver-start-at-login-copy.png"><img class="aligncenter size-large wp-image-327" title="quicksilver-start-at-login" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/quicksilver-start-at-login-copy-540x479.png" alt="quicksilver-start-at-login" width="540" height="479" /></a>and tick <em>Start at login</em>. You may also want to tidy up the dock a little &#8212; as quicksilver is running all the time I&#8217;d rather it didn&#8217;t appear in the dock and instead appeared in the menu bar:</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/menu-bar-copy2.png"><img class="aligncenter size-large wp-image-381" title="menu-bar-with-quicksilver" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/menu-bar-copy2-540x99.png" alt="alt+cmd+L" width="540" height="99" /></a>so I untick <em>Show icon in dock</em> (and I also tick the option <em>check for updates</em>):</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/quicksilver-full-prefs.png"><img class="aligncenter size-large wp-image-326" title="quicksilver-full-prefs" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/quicksilver-full-prefs-540x479.png" alt="quicksilver-full-prefs" width="540" height="479" /></a>And that&#8217;s everything sorted. Any time you need your display locked, just type <em>alt+cmd+L&#8230;</em></p>
<p><img class="alignleft size-full wp-image-389" title="alt+cmd+L" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/p10006511.png" alt="cmd+alt+L" width="541" height="388" /></p>
<p style="text-align: left;"><em><span style="font-style: normal;">and walk away&#8230;</span></em></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/02/lock-screen-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>37</slash:comments>
		</item>
	</channel>
</rss>

