<?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>Robert ter Vehn</title>
	<atom:link href="http://tervehn.se/feed/" rel="self" type="application/rss+xml" />
	<link>http://tervehn.se</link>
	<description>Blogging on everyday technology issues</description>
	<lastBuildDate>Sat, 18 Feb 2012 19:46:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Printing multiple images per sheet in Mac OS X Lion</title>
		<link>http://tervehn.se/printing-multiple-images-per-sheet-in-mac-os-x-lion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=printing-multiple-images-per-sheet-in-mac-os-x-lion</link>
		<comments>http://tervehn.se/printing-multiple-images-per-sheet-in-mac-os-x-lion/#comments</comments>
		<pubDate>Sat, 18 Feb 2012 19:36:50 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[mac os x lion]]></category>
		<category><![CDATA[preview]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=59</guid>
		<description><![CDATA[I have always taken the Windows way of printing multiple images and photos (on the same sheet) for granted but when I wanted to do the same from my Mac I quickly realized I didn&#8217;t know how. So, for future &#8230; <a href="http://tervehn.se/printing-multiple-images-per-sheet-in-mac-os-x-lion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have always taken the Windows way of printing multiple images and photos (on the same sheet) for granted but when I wanted to do the same from my Mac I quickly realized I didn&#8217;t know how. So, for future reference, here it is.<span id="more-59"></span></p>
<p>Open all the images or photos you want to print in Preview (in the same Preview window). In Preview&#8217;s sidebar, select  all images You want to print (or click inside the sidebar and press cmd-A). Go to File→Print… The following dialog will appear (I will soon explain the markings):<a href="http://tervehn.se/wordpress/wp-content/uploads/2012/02/Screen-Shot-2012-02-18-at-20.19.24.png"><img class="aligncenter size-medium wp-image-60" title="Preview print dialog showing how to print multiple images on the same sheet" src="http://tervehn.se/wordpress/wp-content/uploads/2012/02/Screen-Shot-2012-02-18-at-20.19.24-300x214.png" alt="Preview print dialog" width="300" height="214" /></a></p>
<p>&nbsp;</p>
<p>First, under &#8220;Pages&#8221;; select &#8220;Selected images in Sidebar&#8221;. Next comes the perhaps not so obvious part; In the drop-down list, select &#8220;Layout&#8221;. Set &#8220;Pages per Sheet&#8221; to 2 (or more, Your choice). Click &#8220;Print&#8221; and You&#8217;re done.</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/printing-multiple-images-per-sheet-in-mac-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Terminal in Finder</title>
		<link>http://tervehn.se/open-terminal-in-finder/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=open-terminal-in-finder</link>
		<comments>http://tervehn.se/open-terminal-in-finder/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 21:28:58 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[mac os x lion]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=56</guid>
		<description><![CDATA[Here&#8217;s how to add &#8220;Open in Terminal&#8221; in the context menu (right-click menu) of folders in Finder: Go to System Preferences→Keyboard→Keyboard Shortcuts→Services and enable &#8220;New Terminal at Folder&#8221; (or &#8220;New Terminal tab at Folder&#8221;). It is also possible to add &#8230; <a href="http://tervehn.se/open-terminal-in-finder/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s how to add &#8220;Open in Terminal&#8221; in the context menu (right-click menu) of folders in Finder:</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2012/01/new_terminal_at_folder.png"><img class="alignright size-thumbnail wp-image-58" title="New Terminal at Folder Service" src="http://tervehn.se/wordpress/wp-content/uploads/2012/01/new_terminal_at_folder-150x150.png" alt="" width="150" height="150" /></a>Go to <em>System Preferences→Keyboard→Keyboard Shortcuts→Services</em> and enable &#8220;New Terminal at Folder&#8221; (or &#8220;New Terminal tab at Folder&#8221;). It is also possible to add a keyboard shortcut for the command, e.g. Shift-Command-T. Adding a shortcut will disable the service from the context menu list so you might want to enable it again by checking the box.</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/open-terminal-in-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MacBook Air dead for the third time</title>
		<link>http://tervehn.se/macbook-air-dead-for-the-third-time/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=macbook-air-dead-for-the-third-time</link>
		<comments>http://tervehn.se/macbook-air-dead-for-the-third-time/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 21:15:48 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[logic board]]></category>
		<category><![CDATA[macbook air]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=51</guid>
		<description><![CDATA[My MacBook Air logic board has died again. This is the third time in four months and once again I got it back to life by baking the logic board in the oven. I upped the cooking time a bit &#8230; <a href="http://tervehn.se/macbook-air-dead-for-the-third-time/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-54 alignnone" title="Disassembled MacBook Air" src="http://tervehn.se/wordpress/wp-content/uploads/2012/01/IMAG0467.jpg" alt="Logic board removed from MacBook Air casing" width="499" height="376" /></p>
<p>My MacBook Air logic board has died again. This is the third time in four months and once again I got it back to life by <a title="Resurrecting the MacBook Air" href="http://tervehn.se/resurrecting-the-macbook-air/">baking the logic board in the oven</a>. I upped the cooking time a bit since the <a title="Baking the MacBook Air, again" href="http://tervehn.se/baking-the-macbook-air-again/">second time I baked it</a>, this time keeping it in the kitchen oven for 8:00 minutes in 188 ℃. I was out of cooling paste (for the CPUs) so a tried to scrape off as much as possible from the CPUs and put it on the bottom side of the heat-plate. After the visit to the oven and a cooling period of perhaps a quarter of an hour the computer is once again working.</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/macbook-air-dead-for-the-third-time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Baking the MacBook Air, again</title>
		<link>http://tervehn.se/baking-the-macbook-air-again/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=baking-the-macbook-air-again</link>
		<comments>http://tervehn.se/baking-the-macbook-air-again/#comments</comments>
		<pubDate>Sun, 13 Nov 2011 07:33:30 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[logic board]]></category>
		<category><![CDATA[macbook air]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=41</guid>
		<description><![CDATA[This is the how I brought my MacBook Air (late 2008) back to life a second time. I must admit I&#8217;m a bit disappointed since it&#8217;s only been two months since I first baked the logic board and I had hoped &#8230; <a href="http://tervehn.se/baking-the-macbook-air-again/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-46" title="MacBook Air in pieces" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMG_3744.jpg" alt="" width="499" height="355" /></p>
<p>This is the how I brought my MacBook Air (late 2008) back to life a second time. I must admit I&#8217;m a bit disappointed since it&#8217;s only been two months since I first <a title="Resurrecting the MacBook Air" href="http://tervehn.se/resurrecting-the-macbook-air/">baked the logic board</a> and I had hoped the previous resurrection would last six months before the computer would die on me again. It obviously didn&#8217;t, but at least it works again after second visit to the kitchen oven. <span id="more-41"></span></p>
<p><img class="size-thumbnail wp-image-44 alignright" title="Dead MacBook Air" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMG_3741-150x150.jpg" alt="" width="150" height="150" /></p>
<p>This time I didn&#8217;t encounter any kernel panics as I did the last time, instead the computer simply froze and had to be restarted the hard way (holding down the power button until it turns itself of). The computer still started a few times after that, but froze again after a while. Repeated restarts turned out just like <a title="Resurrecting the MacBook Air" href="http://tervehn.se/resurrecting-the-macbook-air/">the last time</a>—a blacked out screen but with the light in the front lit. I immediately realized the logic board had failed once again.</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMG_3743.jpg"><img class="alignleft size-thumbnail wp-image-45" title="MacBook Air logic board in the oven" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMG_3743-150x150.jpg" alt="" width="150" height="150" /></a>Since repeated bakes evidently has worked for <a title="Cooking the Books (or, Baking My MacBook Pro Logic Board)" href="http://russell.heistuman.com/2010/04/27/cooking-the-books-or-baking-my-macbook-pro-logic-board/">Russell Heistuman</a> I decided to repeat the procedure once more. This being the second time of doing it, it went a lot faster this time—1 hour 15 minutes in total (including disassembly, time in the oven and reassembly). As done previously, I set the oven to approximately 190℃ and the thermometer showed 188℃ when I inserted the logic board into the oven. I decided to cook the logic board for 7:45–7:50 minutes this time (slightly longer than the first time) with hopes of a longer-lasting repair. Once the logic board had cooled down for 10 minute or so, I reassembled the MacBook Air and pressed the power on button. Once again the computer started up as it should:</p>
<p style="text-align: center;"><img class="size-full wp-image-47 aligncenter" title="MacBook Air with login screen" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMG_3746.jpg" alt="" width="300" height="200" /></p>
<p>(Update Jan. 12, 2012: It has now been baked for a <a title="MacBook Air dead for the third time" href="http://tervehn.se/macbook-air-dead-for-the-third-time/">third time</a> with good results.)</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/baking-the-macbook-air-again/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to backup favorites in Navigon 6310 (MN7.5.9)</title>
		<link>http://tervehn.se/how-to-backup-favorites-in-navigon-6310/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-backup-favorites-in-navigon-6310</link>
		<comments>http://tervehn.se/how-to-backup-favorites-in-navigon-6310/#comments</comments>
		<pubDate>Wed, 02 Nov 2011 21:12:58 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[mn7]]></category>
		<category><![CDATA[mobile navigator]]></category>
		<category><![CDATA[navigon]]></category>
		<category><![CDATA[navigon 6310]]></category>
		<category><![CDATA[pna]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=34</guid>
		<description><![CDATA[The Navigon 6310 is a personal navigation assistant, PNA, which runs the Mobile Navigator software (MN7.5.9) from Navigon on top of its Windows CE 6 operating system. One hugh flaw in the default setup is that it is not possible to &#8230; <a href="http://tervehn.se/how-to-backup-favorites-in-navigon-6310/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignright size-full wp-image-38" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMAG0345.jpg" alt="Navigon 6310" width="200" height="122" />The Navigon 6310 is a personal navigation assistant, <a title="Personal Navigation Assistant" href="http://en.wikipedia.org/wiki/Personal_navigation_assistant">PNA</a>, which runs the Mobile Navigator software (MN7.5.9) from <a href="http://www.navigon.com/">Navigon</a> on top of its Windows CE 6 operating system. One hugh flaw in the default setup is that it is not possible to backup the favorite destinations one has saved in the device as they are stored in an internal memory. This article describes how you can retrieve the Favorites.store and RecentTargets.store files and modify the Navigon software so the files are stored in a more accessible place instead (e.g. the internal flash drive or the memory card, both which can be accessed through USB).<span id="more-34"></span></p>
<p>First of all, a word of warning: modifying files in your PNA might break the device, perhaps even leaving it <a href="http://en.wikipedia.org/wiki/Brick_(electronics)">bricked</a>. Be careful and always backup your device before attempting to fiddle with it, I will not be held responsible for any device failures due to someone following these instructions.</p>
<h2>Extracting the Favorites.store and RecentTargets.store files</h2>
<p>If you have a new device (or one that has been hard reset), you can skip this section and move on to <a href="#change-storage-location">the next one</a> (as there is no file of interest to be retained). If you have saved favorite destinations in your device, follow the steps below to retrieve the file from the internal memory. Before you begin, make sure you have a memory card (micro sd/sdhc) since it&#8217;s needed during the process. In short, the steps involve downloading a third party program which will run a script to copy the Favorites.store and RecentTargets.store files to the memory card.</p>
<ol>
<li>Ensure you have a Micro SD or Micro SDHC card inserted into your Navigon 6310 device</li>
<li>Connect your Navigon device to your computer via USB and turn it on (so the internal flash drive and the storage card become accessible from your computer, as &#8220;NAVIGON&#8221; and &#8220;NAVIGONSD&#8221; respectively)</li>
<li>Download <a href="http://netfresco.com/MioPocket/">MioPocket</a> (I downloaded MioPocket 4.0 Release 68) and extract the zip-file to a local folder on your computer</li>
<li>Copy MioAutoRun.exe, MioAutoRun.mscr and MortScript.exe to the root of the memory card</li>
<li>Rename MioAutoRun.exe and MioAutoRun.mscr to UpdateMe.exe and UpdateMe.mscr respectively</li>
<li>With a text editor (no unicode!), edit UpdateMe.mscr so it <em>only </em>contains:
<pre># See "NAVIGON"/NAVIGON/Settings/ApplicationSettingsPathes.xml (see under &lt;Favorites&gt;), enter the corresponding filenames below:
FavoritesLocation = "/MN Settings/Favorites.store"
RecentTargetsLocation = "/MN Settings/RecentTargets.store"

# Specifies where the files will end up after being copied
Drive = "\"&amp;Part(SystemPath("ScriptPath"),"\",2)
FavoritesDestination = Drive\"Favorites.store"
RecentTargetsDestination = Drive\"RecentTargets.store"

# Copy the files
Copy(FavoritesLocation, FavoritesDestination, TRUE)
Copy(RecentTargetsLocation, RecentTargetsDestination, TRUE)

Message("Files should now have been copied. Remove the memory card from the device and perform software reset (with a pen or similar, press the 'reset' button on the bottom of the device) before reconnecting it to your computer.", "Note")

Exit</pre>
</li>
<li>Properly disconnect (eject) the NAVIGON and NAVIGONSD drives from your computer and disconnect the USB cable from the Navigon device , this will cause the device to restart and automatically run the script above which results in the following output: <img class="alignnone size-full wp-image-36" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/IMAG0342.jpg" alt="Popup message shown in Navigon after script has been run" width="499" height="339" /></li>
<li>Remove the memory card from the Navigon device</li>
<li>Perform a software reset (with a pen or similar, press the small &#8220;reset&#8221; button at the bottom of the Navigon 6310) and wait until it has restarted (do <em>not</em> insert the memory card yet, since that would cause it to hang on the same screen again)</li>
<li>Again, connect the Navigon device to the computer via the USB cable</li>
<li>Insert the memory card into the Navigon device (it should thereafter appear in your computer)</li>
<li>The contents of the memory card should now look like the following (the RecentTargets.store file is missing since I hadn&#8217;t done any travels since the last hard reset which I performed in order to start with a &#8220;fresh&#8221; system): <img class="alignnone size-full wp-image-35" src="http://tervehn.se/wordpress/wp-content/uploads/2011/11/copying_favorites_navigon_result.png" alt="List of files, showing that Favorites.store has been copied" width="326" height="165" /></li>
<li>Now, remove or rename the UpdateMe and MortScript files in order to prevent them from being run when restarting the device or later removing and inserting the memory card</li>
<li>Done, your favorites and recent destinations/targets are now copied onto the memory card.</li>
</ol>
<h2><a name="change-storage-location"></a>Change storage location of the Favorites.store and RecentTargets.store files</h2>
<p>First, one must decide where to store the favorites as there are two options; either in the internal flash drive (NAVIGON) or on the storage card (NAVIGONSD). Both are accessible via USB, so it comes down to what you prefer. I&#8217;ve decided to store the favorites (and recent destinations) in the internal flash drive so I don&#8217;t have to have a memory card inserted in order to run it.</p>
<ol>
<li>Connect the Navigon device to your computer via the USB cable</li>
<li>Move the Favorites.store and from [NAVIGONSD]/Favorites.store to a location of your choice, I&#8217;ll go with [NAVIGON]/NAVIGON/Favorites.store (directly in the &#8220;main&#8221; NAVIGON folder)</li>
<li>If you have one, move the RecentTargets.store file correspondingly</li>
<li>Edit [NAVIGON]/NAVIGON/Settings/ApplicationSettingsPathes.xml, change the &lt;Favorites&gt; line from <del>&lt;Favorites&gt;/MN Settings/Favorites.store&lt;/Favorites&gt;</del> to:
<pre>&lt;Favorites&gt;./Favorites.store&lt;/Favorites&gt;</pre>
<p>&#8220;./&#8221; corresponds to the [NAVIGON]/NAVIGON folder. If you would like to store the favorites file on the memory card, use for example <em>/Storage Card/somefolder/Favorites.store</em>.</li>
<li>Edit [NAVIGON]/NAVIGON/Settings/ApplicationSettingsPathes.xml, change the &lt;RecentTargets&gt; line from <del>&lt;RecentTargets&gt;/MN Settings/RecentTargets.store&lt;/RecentTargets&gt;</del> to:
<pre>&lt;RecentTargets&gt;./RecentTargets.store&lt;/RecentTargets&gt;</pre>
</li>
<li>Save the ApplicationSettingsPathes.xml file</li>
<li>Unmount/Eject the NAVIGON and NAVIGONSD drives and disconnect the USB cable</li>
<li>Done. Test it out by adding some favorites and ensure the modification date and file size is changed accordingly (or use a <a href="http://en.wikipedia.org/wiki/Hex_editor">Hex editor</a> to ensure your newly added favorites are saved).</li>
</ol>
<p>If you use Routes, you would likely want to move these as well (not covered in this post). The XML file seems to indicate they are stored in the internal memory, hence are inaccessible.</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/how-to-backup-favorites-in-navigon-6310/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Resurrecting the MacBook Air</title>
		<link>http://tervehn.se/resurrecting-the-macbook-air/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=resurrecting-the-macbook-air</link>
		<comments>http://tervehn.se/resurrecting-the-macbook-air/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 21:24:51 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[failure]]></category>
		<category><![CDATA[logic board]]></category>
		<category><![CDATA[macbook air]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=4</guid>
		<description><![CDATA[All of a sudden, while simply reading todays news one morning, my almost three year old MacBook Air (late 2008 edition) died. This is the story on how I dismantled it, cooked the logic board in the oven and brought &#8230; <a href="http://tervehn.se/resurrecting-the-macbook-air/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><img class="alignnone size-full wp-image-105" title="Trying to repair the MacBook Air" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3168.jpg" alt="Dismantled MacBook Air" width="499" height="364" /></p>
<p>All of a sudden, while simply reading todays news one morning, my almost three year old MacBook Air (late 2008 edition) died. This is the story on how I dismantled it, cooked the logic board in the oven and brought it back to life.<span id="more-4"></span></p>
<p>(Updated: Since this article was written I have repeated the process and adjusted the cooking time, please see the later articles which are linked at the end of this article.)</p>
<h2>Background</h2>
<p>I&#8217;ve heard about kernel panics before but never experienced one myself &#8211; until now. I didn&#8217;t take it so seriously at first, thinking it was just Apples way of a nicer blue-screen-of-death when telling me I had to turn off my computer. I didn&#8217;t have any choice but to do as told, only to discover a new kernel panic during the next boot. The second time turned out the same as the first, a gray screen with some dumped error text. Thinking third time&#8217;s the charm I rebooted once more only to find a lit light but a blacked out screen. I never got passed this point so later that day I handed in my MacBook Air to the nearest Apple Authorized Service Partner for a diagnostics.</p>
<p>A few days later I received a call from the technician, who diagnosed my MBA, telling me it had a &#8220;dead logic board&#8221;. Having no warranty, I was offered a repair (new logic board) at the cost of roughly 5400 SEK (~810 USD). The technician himself noted it was almost half the price of a new laptop and thus asked whether I wanted to proceed with the repair or simply pay the diagnostics fee and instead by a new one. I did some Googling and came to the conclusion that indeed logic boards are expensive and it wouldn&#8217;t be much cheaper to do it myself either. However, during my Googling I stumbled across an article called <a title="Cooking the Books (or, Baking My MacBook Pro Logic Board)" href="http://russell.heistuman.com/2010/04/27/cooking-the-books-or-baking-my-macbook-pro-logic-board/">Cooking the Books (or, Baking My MacBook Pro Logic Board)</a>. Apparently a lot of people have had problems with their 2008 MacBook Pro logic boards, with similar symptoms I was experiencing &#8211; and how did they fix them? They put them in the oven. I haven&#8217;t read anyone trying to bake/cook MacBook Air logic boards but I figured it wouldn&#8217;t be much of a difference.</p>
<h2>Taking the MacBook Air apart</h2>
<p>It was actually easier than I expected, taking the MBA apart. The first step, obviously, was to turn the laptop upside-down and remove the screws securing the bottom cover to the rest of the computer. Since the screws are different length and for easier putting-it-all-back-together I arranged the screws the same way the are mounted on the computer:</p>
<p><img class="alignnone size-full wp-image-106" title="MacBook Air bottom casing screws" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3163.jpg" alt="Screw arrangement for the bottom cover" width="430" height="210" /></p>
<p>With the bottom cover removed, it was time to remove the battery. I unplugged the battery cable from the logic board (yellow marker) and removed the screws (red markers) and again arranged the screws to remember where the long one should go:</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3165.jpg"><img class="alignnone size-medium wp-image-107" title="Removing the battery from the MacBook Air" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3165-300x190.jpg" alt="MacBook Air inside view, battery screws marked" width="300" height="190" /></a></p>
<p><img class="alignnone size-full wp-image-108" title="Battery attachment screws" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3164.jpg" alt="Battery attachment screws" width="430" height="250" /></p>
<p>Next, I disconnected the external ports from the logic board and removed the three screws holding the hard drive in place &#8211; I did however <em>not</em> remove the hard drive as simply loosening it proved sufficient:</p>
<p><img class="alignnone size-full wp-image-109" title="Hard drive mounting screw positions" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3166.jpg" alt="Hard drive mounting screw positions" width="499" height="308" /></p>
<p>When the hard drive was loosened, I had to remove two tiny screws holding down a small metal bar under which was two connectors (show in blue in the picture below). I also unscrewed all screws holding down the cooling plate (red markers). The picture shows the computer with the screws removed as well as the L-shaped aluminum piece (which was fastened by the middle screw, pressing down on the <a href="http://en.wikipedia.org/wiki/Central_processing_unit">CPU</a> and <a href="http://en.wikipedia.org/wiki/Graphics_processing_unit">GPU</a>), they can be seen in the green box marking. The observant reader will note that the middle screw looks a bit strange in the picture, the reason is I had to drill it away since I accidentally destroyed the head so the screwdriver couldn&#8217;t get any grip (when putting it back together I took one of the corner (corner of the cooling plate) screws instead, they are shorter but it worked anyway).</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3168_2.jpg"><img class="alignnone size-medium wp-image-110" title="Removal of processor cooling plate" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3168_2-300x234.jpg" alt="Inside view of MacBook Air" width="300" height="234" /></a></p>
<p>I now removed the cooling plate, disconnected all remaining cables from the logic board and cautiously removed it from its position:</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3169.jpg"><img class="alignnone size-medium wp-image-111" title="Removal of MacBook Air logic board" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3169-300x199.jpg" alt="Removal of logic board" width="300" height="199" /></a><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3170.jpg"><img class="alignnone size-medium wp-image-112" title="Top view of MacBook Air logic board" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3170-300x107.jpg" alt="MacBook Air logic board" width="300" height="107" /></a></p>
<h2>Baking the logic board</h2>
<p>I started up the oven (in my case a hot air oven) and set it to approximately 190°C and used a kitchen thermometer to check the actual temperature continously.</p>
<p>Before putting it in the oven I needed to prepare the board and remove all plastic, having removed them from the top side ended up with this lot (laid out according to the logic board picture above):</p>
<p><img class="alignnone size-full wp-image-113" title="Plastics from the top of the logic board" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3171.jpg" alt="Plastics from the top of the logic board" width="300" height="170" /></p>
<p>I did the same for the bottom of the logic board (afterwards I believe removing the paper stickers was unnecessary):</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3172.jpg"><img class="alignnone size-medium wp-image-114" title="Bottom view of MacBook Air logic board" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3172-300x119.jpg" alt="Bottom view of MacBook Air logic board" width="300" height="119" /></a><img class="alignnone size-full wp-image-116" title="Plastics from the bottom side of the logic board" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3173.jpg" alt="Plastics from the bottom side of the logic board" width="300" height="164" /></p>
<p>As was done in the <a title="Cooking the Books (or, Baking My MacBook Pro Logic Board)" href="http://russell.heistuman.com/2010/04/27/cooking-the-books-or-baking-my-macbook-pro-logic-board/">Cooking the Books</a> article, I put some aluminum foil on the oven plate, so that any &#8220;problems&#8221; (like melted parts) would be clearly visible as well as created four &#8220;aluminum supports&#8221; (see the after-pictures below), to avoid resting the logic board directly on the (soon to be) hot oven plate. With the temperature showing 191°C it was now time to insert the logic board into the oven. As can be seen in the picture below the temperature dropped to 163°C. It took around 6 minutes for the oven to regain a temperature of 190°C, hence I decided to go for 7:40 minutes (7 minutes, 40 seconds) instead of the originally planned 7:30.</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3175.jpg"><img class="alignnone size-medium wp-image-117" title="MacBook Air logic board in the oven" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3175-219x300.jpg" alt="MacBook Air logic board in the oven" width="219" height="300" /></a><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3176.jpg"><img class="alignnone size-medium wp-image-118" title="MacBook Air logic board in the oven" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3176-300x164.jpg" alt="MacBook Air logic board in the oven" width="300" height="164" /></a></p>
<p>When 7:40 minutes had passed I took the logic board out of the oven and let it cool down in room temperature for around 4 minutes after which I lost patience and put it in the fridge for some time (around 10 minutes).</p>
<h2>Putting it all back together</h2>
<p>As the first step of the reassembly, I removed the old thermal paste from the processors as can be seen below:</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3183.jpg"><img class="alignnone size-medium wp-image-119" title="MacBook Air logic board without thermal paste on the processors" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3183-300x136.jpg" alt="MacBook Air logic board without thermal paste on the processors" width="300" height="136" /></a></p>
<p>Thereafter I mounted the logic board (without the cooling plate covering the processors) and attached all screws and connectors:</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3188.jpg"><img class="alignnone size-medium wp-image-120" title="Putting the logic board back" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3188-300x191.jpg" alt="Logic board mounted in the MacBook Air casing" width="300" height="191" /></a></p>
<p>All that was left now was to apply new thermal paste to the processors, mount the cooling plate and put the battery and bottom cover back in place:</p>
<p><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3189.jpg"><img class="alignnone size-thumbnail wp-image-121" title="Logic board cooling plate re-attached" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3189-150x150.jpg" alt="MacBook Air logic board processor cooling plate" width="150" height="150" /></a><a href="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3190.jpg"><img class="alignnone size-thumbnail wp-image-122" title="MacBook Air internal view" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3190-150x150.jpg" alt="MacBook Air internal view" width="150" height="150" /></a></p>
<h2>Testing the results</h2>
<p>I reconnected the power cable, captured the moment—realized how utterly disappointed I would be if it wouldn&#8217;t work—and pressed the power on button:</p>
<p><img class="alignnone size-full wp-image-123" title="It actually works!" src="http://tervehn.se/wordpress/wp-content/uploads/2011/10/IMG_3194.jpg" alt="MacBook Air showing login screen" width="350" height="392" /></p>
<p>I could hardly believe it, but the laptop started up like nothing ever happened to it!</p>
<p>(Updated Nov. 13, 2011: After two months the logic board once again died on me, I did however <a title="Baking the MacBook Air, again" href="http://tervehn.se/baking-the-macbook-air-again/">bake it a second time</a> and now it&#8217;s up and running again.)</p>
<p>(Update Jan. 12, 2012: Having just baked it a <a title="MacBook Air dead for the third time" href="http://tervehn.se/macbook-air-dead-for-the-third-time/">third time</a>, it is now in working order again.)</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/resurrecting-the-macbook-air/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Search problems in Mail (Mac OS X Lion) solved</title>
		<link>http://tervehn.se/search-problems-in-mail-mac-os-x-lion-solved/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=search-problems-in-mail-mac-os-x-lion-solved</link>
		<comments>http://tervehn.se/search-problems-in-mail-mac-os-x-lion-solved/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 21:12:07 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[apple mail]]></category>
		<category><![CDATA[mac os x lion]]></category>
		<category><![CDATA[spotlight]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=15</guid>
		<description><![CDATA[The other day I noticed the search function in Mac OS X Mail (Lion) wasn&#8217;t turning up email I know I had somewhere in some mailbox. This was quite irritating since I knew (roughly) the contents of the email and &#8230; <a href="http://tervehn.se/search-problems-in-mail-mac-os-x-lion-solved/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>The other day I noticed the search function in Mac OS X Mail (Lion) wasn&#8217;t turning up email I know I had somewhere in some mailbox. This was quite irritating since I knew (roughly) the contents of the email and needed to get it but I didn&#8217;t know when I had gotten it.<span id="more-15"></span></p>
<p>Apparently, I wasn&#8217;t the only one who had encountered this problem since a search for it turned up a number of results. <a href="http://ycode.blogspot.com/2011/09/mac-os-x-lion-apple-mail-search-does.html">One result in particular</a> gave me a way ahead, it showed me a menu option I have never used before: Menu→Mailbox→Rebuild (the referenced article said &#8220;Restore&#8221;, which wasn&#8217;t correct on my system).</p>
<p>I went on with it and selected each individual folder (one by one, I <em>really</em> wanted it fixed <img src='http://tervehn.se/wordpress/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' />  ) and chose &#8220;Rebuild&#8221;. This got the computer (and Mail) working for some time. Once all spinners (the &#8220;waiting icons&#8221; beside each folder) were gone and Mail had finished rebuilding all mailboxes, I decided to also let Spotlight reindex the folder where Mail stores all mails. In a normal Mac OS X Lion system this would be <code>~/Library/Mail</code> and <code>~/Library/Mail Downloads</code> (I have a different setup where these are stored in an encrypted sparse bundle). To have spotlight reindex the files, go to System Preferences→Spotlight→Privacy (tab) and drag the to folders into the privacy tab list. Thereafter, by marking them and clicking the minus sign &#8220;-&#8221; below the list, remove them from the privacy list. This will (after a minute or so) cause Spotlight to re-index the folders*.</p>
<p>* I have to reserve myself here since I&#8217;m not sure individual <em>folders</em> will be re-index, it might be that only adding and removing entire drives (as I did with my sparse bundle) will cause a re-indexing.</p>
<p>Having done the steps above, the search function now turns up all the expected results.</p>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/search-problems-in-mail-mac-os-x-lion-solved/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Getting WordPress up and running on Mac OS X Lion</title>
		<link>http://tervehn.se/getting-wordpress-up-and-running-on-mac-os-x-lion/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-wordpress-up-and-running-on-mac-os-x-lion</link>
		<comments>http://tervehn.se/getting-wordpress-up-and-running-on-mac-os-x-lion/#comments</comments>
		<pubDate>Sun, 16 Oct 2011 21:55:01 +0000</pubDate>
		<dc:creator>Robert ter Vehn</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[mac os x lion]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web server]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://tervehn.se/?p=1</guid>
		<description><![CDATA[This post briefly describes the steps necessary for setting up WordPress on Mac OS X Lion. I know I&#8217;m quite low on detail here, please leave a comment if You&#8217;d like me to clarify anything. Download MySQL from mysql.org (choose &#8230; <a href="http://tervehn.se/getting-wordpress-up-and-running-on-mac-os-x-lion/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This post briefly describes the steps necessary for setting up WordPress on Mac OS X Lion.<span id="more-1"></span></p>
<p>I know I&#8217;m quite low on detail here, please leave a comment if You&#8217;d like me to clarify anything.</p>
<ol>
<li>Download MySQL from <a href="http://dev.mysql.com/downloads/mysql/">mysql.org</a> (choose the latest .dmg-package, for me it was &#8220;Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive&#8221; even though I&#8217;m on Mac OS X 10.7)</li>
<li>Install MySQL as well as the MySQL preferences thing which comes with it (both are installed by double-clicking the .dmg-image—thereby mounting it—and double-clicking the files therein)</li>
<li>Start MySQL via &#8220;System Preferences&#8221;→&#8221;MySQL&#8221; (click &#8220;Start MySQL Server&#8221;)</li>
<li>Enable PHP in Apache by uncommenting the LoadModule php5 line in /etc/apache2/httpd.conf, at the same time add &#8220;index.php&#8221; to the DirectoryIndex directive</li>
<li>(Unsure about this one, I don&#8217;t remember the default config, but in the Apache config file(s) You might need to allow .htaccess files to override the server settings)</li>
<li>Start/restart the web server via &#8220;System Preferences&#8221;→&#8221;Sharing&#8221; (uncheck and recheck the tick box beside &#8220;Web Sharing&#8221;)</li>
<li>Download WordPress from <a href="http://wordpress.org/download/">wordpress.org</a></li>
<li>To prepare location/Fix permissions for easier development (I&#8217;m setting up WordPress in the &#8220;Computer Website Folder&#8221; &#8211; /Library/WebServer/Documents), in Terminal, execute:
<pre>cd /Library/WebServer/Documents
sudo chown `whoami`:staff .
mkdir wordpress</pre>
</li>
<li>Unpack WordPress to the newly created wordpress folder: /Library/WebServer/Documents/wordpress (I don&#8217;t want the wordpress files directly in the web root since I later might want to have other stuff there as well, see for instance <a href="http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory">Giving WordPress Its Own Directory</a>)</li>
<li>In order to have the WordPress site shown on the site root even though its stored in a subfolder, copy the index.php file with the following command:
<pre>cd /Library/WebServer/Documents
cp wordpress/index.php .</pre>
<p>…and, with your favorite text editor, change the line &#8220;require(&#8216;./wp-blog-header.php&#8217;);&#8221; to &#8220;require(&#8216;./wordpress/wp-blog-header.php&#8217;);&#8221;.</li>
<li>To create a configuration file from the sample one, execute:
<pre>cd /Library/WebServer/Documents/wordpress/
cp wp-config-sample.php wp-config.php</pre>
</li>
<li>I want a tidier database than what WordPress by default creates, hence I disable multiple revisions of articles by adding the following code in the top part of the wp-config.php file:
<pre>define('WP_POST_REVISIONS', false);</pre>
<p>…as well as adjusted the database parameters* (DB_HOST, DB_USER, DB_PASSWORD, DB_CHARSET) and the authentication keys and salts.</p>
<p>* Default MySQL user is &#8220;root&#8221; with empty password, this is however NOT recommended—you should have a separate database user.</li>
<li>In Safari, opened http://localhost/, performed the WordPress install process and thereafter logged in to the dashboard via http://localhost/wordpress/wp-admin/</li>
<li>In the WordPress Dashboard: Move the only comment to the trash, and empty the trash</li>
<li>In Terminal (this creates the upload directory, where images and such are stored, and creates a .htaccess file which You soon will fill with content):
<pre>cd /Library/WebServer/Documents
mkdir wordpress/wp-content/uploads
chmod 0777  wordpress/wp-content/uploads
touch .htaccess</pre>
<p>However, please note it might be unwise to use chmod 0777 on a production server, <a href="http://codex.wordpress.org/Changing_File_Permissions#The_dangers_of_777">here&#8217;s why</a>.</li>
<li>In Dashboard: Settings-&gt;Permalink settings: &#8220;/blog/%postname%-%post_id%/&#8221; (without the quotes) and click Save Changes. Copy the text which WordPress says you need to have in your .htaccess file.</li>
<li>Using your favorite text editor, paste the text into the /Library/WebServer/Documents/.htaccess, after which the file might look like:
<pre>&lt;IfModule mod_rewrite.c&gt;
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&lt;/IfModule&gt;</pre>
</li>
<li>I also installed the <a href="http://wordpress.org/extend/plugins/fancybox-for-wordpress/">FancyBox for WordPress</a> plugin by unzipping it into /Library/WebServer/Documents/wordpress/wp-content/plugins and activating it via the Dashboard &#8220;Plugins&#8221; page.</li>
<li>I missed having the right sidebar in single article pages, so I downloaded and installed the <a href="http://futurewebblog.com/add-sidebar-support-posts-twenty-eleven-theme/">Twenty Eleven Child with Sidebar Support 1.1 by Chris Aprea</a> theme.</li>
<li>Modify the <em>functions.php</em> file in the theme to prevent some SPAM comments/trackbacks, add:
<pre>// prevents some spamming from bots which direct address the posting target
function verify_comment_referer() {
    if (!wp_get_referer()) {
        wp_die( __('You cannot post comment at this time,
may be you need to enable referrers in your browser.') );
    }
}
add_action('check_comment_flood', 'verify_comment_referer');</pre>
<p>Read more at <a href="http://www.clickonf5.org/6407/function-to-avoid-apam-comments-wordpress/">Spare 10 Seconds To Avoid Spam Comments Entering Your WordPress</a>.</li>
<li>Done. Be sure to test out your site.</li>
</ol>
<p>Later on you might want to move the WordPress site to a public web server, due to the way WordPress sets links etcetera this will require some modifications to the database (in addition to copying it from your local machine to the one used by your web hosting account) according to <a href="http://www.mydigitallife.info/how-to-move-wordpress-blog-to-new-domain-or-location/">How to Move WordPress Blog to New Domain or Location</a>.</p>
<p>Useful plugins for the public site:</p>
<ul>
<li><a href="http://wordpress.org/extend/plugins/wordpresscom-popular-posts/">WordPress.com Popular Posts</a></li>
<li><a href="http://yoast.com/wordpress/google-analytics/">Google Analytics for WordPress</a></li>
<li><a href="http://wordpress.org/extend/plugins/jetpack/">Jetpack</a>- To hide the WordPress stats image (smiley at the bottom of each page) which is added, go to &#8220;Themes&#8221;→&#8221;Editor&#8221; and add the following in the CSS file:
<pre>img#wpstats {display: none;} /* Hide the WP Stats image */</pre>
</li>
<li><a href="http://wordpress.org/extend/plugins/google-analytics-dashboard/">Google Analytics Dashboard</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://tervehn.se/getting-wordpress-up-and-running-on-mac-os-x-lion/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

