<?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>Xster.net &#187; empty</title>
	<atom:link href="http://tech.xster.net/tag/empty/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.xster.net</link>
	<description>Never relearn twice</description>
	<lastBuildDate>Fri, 20 Jan 2012 21:11:29 +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>Empty Home Directory in Windows Using Boot Camp 3.0</title>
		<link>http://tech.xster.net/tips/empty-home-directory-in-windows-using-boot-camp-3-0/</link>
		<comments>http://tech.xster.net/tips/empty-home-directory-in-windows-using-boot-camp-3-0/#comments</comments>
		<pubDate>Sun, 13 Sep 2009 22:29:47 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[.Xauthority]]></category>
		<category><![CDATA[Access]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[Boot Camp]]></category>
		<category><![CDATA[Bootcamp]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[empty]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[home]]></category>
		<category><![CDATA[Snow Leopard]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=126</guid>
		<description><![CDATA[Just got Snow Leopard and installed Boot Camp 3.0 on Windows? Boot Camp 3.0 is definitely a well welcomed update. The trackpad works much better now with 2 finger tap for secondary click, it finally works like in OS X. Even better, you can now access HFS+ without third party apps in Windows. Definitely nice [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><img class="size-full wp-image-127 alignleft" title="ls -a" src="http://tech.xster.net/wp-content/uploads/2009/09/Screen-shot-2009-09-13-at-6.22.14-PM.png" alt="ls -a" width="155" height="204" /></p>
<p>Just got Snow Leopard and installed Boot Camp 3.0 on Windows? Boot Camp 3.0 is definitely a well welcomed update. The trackpad works much better now with 2 finger tap for secondary click, it finally works like in OS X. Even better, you can now access HFS+ without third party apps in Windows. Definitely nice for Windows 7 x64 users that MacDrive doesn&#8217;t even support. But one problem that seems to trouble people in the forums is that navigating to /Users/[yourname] in Windows shows an empty folder. You can&#8217;t access your music or pictures or anything from Windows.</p>
<p>One possibility is the presence of a .Xauthority file in your $HOME directory. Delete the file and you may access your home directory in Windows. Remember that running X11 will recreate the file. Delete it again.<span id="more-126"></span></p>
<p>To automate the whole process, consider creating a script that lets you boot into Windows worry free.</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;Finder&quot;</span>
	<span style="color: #ff0033; font-weight: bold;">if</span> <span style="color: #0066ff;">exists</span> <span style="color: #0066ff;">file</span> <span style="color: #009900;">&quot;~/.Xauthority&quot;</span> <span style="color: #ff0033; font-weight: bold;">then</span>
		<span style="color: #0066ff;">delete</span> <span style="color: #0066ff;">file</span> <span style="color: #009900;">&quot;~/.Xauthority&quot;</span>
	<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">if</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span>
<span style="color: #0066ff;">do shell script</span> <span style="color: #009900;">&quot;bless -mount /Volumes/[your Windows device]/ -legacy -setBoot -nextonly&quot;</span> <span style="color: #ff0033; font-weight: bold;">with</span> administrator privileges
<span style="color: #0066ff;">do shell script</span> <span style="color: #009900;">&quot;shutdown -r now&quot;</span> <span style="color: #ff0033; font-weight: bold;">with</span> administrator privileges</pre></div></div>

<p>Put this in AppleScript editor and save it as a .app to make it executable. You can manpage the bless command for more options. You can also change the icon like any other app. At that point, you can invoke this via QuickSilver and a GUI dialog will prompt you for password.</p>
<p>It&#8217;s also possible that there are no .Xauthority files in the subdirectories so simply type in explorer the subdirectories to access them directly. ie: D:/Users/[you]/Desktop</p>
<div class="shr-publisher-126"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Ftech.xster.net%2Ftips%2Fempty-home-directory-in-windows-using-boot-camp-3-0%2F' data-shr_title='Empty+Home+Directory+in+Windows+Using+Boot+Camp+3.0'></a><a class='shareaholic-tweetbutton' data-shr_count='none' data-shr_href='http%3A%2F%2Ftech.xster.net%2Ftips%2Fempty-home-directory-in-windows-using-boot-camp-3-0%2F' data-shr_title='Empty+Home+Directory+in+Windows+Using+Boot+Camp+3.0'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic -->]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/empty-home-directory-in-windows-using-boot-camp-3-0/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

