<?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; Mac OS X</title>
	<atom:link href="http://www.markwheadon.com/blog/tag/mac-os-x/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>Efficient backups: storing VMs in a sparse bundle</title>
		<link>http://www.markwheadon.com/blog/2009/06/backing-up-virtual-machine-using-sparse-bundle/</link>
		<comments>http://www.markwheadon.com/blog/2009/06/backing-up-virtual-machine-using-sparse-bundle/#comments</comments>
		<pubDate>Sat, 20 Jun 2009 10:44:44 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[XP]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[fusion]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[increamental]]></category>
		<category><![CDATA[large backups]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[mac os for windows users]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[parallels desktop]]></category>
		<category><![CDATA[slow backups]]></category>
		<category><![CDATA[sparse bundle]]></category>
		<category><![CDATA[time machine]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=834</guid>
		<description><![CDATA[Using a virtual machine -- perhaps VMware Fusion or Parallels Desktop -- can result in way-too-large backups. Here's one way to make those backups more manageable.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re using a product such as <a href="http://www.vmware.com/products/fusion/" target="_blank">VMware Fusion</a> or <a href="http://www.parallels.com/uk/" target="_blank">Parallels Desktop</a> to run another operating system on your Mac (perhaps <em>Windows</em> or <em>Linux</em>), then you may have noticed that your backups are now taking a long time. I documented one approach to solving this problem <a href="http://www.markwheadon.com/blog/2009/03/time-machine-and-vmware-fusion/" target="_blank">in an earlier article</a>. Now here&#8217;s a different approach, originally suggested by Chris Ryder (thanks Chris).</p>
<p>First, here&#8217;s a recap of the problem. It&#8217;s written in terms of <em>VMware Fusion</em> but should be equally valid for other VM engines such as <em>Parallels Desktop</em>. If you&#8217;ve already read the previous article then you might want to <a href="#meat">skip to the meat of this article</a>.</p>
<h2>Large backups</h2>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.6em; padding: 0px;">When you’ve been using <em>Fusion</em>’s virtual machine (in my case, to run <em>Windows</em>), you will find that <em>Time Machine</em>’s backup takes longer than expected — sometimes <em>much</em> longer.</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.6em; padding: 0px;">This is because <em>Fusion</em> stores its virtual machines’ disks as a bunch of large files. When you run your virtual machine using <em>Fusion</em> (or <em>Parallels Desktop</em>), the contents of the VM’s virtual disk changes, and even if you haven’t made many explicit changes to files, all sorts of small changes happen to the virtual disk’s contents.</p>
<h2 style="padding-top: 6px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; font-family: Georgia, 'Times New Roman', Times, serif; font-size: 17px; margin: 0px;">Incremental can still be too much</h2>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.6em; padding: 0px;"><em>Time Machine</em> performs incremental backups. That is, it copies only files that have changed since the last backup. Unfortunately those large files that <em>Fusion</em> uses to store the virtual disk’s contents? They’ve probably all changed, at least a little.</p>
<p style="margin-top: 10px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.6em; padding: 0px;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/backup.png"><img class="aligncenter size-large wp-image-537" title="backup" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/backup-540x242.png" alt="backup" width="540" height="242" /></a>So, instead of your incremental being a few megabytes and taking a few tens of seconds, it’s ten gigabytes, takes ages, and rapidly fills your backup disk. (Which causes its own problems: <a href="http://www.markwheadon.com/blog/2009/03/changing-time-machine-backup-schedule/" target="_blank">described here</a>.)</p>
<h3>One solution: back up the VM in another way</h3>
<p>One solution is to keep all your precious files in the Mac file-store, tell <em>Time Machine</em> to avoid backing up your virtual machine(s), and then back them up some other way. This results in the smallest backups and is useful if you don&#8217;t need sophisticated incremental backups of your virtual machines.</p>
<p>If this sounds like you, then I&#8217;ve shown how this can be achieved <a href="http://www.markwheadon.com/blog/2009/03/time-machine-and-vmware-fusion/" target="_blank">in an earlier article</a>.</p>
<h3 id="meat">An alternative solution: use a sparse bundle</h3>
<p>If you need proper incremental backups of your VMs, then one approach is to use a <a href="http://en.wikipedia.org/wiki/Sparse_image" target="_blank">sparse bundle</a>. This is a disk image which is stored  as a collection of small files (typically 8MB), so when <em>Time Machine</em> backs up the disk image, it only needs to copy the files that have changed.</p>
<p>This approach still isn&#8217;t perfect &#8212; when (for example) <em>Windows</em> does anything, it tends to scatter its writes over the disk, so incremental backups are still large, but they&#8217;re not <em>as</em> large as when <em>Time Machine</em> backs up the VM directly. Typically, your incrementals may be a few hundred megabytes with no VMs, a few gigabytes with a VM stored on a sparse bundle (for <em>Windows. Linux</em> may be better behaved), and a few tens of gigabytes with the same VM stored in the standard way.</p>
<h2>Here&#8217;s how</h2>
<p>First lets create a new disk image based on a sparse bundle and move our VM onto it. We&#8217;ll need to know how large to make the VM, so go to <em>Documents</em> and look in <em>Virtual Machines</em>. In there is one folder per virtual machine and you can find the VM&#8217;s size by clicking on the corresponding folder and hitting <em>cmd+I</em>:</p>
<p><a style="text-decoration: none;" href="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/VM-size.png"><img class="aligncenter size-large wp-image-844" title="VM size" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/VM-size-540x488.png" alt="VM size" width="540" height="488" /></a></p>
<h3>Create the disk image</h3>
<p>Now create the sparse bundle. The point-and-click way of doing this is to use <em>Disk Utility</em>, so start that up (I use <em>spotlight</em> to do so):</p>
<p><a style="text-decoration: none;" href="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Spotlight.png"><img class="aligncenter size-large wp-image-843" title="Spotlight" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Spotlight-540x226.png" alt="Spotlight" width="540" height="226" /></a></p>
<p>and click on <em>New Image</em>:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Picture-disk-utility.png"><img class="aligncenter size-large wp-image-839" title="Picture disk utility" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Picture-disk-utility-540x455.png" alt="Picture disk utility" width="540" height="455" /></a></p>
<p>Then fill in the details. I made my sparse bundle file-system for the <em>Windows XP</em> VM twice as large as the space it currently occupies, to allow for future expansion &#8212; so 50GB in my case (don&#8217;t worry: it only uses as much real disk as is needed to store the actual content). Here&#8217;s all the fields you need to change:</p>
<p><img class="aligncenter size-full wp-image-859" title="Bundle settings" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Bundle-settings.png" alt="Bundle settings" width="480" height="346" /></p>
<ul>
<li>The <em>Save As</em> is the filename for the sparse bundle whereas the <em>Volume Name</em> is the name the disk will have when mounted &#8212; I made them the same;</li>
<li>I saved my sparse bundle in <em>Documents-&gt;Virtual Machines;</em></li>
<li><em>Image Format</em> needs to be <em>sparse bundle disk image</em>, as that&#8217;s the whole point of the exercise.</li>
</ul>
<p>Now click on <em>Create</em>, and</p>
<p><img class="aligncenter size-full wp-image-848" title="Creating image" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Creating-image.png" alt="Creating image" width="463" height="228" /></p>
<p>a few seconds later you have a sparse bundle file-system image.</p>
<p><img class="size-full wp-image-846 alignleft" title="Mounted bundle" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Mounted-bundle.png" alt="Mounted bundle" width="68" height="82" />Now double-click that file (mine&#8217;s called <em>VM disk.sparsebundle</em>).</p>
<p><em>Mac OS</em> will mount it&#8230;</p>
<p>and the new file system will appear on the desktop.</p>
<p><strong>Move the VM into the new disk image</strong></p>
<p>Next, drag the folder(s) corresponding to the VM(s) you&#8217;d like backed up by <em>Time Machine</em> onto the new disk. Hold down <em>cmd</em> as you drag and drop, so that you move the folders (rather than copying them):</p>
<h3><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Move-onto-disk.png"><img class="aligncenter size-large wp-image-851" title="Move onto disk" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Move-onto-disk-540x333.png" alt="Move onto disk" width="540" height="333" /></a>Ensure the new disk image is mounted at login</h3>
<p>The <em>.sparsebundle</em> file needs to be mounted every time you log in, so that the file-store is available. To do that, go into <em>System Preferences-&gt;Accounts</em>, click on your username and then on <em>Login items</em>. Now drag your sparsebundle file into the list of login items:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Picture-alt.png"><img class="aligncenter size-large wp-image-841" title="Mount at login" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/Picture-alt-540x358.png" alt="Mount at login" width="540" height="358" /></a>and that&#8217;s it.</p>
<h3>Using your newly-homed VM(s)</h3>
<p>To use your new VM(s), just double-click on the corresponding folder &#8212; perhaps put an alias to it on your desktop or in the dock. When you next use it you&#8217;ll get a message:</p>
<p><img class="aligncenter size-full wp-image-845" title="I moved it" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/06/I-moved-it.png" alt="I moved it" width="548" height="281" /></p>
<p>Just click on <em>I moved it</em> and you&#8217;re sorted.</p>
<h2>Warning</h2>
<p>As with any method of backup which relies on backing up the virtual machine&#8217;s disk image using the host operating system, your backup may not be of any use if it&#8217;s made whilst the VM is running, so I suggest you make sure that <strong>Fusion/Parallels is </strong><em><strong>not running</strong></em><strong> when </strong><em><strong>Time Machine</strong></em><strong> is backing up your data</strong>. If you don&#8217;t always manage to do so then some of your backups may not be valid.</p>
<h3>Why?</h3>
<p>Because if you backup the files that <em>Fusion</em> (or <em>Parallels</em>) is using for a disk image, then you&#8217;re backing up what&#8217;s <em>on disk</em>, but not what&#8217;s in memory, in disk buffers, etc. So when you come to restore from backup, you may find that the disk image is corrupted. In the worst case scenario you won&#8217;t be able to start up the VM&#8217;s operating system successfully at all, or restore any files contained within the VM&#8217;s file-store.</p>
<p>By backing up when the VM isn&#8217;t running, you ensure that all data is on disk in a safe, consistent state.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/06/backing-up-virtual-machine-using-sparse-bundle/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Firefox by Microsoft?</title>
		<link>http://www.markwheadon.com/blog/2009/04/firefox-by-microsoft/</link>
		<comments>http://www.markwheadon.com/blog/2009/04/firefox-by-microsoft/#comments</comments>
		<pubDate>Sun, 26 Apr 2009 10:23:33 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[miscrosoft]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[thunderbird]]></category>
		<category><![CDATA[Windows vs Mac OS]]></category>
		<category><![CDATA[windows vs osx]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=762</guid>
		<description><![CDATA[The Open Source Community and Microsoft do have something in common after all.
No related posts.]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">I was trying to figure out why <em>firefox</em> doesn&#8217;t sit as well on <em>Mac OS</em> as I&#8217;d expect &#8212; why it feels slightly alien on there (as does <em>thunderbird</em>), and then it occurred to me: <em>firefox, thunderbird, </em>et. al. are, in some ways, more akin to <em>Windows</em> than <em>Mac OS.</em></p>
<p>I&#8217;ll explain (I think I&#8217;d better <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ).</p>
<p><em>Mac OS</em> is pretty complete out of the box. If you&#8217;d like to burn an ISO image onto CD, or browse that ISO image, or <em>ssh</em> to another host, or use <em>VNC</em>, or&#8230; then it&#8217;s all already there, well integrated and working from the start.</p>
<p><em>Windows</em> isn&#8217;t like that &#8212; the basic OS lacks a lot of functionality. If you&#8217;re going to burn an ISO, or browse one then you&#8217;ll need something like <em>Nero.</em> If you&#8217;d like to <em>ssh</em> to another machine then you download <em>putty</em>, if you&#8217;re going to connect to another machine using <em>VNC</em> then you&#8217;ll need that, and so on.</p>
<p>What you end up with is a whole host of extra software, all pretty much working, but all pulling in slightly different directions and all clearly written by different companies with different ideas about the user interface, and differing levels of integration with the whole.</p>
<p><em>Firefox</em> and friends are also a little like that. The basic functionality is in the application, but all the extra frills are plugins, written by many different people. Many of the plugins are a little quirky, and they all tend to pull in slightly different directions &#8212; sometimes interacting badly with each other. It works, but it&#8217;s not elegant.</p>
<p>Microsoft and the Open Source Community do this for very different reasons. Microsoft does it to spread their programming effort as thinly as possible (I guess they&#8217;d say <em>as efficiently as possible</em>), always concentrating on &#8216;value&#8217;, and never on quality. The Open Source Community do it out of necessity: not everyone can be hacking the central code all the time, it&#8217;s just not practical, and the plugin approach enables a huge number of people to work on additional functionality whilst keeping the project manageable.</p>
<p>The world would be a much poorer place without open source software, but there <em>is</em> a price to pay. The plugin approach that open source development engenders leads to some great software (I wouldn&#8217;t give up my <a href="http://www.slimdevices.com/pi_squeezebox.html" target="_blank">Squeezeboxes</a> for the world for example, and my <em>squeezeserver</em> is bristling with plugins), but those systems do sometimes feel like they&#8217;re all elbows and knees &#8212; rather awkward, and somewhat less than elegant.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/04/firefox-by-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keyboard driven dialog boxes and menus in Mac OS X</title>
		<link>http://www.markwheadon.com/blog/2009/04/keyboard-driven-dialog-boxes-osx/</link>
		<comments>http://www.markwheadon.com/blog/2009/04/keyboard-driven-dialog-boxes-osx/#comments</comments>
		<pubDate>Sun, 05 Apr 2009 10:25:58 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[accelerator]]></category>
		<category><![CDATA[dialog]]></category>
		<category><![CDATA[dialogue]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[keyboard]]></category>
		<category><![CDATA[keyboard accelerator]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tea]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=692</guid>
		<description><![CDATA[Want to use keyboard accelerators to drive dialogues etc. in Mac OS X? Here's how.
No related posts.]]></description>
			<content:encoded><![CDATA[<h2>The need</h2>
<p>Coming from the <em>Windows</em> to <em>Mac OS</em>, I missed being able to interact with dialog boxes etc. without having to use the mouse. There are times, especially with the MacBook, where clicking on an option is fiddly and error prone (in bed with a cup of tea for example <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) and it would be much better if I could use the keyboard&#8230;</p>
<p><img class="alignright size-full wp-image-694" title="without-full-keyboard-access" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/without-full-keyboard-access.png" alt="without-full-keyboard-access" width="434" height="188" />Here&#8217;s an example: here I am quitting from <em>Safari</em>. As is often the case, the dialog has reminded me that I don&#8217;t actually want to quit as I have multiple tabs, so I want to cancel the operation. Pressing <em>return</em> will close <em>Safari</em>, but how do I select <em>Cancel</em>? (Yes, I know you can press <em>esc</em> to cancel a dialog, but bear with me &#8212; the following solution works for all dialog selections and menus, not just <em>Cancel</em>).</p>
<h2>The solution</h2>
<p>The answer is to select <em>All controls</em> in <em>Full keyboard access</em> in <em>Settings-&gt;Keyboard &amp; Mouse-&gt;Keyboard Shortcuts:</em></p>
<p><em><a style="text-decoration: none;" href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/full-keyboard-access.png"><img class="aligncenter size-large wp-image-698" title="full-keyboard-access" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/full-keyboard-access-540x492.png" alt="full-keyboard-access" width="540" height="492" /></a></em></p>
<p>Or, much easier <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  , type <em>ctrl+F7</em>.</p>
<p><img class="alignright size-full wp-image-693" title="with-full-keyboard-access" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/with-full-keyboard-access.png" alt="with-full-keyboard-access" width="434" height="188" />Now when that dialog pops up it looks different. Notice that <em>Cancel</em> is surrounded by a blue glow &#8212; that&#8217;s the dialog option that currently has keyboard focus, and pressing the space bar will select it.</p>
<p>Now you can navigate the dialog box using the keyboard: <em>tab</em> and <em>shift-tab</em> change the currently selected option, <em>space</em> selects that option, and <em>return</em> will always select the solid-blue default option.</p>
<p>So in this example, <em>space</em> will cancel the dialog and <em>return</em> will do the default action (close <em>Safari</em> in this case).</p>
<p>So you can now navigate dialog boxes on a MacBook, in bed, armed with a cup of tea &#8212; and I hear tell this even works with coffee, at a pinch <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/04/keyboard-driven-dialog-boxes-osx/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Changing Time Machine&#8217;s backup schedule</title>
		<link>http://www.markwheadon.com/blog/2009/03/changing-time-machine-backup-schedule/</link>
		<comments>http://www.markwheadon.com/blog/2009/03/changing-time-machine-backup-schedule/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 11:55:33 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[how often]]></category>
		<category><![CDATA[interval]]></category>
		<category><![CDATA[os x]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[schedule]]></category>
		<category><![CDATA[seconds]]></category>
		<category><![CDATA[time machine]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=485</guid>
		<description><![CDATA[How to make Time Machine backup less (or more) frequently.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Apple&#8217;s <em>Time Machine</em> is a useful beast. Plug a disk into your Mac or buy a <a href="http://www.apple.com/timecapsule/" target="_blank">Time Capsule</a> and <em>Time Machine</em> does the rest &#8212; waking up once an hour and copying anything that&#8217;s changed onto your backup.</p>
<p>However, you may not <em>want</em> a backup every hour &#8212; the backup disk is a limited resource. If you&#8217;re regularly changing large files then <em>Time Machine</em> is regularly writing large amounts of data to the backup disk, and if that&#8217;s the case then you won&#8217;t have backups going back very far into the past.</p>
<p>So there will be lots of revisions of files that have changed recently, but nothing much from, say, a couple of months ago.</p>
<h2>So how do you change the interval?</h2>
<p>The standard <em>Time Machine</em> options don&#8217;t allow you to change the backup interval (the time between backups), but the preferences are there to be changed if you know how.</p>
<h2>From the command line</h2>
<p>If you don&#8217;t want to install any extra software then you can change <em>Time Machine</em>&#8216;s backup interval from a shell prompt. Start up a <em>Terminal</em> window and then type:</p>
<p><code>sudo defaults write /System/Library/LaunchDaemons/com.apple.backupd-auto StartInterval -int 18000</code></p>
<p>The 18000 above is the required backup interval in seconds &#8212; five hours in this example. And note that the above command is all on one line.</p>
<h2>Point-and-click</h2>
<p>There are several full Mac OS applications out there that allow you to manipulate <em>Time Machine</em>&#8216;s hidden preferences. The two most popular are <a href="http://www.klieme.com/TimeMachineScheduler.html" target="_blank">Time Machine Scheduler</a> and <a href="http://timesoftware.free.fr/timemachineeditor/" target="_blank">Time Machine Editor</a>. I haven&#8217;t used either (being someone who leans toward using the command line), but they look like they&#8217;ll do the job. However&#8230;</p>
<h2>My recommendation was, but is no more:</h2>
<p>I <em>did</em> suggest using the <em>Secrets prefPane</em> to change <em>Time Machine</em>&#8216;s backup interval (see below), but unfortunately that turned out to be bad advice. You can <em>set</em> the interval using the <em>Secrets prefPane</em> but it doesn&#8217;t stick. Quit the <em>System Preferences</em> application and start it up again and you&#8217;ll find the interval has gone back to the default of 3600 seconds.</p>
<p>So it seems <em>Secrets prefPane</em> doesn&#8217;t work for this after all! I&#8217;ll leave the rest of this article in place and perhaps someone will tell me when the problem&#8217;s fixed?</p>
<p>In the mean time, please use one of the options suggested above.</p>
<p>Here&#8217;s the rest of the original article, which at the moment <em>doesn&#8217;t work</em>:<span id="more-485"></span></p>
<p>I suggest you use the <a href="http://secrets.blacktree.com/" target="_blank">Secrets Prefpane</a> from blacktree. Just download it from the link near the top of the web page, unzip it and then install it by double-clicking on the resulting file (<em>Secrets.prefPane</em>).</p>
<p>Now, when you start up <em>System Preferences</em> you&#8217;ll find a new preferences pane:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/secrets.png"><img class="aligncenter size-large wp-image-514" title="secrets" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/secrets-540x462.png" alt="secrets" width="540" height="462" /></a></p>
<p>The <em>Secrets</em> preferences pane allows you to set the hidden <em>Time Machine</em> backup interval:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/secrets-prefpane-time-machine.png"><img class="aligncenter size-large wp-image-492" title="secrets-prefpane-time-machine" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/secrets-prefpane-time-machine-540x462.png" alt="secrets-prefpane-time-machine" width="540" height="462" /></a>but &#8212; and this is why I recommend the <em>Secrets prefPane</em> &#8211; it also allows you to change all sorts of other hidden preferences in Mac OS:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/secrets-prefpane.png"><img class="aligncenter size-large wp-image-491" title="secrets-prefpane" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/secrets-prefpane-540x462.png" alt="secrets-prefpane" width="540" height="462" /></a></p>
<p>which is great fun &#8212; and who knows, may even prove useful <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/03/changing-time-machine-backup-schedule/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Screen dump with delay in Mac OS X Leopard</title>
		<link>http://www.markwheadon.com/blog/2009/03/screen-dump-with-delay-mac-os-x-leopard/</link>
		<comments>http://www.markwheadon.com/blog/2009/03/screen-dump-with-delay-mac-os-x-leopard/#comments</comments>
		<pubDate>Sun, 01 Mar 2009 10:31:31 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[delay]]></category>
		<category><![CDATA[delayed]]></category>
		<category><![CDATA[dump screen]]></category>
		<category><![CDATA[grab]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[screen dump]]></category>
		<category><![CDATA[screen grab]]></category>
		<category><![CDATA[screendump]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=424</guid>
		<description><![CDATA[How do you dump the screen in Mac OS X when you can't reach for a hot-key-chord? The answer is grab.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Mac OS X Leopard has a tool to dump all or part of the screen built into the desktop, with handy (if difficult to remember) hot key-chords:</p>
<ul>
<li><em>cmd+shift+3</em> to dump the whole screen<em></em></li>
<li><em>cmd+shift+4</em> to select an area of the screen (then press <em>space</em> for a whole window).</li>
</ul>
<p>However, there are times when the above won&#8217;t do. Typically, it&#8217;s when you&#8217;re already pressing keys to get the image you need &#8212; the key chord <em>cmd+shift+4</em> isn&#8217;t going to work if you&#8217;re already holding down <em>alt</em> for example.</p>
<p>That&#8217;s where <em>grab</em> comes in &#8212; it&#8217;s what Mac users used before <em>cmd+shift+3/4</em> came along, it&#8217;s still there, and it can dump the screen after a ten second delay.</p>
<p>So, start up <em>grab. </em>I use <em>Spotlight</em> to do that, so I type <em>cmd+space</em> <em>grab:</em></p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/picture-1.png"><img class="aligncenter size-large wp-image-423" title="spotlight grab" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/picture-1-540x324.png" alt="spotlight grab" width="540" height="324" /></a></p>
<p>Then, to do the delayed screen dump, select <em>Timed Screen</em> from <em>grab</em>&#8216;s <em>Capture</em> menu:</p>
<p><img class="aligncenter size-full wp-image-428" title="grab timed screen dump" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/picture-2.png" alt="grab timed screen dump" width="451" height="192" /></p>
<p>You then have ten seconds to set up the screen as needed, and <em>grab</em> does the rest.</p>
<p>Then select <em>File-&gt;Save As&#8230;</em> to save the resulting <em>tiff</em> file, and you&#8217;re done.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/03/screen-dump-with-delay-mac-os-x-leopard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to back out of Safari 4 Public Beta</title>
		<link>http://www.markwheadon.com/blog/2009/02/how-to-back-out-of-safari-4beta/</link>
		<comments>http://www.markwheadon.com/blog/2009/02/how-to-back-out-of-safari-4beta/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 16:13:54 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[3]]></category>
		<category><![CDATA[4]]></category>
		<category><![CDATA[4beta]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[downgrade]]></category>
		<category><![CDATA[earlier]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[non-beta]]></category>
		<category><![CDATA[older]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[revert]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[uninstall]]></category>
		<category><![CDATA[version]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=467</guid>
		<description><![CDATA[Need to go back to Safari 3? Here's how.
No related posts.]]></description>
			<content:encoded><![CDATA[<p><span style="color: #551a8b; text-decoration: underline;"><img class="alignleft size-full wp-image-481" title="Safari" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/icon-small1.png" alt="Safari" width="160" height="189" /></span>So, you&#8217;ve tried the new Safari 4beta downloaded from <a href="http://www.apple.com/safari/" target="_blank">apple.com</a>, and now you need to revert to Safari 3?</p>
<p>That <em>was</em> case for me &#8212; as adding hyperlinks in <em>wordpress</em> caused the browser tab to hang (documented by <em>Geek Guides</em> <a href="http://www.geekguides.co.uk/139/safari-4-beta-bug-with-wordpress-27/" target="_blank">here</a>). However, if you&#8217;re thinking about returning to <em>Safari 3.2.1</em> because you can&#8217;t input hyperlinks in <em>wordpress</em>&#8216; visual editor then think again &#8212; you may not need to &#8212; as there is now <a href="http://www.markwheadon.com/blog/2009/03/safari-4-and-wordpress-now-works/" target="_blank">a work-around</a>.</p>
<p>You still need to downgrade?</p>
<h2>What doesn&#8217;t work</h2>
<p>What doesn&#8217;t work is downloading Safari 3 and installing that &#8212; the installer complains that you already have a newer version on the hard drive and so won&#8217;t continue.</p>
<h2>What works</h2>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/picture-12.png"><img class="alignright size-medium wp-image-469" title="Safari 4 install" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/picture-12-300x174.png" alt="Safari 4 install" width="300" height="174" /></a>Is to re-run the Safari 4beta installer (fetch it from <a href="http://www.apple.com/safari/" target="_blank">apple.com</a> if you don&#8217;t still have it) and run the <em>uninstall</em> from there.</p>
<p>One reboot later and you&#8217;re back running Safari 3.2.1.</p>
<p><small>Safari image by <a href="http://www.flickr.com/photos/timmargh/" target="_blank">timmargh</a>.</small></p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/02/how-to-back-out-of-safari-4beta/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>The easy &#8220;always open with&#8221; in Mac OS X</title>
		<link>http://www.markwheadon.com/blog/2009/02/easy-always-open-with-mac-os-x/</link>
		<comments>http://www.markwheadon.com/blog/2009/02/easy-always-open-with-mac-os-x/#comments</comments>
		<pubDate>Sun, 22 Feb 2009 17:26:11 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[alternative]]></category>
		<category><![CDATA[always open]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macintosh]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=406</guid>
		<description><![CDATA[Always open a file with a particular application in Mac OS X -- the easy way.
No related posts.]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-405" title="press alt" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/02a_1547-copy.png" alt="press alt" width="552" height="446" /></p>
<h2>First, the hard way</h2>
<p>When you wish to open a file using a particular application, it&#8217;s simple. Just right-click on the file (<em>ctrl+click</em>) and select <em>Open With</em>.</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/open-with.png"><img class="aligncenter size-large wp-image-403" title="open-with" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/open-with-540x347.png" alt="open-with" width="540" height="347" /></a>However, if you&#8217;d like that file to <em>always</em> open with the selected application then things are less elegant: <em>right click</em>, <em>Open With, Other&#8230;</em>, select the application and tick <em>Always Open With</em>. Fiddly.</p>
<h2>The easy way</h2>
<p>Fortunately there is an easier way.</p>
<p>Right click on the file as before, but this time depress the <em>alt</em> key. Hey-presto, the <em>Open With</em> option changes into <em><strong>Always</strong> Open With</em>.</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/always-open-with.png"><img class="aligncenter size-large wp-image-402" title="always-open-with" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/02/always-open-with-540x350.png" alt="always-open-with" width="540" height="350" /></a>How&#8217;s that for handy?</p>
<h2>Changing the default application for all files of a kind</h2>
<p>The above method sets the default application <em>for this file only</em>. If you&#8217;d like to change the default application for <em>all</em> files of a type (a <em>kind</em> in Mac OS speak) then <a href="http://www.markwheadon.com/blog/changing-default-application-for-all-files-of-a-kind-mac-os-x/">here&#8217;s how to do it</a>.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/02/easy-always-open-with-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
		<item>
		<title>Changing the default application for all files of a kind in Mac OS X</title>
		<link>http://www.markwheadon.com/blog/2009/02/changing-default-application-for-all-files-of-a-kind-mac-os-x/</link>
		<comments>http://www.markwheadon.com/blog/2009/02/changing-default-application-for-all-files-of-a-kind-mac-os-x/#comments</comments>
		<pubDate>Sun, 08 Feb 2009 19:10:27 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[all files]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[default application]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[mac os]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[set]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=141</guid>
		<description><![CDATA[How to change the default application for al files of a given type in Mac OS X.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>Under Mac OS X, you can easily open a file using something other than the default application by right clicking on the file (<em>cmd+click)</em> and selecting <em>Open With</em>. So, for example, to open a particular text file with <em>MacVim</em> I can do</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/open-with-for-1-file-copy.png"><img class="aligncenter size-medium wp-image-145" title="open-with-for-1-file" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/open-with-for-1-file-copy-300x159.png" alt="open-with-for-1-file" width="300" height="159" /></a></p>
<p>And indeed, if I use the <em>Other&#8230;</em> option at the bottom of the above menu, I can change the default application for that file. (Although in practice I use <a href="http://www.markwheadon.com/blog/easy-always-open-mac-os-x/" target="_blank">an easier way</a>.)</p>
<p>However, that&#8217;s only the default application for <em>that one file</em> changed &#8212; all other files of the same type will continue to open with the original default application.</p>
<p>To set the default application for <em>all</em> files of that kind (in this example, <em>.txt</em> files), you need to open the <em>Get Info</em> dialogue by right-clicking on the file (or typing <em>alt+cmd I</em>):</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/get-file-info-copy.png"><img class="size-medium wp-image-144 alignleft" title="get-file-info" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/get-file-info-copy-300x214.png" alt="get-file-info" width="300" height="214" /></a><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/open-with-for-all-files.png"><img class="size-medium wp-image-148 aligncenter" title="open-with-for-all-files" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/open-with-for-all-files-150x300.png" alt="open-with-for-all-files" width="150" height="300" /></a>Now set the application in the file&#8217;s info window and click on the <em>Change All&#8230;</em> button, confirm by clicking <em>Continue</em> and you&#8217;re done. From now on, all files of this kind will be opened with your chosen application.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/02/changing-default-application-for-all-files-of-a-kind-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Hibernating your MacBook, a zero-software approach</title>
		<link>http://www.markwheadon.com/blog/2009/01/hibernate-macbook/</link>
		<comments>http://www.markwheadon.com/blog/2009/01/hibernate-macbook/#comments</comments>
		<pubDate>Sat, 31 Jan 2009 21:08:54 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[battery drain]]></category>
		<category><![CDATA[deep sleep]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[hibernation]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[macbook pro]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[sleep]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=175</guid>
		<description><![CDATA[The quick, physical way to hibernate your MacBook.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>When you close your MacBook&#8217;s lid, the machine sleeps. But you&#8217;ve probably noticed that it still uses power in its sleep &#8212; about 20% of the battery per day, so after about five days it&#8217;s flat.</p>
<p>What you may not know is that you can put the MacBook into a much deeper state, where the machine uses almost no power at all. A full battery will then last for months rather than days &#8212; useful if you know you&#8217;re not going to use your MacBook for a while.</p>
<p>Now, you could install freeware to put your MacBook into this deep-sleep state (often call <em>hibernation</em>) and indeed I have, and it&#8217;s good: <a href="http://deepsleep.free.fr/" target="_blank">Deep Sleep</a>. But for the hell of it, here&#8217;s a physical way of doing the same, with no additional software required.</p>
<h2>Hibernating your MacBook</h2>
<h3>Check it&#8217;s safe to do so</h3>
<p>First, close your MacBook&#8217;s lid. The illuminated Apple logo on the lid will extinguish almost immediately, but we&#8217;re not looking at that.</p>
<p>Look at the light on the front:</p>
<p><img class="aligncenter size-full wp-image-170" title="MacBook Pro front lit" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/02a_1486.png" alt="MacBook Pro front lit" width="562" height="291" />It will eventually start pulsing (breathing <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  in its sleep). If that happens almost immediately then sorry, but your MacBook is probably too old for this to work (it hasn&#8217;t copied its state to disk), so please don&#8217;t carry out the rest of these instructions &#8212; you may cause damage.</p>
<p>If, on the other hand, it takes tens of seconds before the light goes from solid-on to pulsing (typically twenty seconds or so) then your MacBook is recent enough for this to work, and you&#8217;re ready for the next step.</p>
<h3>Let the fun commence</h3>
<p>If the power light is now happily pulsing and it took a while to get to that state (whilst the MacBook copied its state to disk) then its time to interrupt the power.</p>
<p>Flip your MacBook over and press the battery-bay latch:</p>
<p><img class="aligncenter size-full wp-image-174" title="MacBook Pro front unlatch" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/02a_1479.png" alt="MacBook Pro front unlatch" width="562" height="384" />Then remove the cover:</p>
<p><img class="aligncenter size-full wp-image-171" title="MacBook Pro front cover off" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/02a_1485.png" alt="MacBook Pro front cover off" width="562" height="337" />and remove the battery, just for a couple of seconds:</p>
<p><img class="aligncenter size-full wp-image-173" title="MacBook Pro front battery out" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/02a_1483.png" alt="MacBook Pro front battery out" width="562" height="451" />Then put it all back together and hey-presto, the power light is off and its consuming almost no power at all.</p>
<p><img class="aligncenter size-full wp-image-172" title="MacBook Pro front not lit" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/02a_1486-nolight.png" alt="MacBook Pro front not lit" width="562" height="291" />When you next wish to use your MacBook, just open it up and press the power button. (Because it&#8217;s <em>off</em> off &#8211; <em>really</em> off &#8212; you do need to press the power button; opening the lid or pressing a key isn&#8217;t enough.) Mac OS X will begin to boot and then show a progress marker while the system&#8217;s state is restored from disk:</p>
<p><img class="aligncenter size-full wp-image-214" title="MacBook Pro unhibernate" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/01/02a_1492-scaled-final.png" alt="MacBook Pro unhibernate" width="562" height="451" /></p>
<p>After a short while (about 35 seconds on my late-2008 MacBook Pro with 4GB of RAM), your MacBook will spring back to life in the same state as it was when you closed the lid, and with the same battery life!</p>
<h2>How&#8217;s this work?</h2>
<p>Modern Macs do what Windows Vista (for example) calls a <em>Hybrid Sleep</em> whereby it saves its state to disk as well as maintaining the same state using battery power. When you close the lid, the illuminated Apple logo goes off immediately so that you know it&#8217;s going to sleep, but actually the MacBook spends the next 20 seconds or so copying its state (mostly the contents of its RAM) on to disk. This is so that, should the battery go flat (and it will do within days, even if it&#8217;s full to start with), you won&#8217;t lose any data &#8212; you just have to wait longer for the machine to wake up once power is restored.</p>
<p>The MacBook then enters a light sleep (usually called <em>standby</em>) whereby the MacBook&#8217;s state is preserved by maintaining power to the machine&#8217;s RAM, and it&#8217;s that power feed that drains the battery.</p>
<p>When you pull the power for a moment, the machine no longer has any live state to preserve and so is essentially <em>off</em> and pulling no power. When you eventually switch it on again, Mac OS X restores its state from the hard drive and everything&#8217;s back as it was. It just takes a little longer, that&#8217;s all.</p>
<h2>Caveats</h2>
<p>Here are some things you need to consider before indulging in any of above:</p>
<ul>
<li>You can&#8217;t do this on older MacBooks (the clue is in how long the power light takes to reach the sleeping state (pulsing on and off) &#8212; if it&#8217;s near instant then <em>hybrid sleep</em> isn&#8217;t happening and this isn&#8217;t going to work).</li>
<li>You <em>must</em> wait until the power light is pulsing before pulling the battery;</li>
<li>I suggest you don&#8217;t do this over-frequently (for example, every day is probably a bad idea) as the battery contacts may not be designed for such a high level of wear-and-tear. (Are there people who remove their MacBook&#8217;s battery every day for years on end? I wouldn&#8217;t be at all surprised.)</li>
<li>Don&#8217;t plug in fresh USB devices whilst the Mac is asleep and then wake it from hibernation, as you may find <a href="http://www.macworld.com/article/140463/2009/05/safe_sleep.html" target="_blank">your Mac is less than happy about it</a>.</li>
</ul>
<h2>The software approach</h2>
<p>If you don&#8217;t like the thought of removing your battery then not to worry &#8212; there are several software solutions that will also do the job, and there&#8217;s a good guide to them <a href="http://www.geekguides.co.uk/104/how-to-enable-hibernate-mode-on-a-mac/" target="_blank">over at Geek Guides</a>.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/01/hibernate-macbook/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

