<?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; How To</title>
	<atom:link href="http://www.markwheadon.com/blog/category/how-to/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>Want to stop Vista prompting for a password on wakeup?</title>
		<link>http://www.markwheadon.com/blog/2009/05/stop-vista-prompting-password-wakeup/</link>
		<comments>http://www.markwheadon.com/blog/2009/05/stop-vista-prompting-password-wakeup/#comments</comments>
		<pubDate>Sat, 16 May 2009 09:08:34 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Vista]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[hibernate]]></category>
		<category><![CDATA[hibernation]]></category>
		<category><![CDATA[hybrid sleep]]></category>
		<category><![CDATA[password]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[prompt for password]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[switch off]]></category>
		<category><![CDATA[wake]]></category>
		<category><![CDATA[wake up]]></category>
		<category><![CDATA[wakeup]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=802</guid>
		<description><![CDATA[Windows Vista prompts for you password every time it comes out of sleep / hibernation. If you'd rather it didn't then here's how to disable that behaviour.
No related posts.]]></description>
			<content:encoded><![CDATA[<p>If you have a <em>Windows Vista</em> machine in a secure (enough <img src='http://www.markwheadon.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  ) environment then you may not want it to prompt for a password every time it comes out of standby. With previous versions of <em>Windows</em> it was pretty obvious how to choose this behaviour (in <em>XP</em> it&#8217;s under the <em>Advanced</em> tab of the current power scheme in <em>Power options</em> for example &#8212; in fact, it&#8217;s still there in <em>Vista</em> but it&#8217;s buried deep).</p>
<p>Under <em>Vista</em> it&#8217;s far less obvious, but the setting <em>is</em> there if you know where to look for it.</p>
<p style="text-align: left;">First, go to <em>Power options</em> in the <em>control panel</em>. I find it easiest to do this kind of thing by bringing up the <em>Start menu</em> and then typing (in this case) <em>power,</em> and then selecting <em>Power Options</em>:</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/start-menu.png"><img class="aligncenter size-large wp-image-803" title="start-menu" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/start-menu-392x540.png" alt="start-menu" width="392" height="540" /></a>Next, in the <em>Power Options</em> window, don&#8217;t click on <em>change plan settings</em> as it&#8217;s somewhat buried in there nowadays. Instead, select the <em>Require a password on wakeup</em> link that&#8217;s lurking in the top-left of the window:</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/power-options.png"><img class="aligncenter size-large wp-image-806" title="power-options" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/power-options-540x394.png" alt="power-options" width="540" height="394" /></a>You will then be presented with a window which looks useful, but in fact the <em>Don&#8217;t require a password</em> option you&#8217;ve been looking for is greyed out &#8212; you can&#8217;t select it! This is because you first need to click on <em>Change settings that are currently unavailable</em>:</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/power-options-system-settings.png"><img class="aligncenter size-large wp-image-807" title="power-options-system-settings" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/power-options-system-settings-540x452.png" alt="power-options-system-settings" width="540" height="452" /></a>Then confirm you&#8217;re happy for the change to be made:</p>
<p style="text-align: left;">
<p style="text-align: left;"><a style="text-decoration: none;" href="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/permission-to-continue.png"><img class="aligncenter size-large wp-image-808" title="permission-to-continue" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/permission-to-continue-540x391.png" alt="permission-to-continue" width="540" height="391" /></a></p>
<p style="text-align: left;">And finally you&#8217;re in a position to select the option:</p>
<p style="text-align: left;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/dont-require-password.png"><img class="aligncenter size-large wp-image-809" title="dont-require-password" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/05/dont-require-password-540x452.png" alt="dont-require-password" width="540" height="452" /></a>Then click on <em>Save changes</em> and you&#8217;re done. (I know, it shouldn&#8217;t <em>be</em> that hard, but c&#8217;est la vie with <em>Vista</em> at times.)</p>
<p style="text-align: left;">It&#8217;s worth repeating that you should only set this option if you&#8217;re happy that someone with no knowledge of your login details can walk up to your suspended <em>Vista</em> session, wake it up, and start <em>doing stuff as you</em>.</p>
<p style="text-align: left;">
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/05/stop-vista-prompting-password-wakeup/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>Time Machine and VMware Fusion</title>
		<link>http://www.markwheadon.com/blog/2009/03/time-machine-and-vmware-fusion/</link>
		<comments>http://www.markwheadon.com/blog/2009/03/time-machine-and-vmware-fusion/#comments</comments>
		<pubDate>Sun, 22 Mar 2009 11:28:29 +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[file-store]]></category>
		<category><![CDATA[filestore]]></category>
		<category><![CDATA[filling disk]]></category>
		<category><![CDATA[fusion]]></category>
		<category><![CDATA[large]]></category>
		<category><![CDATA[long]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[paralells desktop]]></category>
		<category><![CDATA[parallels desktop]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[slow]]></category>
		<category><![CDATA[time machine]]></category>
		<category><![CDATA[too large]]></category>
		<category><![CDATA[too slow]]></category>
		<category><![CDATA[virtual]]></category>
		<category><![CDATA[vmware]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=525</guid>
		<description><![CDATA[VMWare's Fusion can lead to slow, large Time machine backups.
No related posts.]]></description>
			<content:encoded><![CDATA[<p><em>[This almost certainly applies to most other virtual PC packages as well, so if you're using <a href="http://www.parallels.com/uk/" target="_blank">Parallels Desktop</a></em><em> for example, read on... --Mark]</em></p>
<p>Are you using the excellent <a href="http://www.vmware.com/products/fusion/" target="_blank"><em>VMware Fusion</em></a> and backing up your Mac with <em>Time Machine</em>? If so, you may notice a problem.</p>
<h2>Large backups</h2>
<p>When you&#8217;ve been using <em>Fusion</em>&#8216;s virtual machine (in my case, to run <em>Windows</em>), you will find that <em>Time Machine</em>&#8216;s next backup takes longer than expected &#8212; sometimes <em>much</em> longer.</p>
<p>This is because <em>Fusion</em> stores its virtual machines&#8217; disks as a bunch of large files. When you run your virtual machine using <em>Fusion</em>, the contents of the VM&#8217;s virtual disk changes, and even if you haven&#8217;t made many explicit changes to files, all sorts of small changes happen to the virtual disk&#8217;s contents.</p>
<h2>Incremental can still be too much</h2>
<p><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&#8217;s contents? They&#8217;ve probably all changed, at least a little.</p>
<p><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&#8217;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>
<h2><span style="color: #000000;">An alternative fix</span></h2>
<p><span style="color: #000000;">If you need incremental backups of your VMs, or your VMs are running an operating system that doesn&#8217;t have support for accessing the</span><em><span style="color: #000000;">Mac OS</span></em><span style="color: #000000;"> file-store (</span><em><span style="color: #000000;">Linux</span></em><span style="color: #000000;">, for example), then you&#8217;ll likely find </span><a href="http://www.markwheadon.com/blog/2009/06/backing-up-virtual-machine-using-sparse-bundle/"><span style="color: #000000;">this approach</span></a><span style="color: #000000;"> is the best for you.</span></p>
<p><span style="color: #000000;">If your VM(s) are running </span><em><span style="color: #000000;">Windows</span></em><span style="color: #000000;"> (so you can access the </span><em><span style="color: #000000;">Mac OS</span></em><span style="color: #000000;"> file-store from within the VM) and you don&#8217;t </span><em><span style="color: #000000;">need</span></em><span style="color: #000000;"> a sophisticated incremental backup of your VMs then read on, as the following approach produces by far the most efficient backups.</span></p>
<h2>This fix</h2>
<p>The fix described here is to ensure the files you edit in <em>Fusion</em>&#8216;s virtual world are in the Mac&#8217;s natural file-store (so they continue to be backed up by <em>Time Machine</em>), stop using <em>Time Machine</em> to back up your virtual machines, and then back up your virtual machines in a different way. I&#8217;ll cover each of these steps in turn below.</p>
<h3>Put your files somewhere safe</h3>
<p>Instead of putting your <em>Windows</em> (or whatever) files in the <em>Windows</em> file-store, place them in the Mac&#8217;s file-store (which is available to <em>Windows</em> as the <em>Z:</em> drive by default). This means that your precious files have a proper, incremental backup using <em>Time Machine</em>, and you can restore earlier versions should the need arise.</p>
<h3>Stop Time Machine backing up your VMs</h3>
<p>Open <em>Time Machine Preferences&#8230;</em>, click on <em>Options&#8230;</em> and then the small <em>+</em> to add a Folder to the <em>Do not back up</em> list:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/add-folder.png"><img class="aligncenter size-medium wp-image-540" title="add-folder" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/add-folder-300x236.png" alt="add-folder" width="300" height="236" /></a>Then navigate to <em>Documents</em> below your home directory and there you will find a folder called <em>Virtual Machines</em> &#8212; add that and <em>Time Machine</em> will no longer backup your <em>Fusion</em> VMs.</p>
<h3>And backup your VMs in a different way</h3>
<p><span style="text-decoration: underline;"><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/copying-vm-to-backup.png"><img class="alignright size-medium wp-image-541" title="copying-vm-to-backup" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/copying-vm-to-backup-300x106.png" alt="copying-vm-to-backup" width="300" height="106" /></a></span>If, like me, your virtual machine is a secondary system, then you probably have no need of an incremental, sophisticated backup. What&#8217;s important is the files you edit are protected, and they <em>are</em> now protected by <em>Time Machine</em> as part of the Mac&#8217;s natural file-store.</p>
<p>So, simply drag your <em>Documents/Virtual Machines</em> folder onto the backup drive every week or so, and you&#8217;re sorted.</p>
<h2 style="font-size: 1.5em;">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 you copy the</strong><strong> data</strong>.</p>
<h3 style="font-size: 1.17em;">Why?</h3>
<p>Because if you copy 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/03/time-machine-and-vmware-fusion/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Safari 4 and wordpress now work together (in effect)</title>
		<link>http://www.markwheadon.com/blog/2009/03/safari-4-and-wordpress-now-works/</link>
		<comments>http://www.markwheadon.com/blog/2009/03/safari-4-and-wordpress-now-works/#comments</comments>
		<pubDate>Tue, 17 Mar 2009 10:00:41 +0000</pubDate>
		<dc:creator>Mark Wheadon</dc:creator>
				<category><![CDATA[How To]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[beta]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[fixed]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[safari]]></category>
		<category><![CDATA[safari 4]]></category>
		<category><![CDATA[Safari 4 Public Beta]]></category>
		<category><![CDATA[safari 4beta]]></category>
		<category><![CDATA[solution]]></category>
		<category><![CDATA[WebKit]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[work-around]]></category>

		<guid isPermaLink="false">http://www.markwheadon.com/blog/?p=668</guid>
		<description><![CDATA[Want to use Safari 4, but put off by the visual editor not working in wordpress? Here's a fix.
No related posts.]]></description>
			<content:encoded><![CDATA[<h2>All change</h2>
<p>As of the the 8th June 2009, <em>Safari 4</em> is out of beta, and <em>wordpress</em>&#8216;s insert-link dialogue works! So this article is now superfluous &#8212; good stuff.</p>
<p>I&#8217;ll leave the article here to help clarify what <em>WebKit</em> is and how to use it, but if you&#8217;re looking to get <em>wordpress</em>&#8216;s insert-hyperlink dialogue working with <em>Safari 4beta</em> then all you need do is download the full release version of <em>Safari 4 </em>from <a href="http://www.apple.com/safari/">Apple&#8217;s site</a>.</p>
<p>And now for the original article…</p>
<p><span id="more-668"></span>If you&#8217;re a Mac and <em>wordpress</em> user, and you&#8217;ve tried out Safari 4 Public Beta, then you will have noticed that you can&#8217;t add hyperlinks in <em>wordpress</em>&#8216; visual editor (<em>Geek Guides</em> has documented the problem nicely <a href="http://www.geekguides.co.uk/139/safari-4-beta-bug-with-wordpress-27/" target="_blank">here</a>).</p>
<p>Now there&#8217;s a fix &#8212; the latest <em>WebKit</em> on top of <em>Safari 4 Public Beta</em> works fine, with no problems in <em>wordpress</em>&#8216; visual editor. Here&#8217;s the proof (you may need to take my word for it: this _is_ <em>Safari 4</em>):</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/add-link.png"><img class="aligncenter size-large wp-image-669" title="add-link" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/add-link-540x470.png" alt="add-link" width="540" height="470" /></a></p>
<p>Note that the <em>Insert/edit link</em> dialogue box isn&#8217;t greyed out<em> &#8212; </em><em>result!</em></p>
<p>To achieve this, first install <em>Safari 4beta</em> <a href="http://www.apple.com/safari/" target="_blank">from Apple&#8217;s site</a> and reboot. Then install the <a href="http://nightly.webkit.org/" target="_blank">latest </a><em><a href="http://nightly.webkit.org/" target="_blank">WebKit</a></em><a href="http://nightly.webkit.org/" target="_blank"> nightly build for </a><em><a href="http://nightly.webkit.org/" target="_blank">Mac OS</a>.</em></p>
<p><img class="alignright size-full wp-image-673" title="two-safaris" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/two-safaris.png" alt="two-safaris" width="258" height="89" />Now you have two versions of <em>Safari</em>. One calls itself <em>Safari</em> and that&#8217;s as downloaded from Apple, the other calls itself <em>WebKit</em> and is the browser from Apple, but with the latest <em>WebKit</em> plugged into it. Here they are in my dock &#8212; the brassy compass is the <em>WebKit</em> version of <em>Safari</em>.</p>
<p>Now all that&#8217;s left to do is to enter <em>Safari</em>&#8216;s Preferences and set the default browser to be <em>WebKit</em>:</p>
<p><a href="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/default-browser.png"><img class="aligncenter size-large wp-image-672" title="default-browser" src="http://www.markwheadon.com/blog/wp-content/uploads/2009/03/default-browser-455x540.png" alt="default-browser" width="455" height="540" /></a></p>
<p>and you&#8217;re sorted. Of course, if you don&#8217;t want to do the above then it&#8217;s still good news: if the latest <em>WebKit</em> sorts the problem, then <em>Safari 4</em> should, in time, pick up the fix. Good stuff.</p>
<p>No related posts.</p>]]></content:encoded>
			<wfw:commentRss>http://www.markwheadon.com/blog/2009/03/safari-4-and-wordpress-now-works/feed/</wfw:commentRss>
		<slash:comments>6</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>
	</channel>
</rss>

