<?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/"
	>

<channel>
	<title>JfwHome</title>
	<atom:link href="http://www.jfwhome.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jfwhome.com</link>
	<description>Extraneous Thought Repository</description>
	<pubDate>Wed, 30 Jun 2010 13:38:29 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>What is better than Bing?</title>
		<link>http://www.jfwhome.com/2010/06/30/what-is-better-than-bing/</link>
		<comments>http://www.jfwhome.com/2010/06/30/what-is-better-than-bing/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 13:38:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=130</guid>
		<description><![CDATA[Easy: betterbing.com
]]></description>
			<content:encoded><![CDATA[<p>Easy: <a href="http://www.betterbing.com">betterbing.com</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2010/06/30/what-is-better-than-bing/feed/</wfw:commentRss>
		</item>
		<item>
		<title>VMWare Player Vs. VirtualBox in Ubuntu: Decided in 1 minute</title>
		<link>http://www.jfwhome.com/2010/06/30/vmware-player-vs-virtualbox-in-ubuntu-decided-in-1-minute/</link>
		<comments>http://www.jfwhome.com/2010/06/30/vmware-player-vs-virtualbox-in-ubuntu-decided-in-1-minute/#comments</comments>
		<pubDate>Wed, 30 Jun 2010 13:33:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=122</guid>
		<description><![CDATA[I&#8217;ve been using VirtualBox for a few years, and I like it. I thought I would try out the latest VMWare Player to compare and see how it has moved on since the last time I used it &#8212; from what I&#8217;ve heard, the seamless mode in Player is now very good.
However, it all came [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been using VirtualBox for a few years, and I like it. I thought I would try out the latest VMWare Player to compare and see how it has moved on since the last time I used it &#8212; from what I&#8217;ve heard, the seamless mode in Player is now very good.</p>
<p>However, it all came to naught &#8212; VMWare fail. Miserably. Why? Because I can&#8217;t download the thing.</p>
<p>VirtualBox provides nice direct download links, and &#8212; even better &#8212; an Ubuntu repository.</p>
<p>What about WMWare? They provide&#8230; this:</p>
<div id="attachment_123" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.jfwhome.com/2010/06/30/vmware-player-vs-virtualbox-in-ubuntu-decided-in-1-minute/vmware-what-the-hell/" rel="attachment wp-att-123"><img src="http://www.jfwhome.com/wp-content/uploads/2010/06/vmware-what-the-hell-300x267.jpg" alt="VMWare... What the hell?" title="vmware-what-the-hell" width="300" height="267" class="size-medium wp-image-123" /></a><p class="wp-caption-text">VMWare... What the hell?</p></div>
<p>Problem solved &#8212; there&#8217;s no way I want to hand over this kind of data. Sure, I could just fill in nonsense data (and I started to)&#8230; but then what happens when I need an update, or even upgrade to a paid version? VMWare: What the hell are you thinking, asking for all this personal information? The bounce rate for your software must be hideous &#8212; what a great way to send people to your competitors.</p>
<p>If you&#8217;re here because you&#8217;re searching for a &#8220;direct link to VMWare Player&#8221; in Google: Sorry, try <a href="http://www.virtualbox.org/">this, much better link</a>, instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2010/06/30/vmware-player-vs-virtualbox-in-ubuntu-decided-in-1-minute/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Looking for a great Linux PHP editor? Try Geany.</title>
		<link>http://www.jfwhome.com/2009/12/09/looking-for-a-great-linux-php-editor-try-geany/</link>
		<comments>http://www.jfwhome.com/2009/12/09/looking-for-a-great-linux-php-editor-try-geany/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 14:53:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=116</guid>
		<description><![CDATA[I&#8217;ve never been one of the vi or emacs brigade &#8212; when editing code (mainly PHP and Python), I&#8217;ve always found it easiest using a lightweight editor (together with a local server).

Since moving to Linux full-time several years ago, I&#8217;ve been on the look-out for an editor I really liked. On Windows, I liked Notepad++ [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve never been one of the vi or emacs brigade &#8212; when editing code (mainly PHP and Python), I&#8217;ve always found it easiest using a lightweight editor (together with a local server).<br />
<span id="more-116"></span><br />
Since moving to Linux full-time several years ago, I&#8217;ve been on the look-out for an editor I really liked. On Windows, I liked Notepad++ &#8212; it did everything I needed with panache, and never got in the way.</p>
<p>On Ubuntu, I&#8217;ve stuck with gedit, with several plugins, including the <a href="http://www.micahcarrick.com/11-14-2007/gedit-symbol-browser-plugin.html">Symbol Browser</a> from Micah Carrick. I tried, at various times, jEdit, gPhpEdit, and even Eclipse &#8212; but they all just &#8216;got in my way&#8217; too much. gPhpEdit came close, but I found the function list wasn&#8217;t always accurate.</p>
<p>However, three things prompted me to look elsewhere again: First, it was choking on some sql dumps I was editing; Second, the symbol browser stopped working in Karmic; and Third, I still hate the shortcuts. I still prefer ctrl-Y for &#8220;redo&#8221; rather than &#8220;ctrl-shift-Z&#8221;, and I really, really need a shortcut (ctrl-D) for &#8220;duplicate this line&#8221;.</p>
<p>So, I just came across <a href="http://www.geany.org/">Geany</a> &#8212; it&#8217;s great. It&#8217;s fast, configurable, stable, has a great symbol browser, has the shortcuts just right, and doesn&#8217;t get in my way. </p>
<p><a href="http://www.jfwhome.com/2009/12/09/looking-for-a-great-linux-php-editor-try-geany/geany/" rel="attachment wp-att-117"><img src="http://www.jfwhome.com/wp-content/uploads/2009/12/geany.jpg" alt="Geany" title="Geany" width="400" height="224" class="alignnone size-full wp-image-117" /></a></p>
<p>It seems that Geany&#8217;s been around for a while &#8212; and is even part of the standard image on some lightweight linux distros. But this is the first time I&#8217;ve come across it &#8212; and I&#8217;m glad I did.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/12/09/looking-for-a-great-linux-php-editor-try-geany/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Compiling SqueezePlay on linux (Ubuntu AMD64)</title>
		<link>http://www.jfwhome.com/2009/11/22/compiling-squeezeplay-on-linux-ubuntu-amd64/</link>
		<comments>http://www.jfwhome.com/2009/11/22/compiling-squeezeplay-on-linux-ubuntu-amd64/#comments</comments>
		<pubDate>Sat, 21 Nov 2009 19:53:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=88</guid>
		<description><![CDATA[Logitech Squeezeboxes are great little network audio streamers &#8212; I have a squeezebox Duet, which is much cooler (IMO) than an Apple TV + iPod.
Squeezeplay is the Squeezebox controller / squeezebox touch user interface, and it can run on any computer. You can use that computer as a controller for your squeezebox receiver, or as [...]]]></description>
			<content:encoded><![CDATA[<p>Logitech Squeezeboxes are great little network audio streamers &#8212; I have a squeezebox Duet, which is much cooler (IMO) than an Apple TV + iPod.</p>
<p>Squeezeplay is the Squeezebox controller / squeezebox touch user interface, and it can run on any computer. You can use that computer as a controller for your squeezebox receiver, or as a complete squeezebox, playing music. If you can get it running on a portable device, you effectively get a new Squeezebox Controller for free.</p>
<p>Unfortunately, even though the Squeezeboxes are based on a GNU/Linux foundation, Linux users don&#8217;t get much love when it comes to releases of SqueezePlay&#8230; so we have to compile it ourselves.</p>
<p>Here is how to get SqueezePlay working on Ubuntu karmic amd64, but the instructions should apply to other distros. I&#8217;ve also tested it on Karmic 32 bit.</p>
<p><span id="more-88"></span></p>
<p>In order to run SqueezePlay, we need to compile the latest development code for SqueezePlay 7.5 that Logitech have available online on their SVN server. This guide is correct as at 21 Nov 2009, but as the Logitech devs work on the code, things will change, and they might introduce new bugs. For now, this is the procedure &#8212; and it works nicely with my SqueezeCentre 7.4.1.</p>
<p>First of all, we need to install the required dependencies. This may not be a complete list, as I may have had things installed already &#8212; if you get errors with ld towards the end of the process, you may be missing some. </p>
<p>Install the below packages with the following command in a terminal:</p>
<p><code>sudo apt-get install build-essential flex bison subversion automake libtool libpng12-dev libjpeg62-dev libexpat1-dev libreadline5-dev xorg-dev libflac++-dev libvorbis-dev libvorbisidec-dev libasound-dev</code></p>
<p>Next, we need to grab the SVN source code. Create a directory somewhere, open a terminal, and cd into the directory. Then do:<br />
<code>svn co http://svn.slimdevices.com/repos/jive/7.5/trunk/squeezeplay</code></p>
<p>Wait while the source is downloaded. </p>
<p>Now, we need to fix a couple of bugs to ensure it compiles smoothly. I&#8217;ve reported these to the dev team, so if you can&#8217;t find the parts to change &#8212; or it looks like they are fixed already, then don&#8217;t worry <img src='http://www.jfwhome.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>The first two bugs are in &lt;your-folder&gt;/squeezeplay/src/Makefile.linux, so open up the file in a text editor, and make the following changes:</p>
<ul>
<li>On line 10, change <code>${PWD}</code> to <code>$(shell pwd)</code> . After the change, line 10 will look thus:<br />
<code>SRC_DIR = $(realpath $(shell pwd))</code> .</li>
<li>Change line 146 as from: <code>cd luaprofiler-2.0 &#038;&#038; make -f Makefile.linux install</code> to: <code>cd luaprofiler-2.0 &#038;&#038; LD="gcc -shared" make -f Makefile.linux install</code></li>
</ul>
<p>The third bug: browse to &lt;your-folder&gt;/squeezeplay/src/squeezeplay/src/audio/decode, and open decode.c. Find the printf statement on line 434, and change <code>%llu</code> to <code>%"PRIu64"</code>. After this, line 434 will look like this:<br />
<code>printf("elapsed:%"PRIu64" buffers: %0.1f%%/%0.1f%%\n", elapsed, dbuf, obuf);</code></p>
<p>Finally, we need to replace one of the static libraries that squeezeplay is using &#8212; the version of portaudio that is included is out of data, and prevents sound from playing. So, download the latest portaudio <a href="http://www.portaudio.com/archives/pa_snapshot.tgz">here</a>, put it in your squeezeplay/src directory, and double-click it to extract it there. Then rename Logitech&#8217;s <code>portaudio_v19_1360</code> directory to <code>portaudio_v19_1360--old</code>, and rename your new <code>portaudio</code> directoy to <code>portaudio_v19_1360</code>.</p>
<p>Now, it&#8217;s time to compile the code. Switch to the &lt;your-folder&gt;squeezeplay/src directory in your terminal (e.g. <code>cd squeezeplay/src</code>), and run the compile as follows:</p>
<p><code>sudo make -f  Makefile.linux</code></p>
<p>This will take a while. Once done, you will have a tarball in the ../build directory. To install squeezeplay, you just need to extract the contents of this to /opt/squeezeplay:</p>
<p><code><br />
cd ../build/<br />
sudo mkdir /opt/squeezeplay<br />
tar -C /opt/squeezeplay -xvf sq&lt;TAB&gt;<br />
</code></p>
<p>(the exact name of the squeezeplay tarball will vary &#8212; just hit tab to have it auto-complete).</p>
<p>then, to start squeezeplay, the command is:<br />
<code>/opt/squeezeplay/bin/squeezeplay.sh</code></p>
<p>to uninstall, just delete it from /opt.</p>
<p>Some potential hiccups:</p>
<ul>
<li>Makefile.linux has a &#8220;-deb&#8221; option that is supposed to build a .deb package for installation. However, it doesn&#8217;t seem to work. Furthermore, if you try it, you&#8217;ll need to clear out your working folder and start again &#8212; even with &#8216;make clean&#8217;, you&#8217;ll never be able to build a package until you start over, for some reason.</li>
</ul>
<p>&nbsp;</p>
<div id="attachment_92" class="wp-caption alignnone" style="width: 502px"><a href="http://www.jfwhome.com/2009/11/22/compiling-squeezeplay-on-linux-ubuntu-amd64/squeezeplay1/" rel="attachment wp-att-92"><img src="http://www.jfwhome.com/wp-content/uploads/2009/11/squeezeplay1.png" alt="Squeezeplay on Ubuntu" title="Squeezeplay01" width="492" height="296" class="size-full wp-image-92" /></a><p class="wp-caption-text">Squeezeplay on Ubuntu</p></div>
<p>My next step is to get it running on an old iPaq PDA I have lying around&#8230; watch this space!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/11/22/compiling-squeezeplay-on-linux-ubuntu-amd64/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Fixing the (too low) position of notifications in Ubuntu Karmic</title>
		<link>http://www.jfwhome.com/2009/11/12/fixing-the-too-low-notifications-in-ubuntu-karmic/</link>
		<comments>http://www.jfwhome.com/2009/11/12/fixing-the-too-low-notifications-in-ubuntu-karmic/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 16:06:39 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=81</guid>
		<description><![CDATA[One of the first things I noticed on upgrading to Karmic was that notifications were lower than they were in Jaunty.
Like most people, at first, I thought this was a bug. The short answer is &#8212; it isn&#8217;t. The devs, in their infinite wisdom, think its better this way &#8212; the &#8220;top slot&#8221; for notifications [...]]]></description>
			<content:encoded><![CDATA[<p>One of the first things I noticed on upgrading to Karmic was that notifications were lower than they were in Jaunty.</p>
<p>Like most people, at first, I thought this was a bug. The short answer is &#8212; it isn&#8217;t. The devs, in their infinite wisdom, think its better this way &#8212; the &#8220;top slot&#8221; for notifications is reserved for synchronous notifications, such as brightness and volume.</p>
<div id="attachment_82" class="wp-caption alignnone" style="width: 160px"><a href="http://www.jfwhome.com/2009/11/12/fixing-the-too-low-notifications-in-ubuntu-karmic/orig/" rel="attachment wp-att-82"><img src="http://www.jfwhome.com/wp-content/uploads/2009/11/orig-150x150.png" alt="Karmic notification position" title="Dislocated notification" width="150" height="150" class="size-thumbnail wp-image-82" /></a><p class="wp-caption-text">Karmic notification position</p></div>
<p><span id="more-81"></span></p>
<p>Again, like most people, I completely disagree with the change &#8212; I think notifications hovering in the upper third of my screen are annoying, get in my way, and look sloppy. If they are worried about synchronous notifications moving around, they should centre them on the screen, like on a Mac &#8212; not move everything else around.</p>
<p>Anyway, <a href="https://launchpad.net/~gilir">Julien Lavergne</a> has cooked up a quick patch for notify-osd that reverts back to the old behaviour. What&#8217;s more, he&#8217;s compiled notify-osd with the patch incorporated, so we can automatically use it.</p>
<p>To make use of his patch, and have it automatically kept up-to-date, you&#8217;ll need to add a new software source. You can do that with this one-liner in a terminal: <code>sudo add-apt-repository ppa:gilir/updates</code></p>
<p>Then do an update through Update Manager, or through <code>sudo apt-get update &#038;&#038; sudo apt-get upgrade</code>.</p>
<p>And &#8212; there you go:</p>
<div id="attachment_83" class="wp-caption alignnone" style="width: 160px"><a href="http://www.jfwhome.com/2009/11/12/fixing-the-too-low-notifications-in-ubuntu-karmic/after/" rel="attachment wp-att-83"><img src="http://www.jfwhome.com/wp-content/uploads/2009/11/after-150x150.png" alt="That&#039;s much better" title="After the fix" width="150" height="150" class="size-thumbnail wp-image-83" /></a><p class="wp-caption-text">That's much better</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/11/12/fixing-the-too-low-notifications-in-ubuntu-karmic/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Upgrading from Ubuntu Jaunty (9.04) to Karmic (9.10) on the eeePC 1005HA (and 1008HA)</title>
		<link>http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/</link>
		<comments>http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 15:06:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=68</guid>
		<description><![CDATA[If you followed my guide on getting Ubuntu 9.04 to run nicely on the eeePC 1005HA, and have or are considering upgrading to Karmic, these few notes will help you.

If you do a fresh install of Karmic, everything will work just fine out of the box on the 1005HA. However, a fresh install is complete [...]]]></description>
			<content:encoded><![CDATA[<p>If you followed <a href="http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/">my guide</a> on getting Ubuntu 9.04 to run nicely on the eeePC 1005HA, and have or are considering upgrading to Karmic, these few notes will help you.</p>
<div id="attachment_69" class="wp-caption alignnone" style="width: 160px"><a href="http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/screenshot-2/" rel="attachment wp-att-69"><img src="http://www.jfwhome.com/wp-content/uploads/2009/11/screenshot-150x150.png" alt="A karmic Koala in a seashell" title="Karmic netbook screenshot" width="150" height="150" class="size-thumbnail wp-image-69" /></a><p class="wp-caption-text">A karmic Koala in a seashell</p></div>
<p><span id="more-68"></span></p>
<p>If you do a fresh install of Karmic, everything will work just fine out of the box on the 1005HA. However, a fresh install is complete overkill. As always with Ubuntu &#8212; and with most Linux distributions in general &#8212; upgrading is easy. Few clicks in the package manager, and away you go.</p>
<p>However, if you followed <a href="http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/">my guide</a> to installing Jaunty, you&#8217;ll have a few old packages kicking around that will cause a few idiosyncrasies. Immediately after the upgrade, I found that wireless was less reliable, particularly after suspend/resume. Also, I found that suspend was not reliable.</p>
<p>The solution is easy: you need to remove some of the things you installed.</p>
<p>You can remove these using Synaptic, or by doing <code>apt-get remove &lt;packagename1&gt; &lt;packagename2&gt; &lt;packagename3&gt; ....</code>.</p>
<p>Remove the following:</p>
<ul>
<li>Any backports you have installed, in particular <em>linux-backports-modules-jaunty</em>, but that is just a metapackage &#8212; check that no <em>linux-backports*</em> are installed. You won&#8217;t need any of the new karmic backports either.</li>
<li> <em>eeepc-tray</em> and <em>eeepc-laptop-dkms</em> or <em>netbook-dkms</em>.</li>
</ul>
<p>After doing this, restart and make sure all your packages are up to date (use update manager or do <code>sudo apt-get update &#038;&#038; sudo apt-get upgrade</code>.</p>
<p>Then, as the last step, you need to remove all the unneeded packages that were pulled in as dependencies previously. Easy &#8212; in a terminal, just type <code>sudo apt-get autoremove</code>. It&#8217;ll ask you to confirm, and you should see packages such as <em>dkms</em> being removed.</p>
<p>Finally, restart, and you should be all set <img src='http://www.jfwhome.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Querying subfolders in SharePoint lists using SPAPI and GetListItems()</title>
		<link>http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/</link>
		<comments>http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/#comments</comments>
		<pubDate>Wed, 11 Nov 2009 03:20:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<category><![CDATA[SharePoint]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=61</guid>
		<description><![CDATA[This took a while to figure out. I&#8217;ve been trying to query the SharePoint lists service using getListItems(). 
Getting something from inside one folder is easy &#8212; you just set the queryOptions parameter to be &#60;QueryOptions&#62;&#60;Folder&#62;folderName&#60;/Folder&#62;&#60;/QueryOptions&#62;. 
This works and returns items fron within that folder. But what about subfolders? 

One would expect it to be [...]]]></description>
			<content:encoded><![CDATA[<p>This took a while to figure out. I&#8217;ve been trying to query the SharePoint lists service using getListItems(). </p>
<p>Getting something from inside one folder is easy &#8212; you just set the queryOptions parameter to be <code>&lt;QueryOptions&gt;&lt;Folder&gt;folderName&lt;/Folder&gt;&lt;/QueryOptions&gt;</code>. </p>
<p>This works and returns items fron within that folder. But what about subfolders? </p>
<p><span id="more-61"></span></p>
<p>One would expect it to be simple &#8212; but it is not, replacing folderName with <code>folderName\subFolder</code> does not work &#8212; it still returns items from within folderName.</p>
<p>The solution is simple but non-obvious. For sub-folders, you have to include the name of the list as the first path element &#8212; so the query becomes <code>&lt;QueryOptions&gt;&lt;Folder&gt;listName\folderName\subFolder&lt;/Folder&gt;&lt;/QueryOptions&gt;</code></p>
<p>This doesn&#8217;t seem to be covered in any documentation, and is non-obvious, inconsistent behaviour. It resulted in a lot of wasted time for me. Unsurprising really for the over-complex, proprietary, non-standard mess that is SharePoint.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/11/11/querying-subfolders-in-sharepoint-lists-using-spapi-and-getlistitems/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Restoring karmic&#8217;s GDM (login screen) to black after trying &#8220;high contrast&#8221; option.</title>
		<link>http://www.jfwhome.com/2009/11/08/restoring-karmics-gdm-login-screen-to-black-after-trying-high-contrast-option/</link>
		<comments>http://www.jfwhome.com/2009/11/08/restoring-karmics-gdm-login-screen-to-black-after-trying-high-contrast-option/#comments</comments>
		<pubDate>Sun, 08 Nov 2009 09:21:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=59</guid>
		<description><![CDATA[Ubuntu 9.10&#8217;s new login screen looks great &#8212; brown, black and white. Much improved over the previous version.
However, if you try out the Accessibility options, in particular, the &#8220;improve contrast&#8221; option, it goes ugly, with a nasty grey bar.
The problem is that, even after you deselect the option, the theme does not revert back, even [...]]]></description>
			<content:encoded><![CDATA[<p>Ubuntu 9.10&#8217;s new login screen looks great &#8212; brown, black and white. Much improved over the previous version.</p>
<p>However, if you try out the Accessibility options, in particular, the &#8220;improve contrast&#8221; option, it goes ugly, with a nasty grey bar.</p>
<p>The problem is that, even after you deselect the option, the theme does not revert back, even after restarting again. The problem is that some needed theme files are deleted.</p>
<p>The solution is simple &#8212; you need to re-install gdm. Either fire up Synaptic, search for gdm, and then mark it for re-installation, or do <code>sudo aptitude reinstall gdm</code> in a terminal.</p>
<p>There you go &#8212; sexy login screen back again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/11/08/restoring-karmics-gdm-login-screen-to-black-after-trying-high-contrast-option/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Perfect Ubuntu Jaunty on the Asus eeePC 1005HA (and 1008HA)</title>
		<link>http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/</link>
		<comments>http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/#comments</comments>
		<pubDate>Wed, 05 Aug 2009 17:26:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[1005HA]]></category>

		<category><![CDATA[eeePC]]></category>

		<category><![CDATA[Jaunty]]></category>

		<category><![CDATA[netbook]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=19</guid>
		<description><![CDATA[The 1005HA is one of the brand new Asus eeePC netbooks, and it is a great little machine &#8212; aside from the fact that it comes with Windows XP or a dumbed-down customised Xandros (allegedly &#8212; as time goes on, Asus seem to be selling out to Microsoft).
As the 1005HA is pretty new, it has [...]]]></description>
			<content:encoded><![CDATA[<p>The 1005HA is one of the brand new Asus eeePC netbooks, and it is a great little machine &#8212; aside from the fact that it comes with Windows XP or a dumbed-down customised Xandros (allegedly &#8212; as time goes on, Asus seem to be selling out to Microsoft).</p>
<p>As the 1005HA is pretty new, it has a few odd hardware quirks that won&#8217;t be fully supported out of the box until the next release of Ubuntu.</p>
<p>Here I run through what I did to end up with a 100% working install &#8212; including all Fn hotkeys. The good news is that it is very easy!</p>
<div id="attachment_25" class="wp-caption alignnone" style="width: 160px"><a rel="attachment wp-att-25" href="http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/desktop/"><img class="size-thumbnail wp-image-25" title="My perfect Ubuntu setup on the 1005HA" src="http://www.jfwhome.com/wp-content/uploads/2009/08/desktop-150x150.png" alt="My perfect Ubuntu setup on the 1005HA" width="150" height="150" /></a><p class="wp-caption-text">My perfect Ubuntu setup on the 1005HA</p></div>
<p><span id="more-19"></span></p>
<blockquote style="border: 1px solid #fff;"><p>If you followed these instructions before, and now want to upgrade to Karmic, see my notes <a href="http://www.jfwhome.com/2009/11/11/upgrading-from-ubuntu-jaunty-904-to-karmic-910-on-the-eeepc-1005ha-and-1008ha/">here</a>.</p></blockquote>
<p><strong>Step 1: Installing Ubuntu</strong></p>
<p>Start off with Ubuntu Netbook Remix. It is designed for netbooks and comes with a customised kernel. Even if you don&#8217;t like the special netbook interface, it can be easily reverted to the default Ubuntu look with a single click.<br />
<a href="http://www.ubuntu.com/GetUbuntu/download-netbook"><br />
Download it here</a>, and <a href="https://help.ubuntu.com/community/Installation/FromImgFiles">follow the simple instructions here</a> to create an installer on a USB stick.</p>
<p>Power on your netbook, and repeatedly tap F2 to bring up the BIOS configuration.</p>
<p>Under &#8220;Boot settings&#8221;, disable &#8220;Boot Booster&#8221;, and hit F10 to save settings. We do this so that we can specify our USB installer as the boot device, and can re-enable it later.</p>
<p>When the machine reboots, hit &#8220;Esc&#8221; repeatedly to being up the boot menu. Choose the USB key, and away you go.</p>
<p>I wouldn&#8217;t bother with the &#8220;live preview&#8221;, and jump straight into the install.</p>
<p>The Ubuntu install process is straightforward.</p>
<p><strong>Partitioning during install</strong></p>
<p>Partition the disk however you like.</p>
<p>I created separate partitions for / (20gb), /boot (1gb), swap (4gb), bootbooster efi partition (16MB), and /home (the remainder), but how you do it is really up to you. I favour the above partitioning scheme to serve me really well over the years.</p>
<p>I set /home, /boot and / to format as ext4, and found performance to be great.</p>
<p>Don&#8217;t forget to create a swap partition of around 2x the amount of RAM if you want hibernation to work!</p>
<p>The EFI partition is for the Asus Boot Booster feature. It needs to be 8MB &#8212; I made it 16 just to be sure. At boot time, BIOS information is cached in this little partition so that the power-on self test can be bypassed. It speeds up the boot process by several seconds, which I think is great.</p>
<p>You can leave the EFI that comes pre-created. However, I wanted to blow away all partitions and start from scratch with my own partitioning scheme, so I recreated it. It must be a primary partition. It must be labelled as type &#8220;EFI&#8221;, which I was not able to do using the installer. See below for instructions on how to set it after the install is completed. Leave this partition unformatted.</p>
<p><strong>Wired networking</strong></p>
<p>After install, the first thing you&#8217;ll notice is that ethernet and wireless networking aren&#8217;t working. Fortunately, they&#8217;re easy to fix.</p>
<p>On a computer with working networking, download this file:</p>
<p><a href='http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/atheros-wired-driver-1005ha-linux/' rel='attachment wp-att-38'>atheros-wired-driver-1005ha-linux</a></p>
<p>Open the zip file (double-click it), and extract it to the location of your choice. Then, in a terminal, navigate (&#8217;cd&#8217;) to the &#8217;src&#8217; directory of the unpacked files, and type:<br />
<code><br />
make<br />
sudo make install<br />
sudo insmod atl1e.ko<br />
</code></p>
<p>If you receive an error after the first line, and you&#8217;re not running Ubuntu Jaunty UNR, ensure you have the linux headers package installed for your kernel &#8212; you&#8217;ll need to find and download the appropriate .deb and install it. Information is <a href="http://ubuntuforums.org/showpost.php?p=7690745&#038;postcount=8">here</a>.</p>
<p>Until Ubuntu Karmic is released, every time you do a kernel update, you will need to re-run the last two steps (preceded by a <code>sudo rmmod atl1e.ko</code>).</p>
<p>You now have ethernet network &#8212; so plug yourself in to a network cable and set up wireless&#8230;</p>
<p><strong>Wireless networking</strong></p>
<p>This is easy &#8212; you just need to install the driver back-ported from the next Ubuntu release. </p>
<p>First, enable the backports repository: Administration > Software Sources > Updates and enable &#8220;Unsupported Updates (jaunty-backports)&#8221;.</p>
<p>Then, open Synaptic Package Manager, find the package <code>linux-backports-modules-jaunty</code>, and install it.</p>
<p><strong>Getting rid of the Netbook Remix interface</strong></p>
<p>While the netbook remix interface is innovative, I prefer having a desktop and a normal panel with window switcher. To kill the netbook interface, Just go to Preferences &gt; Switch Desktop Mode.</p>
<p>Gnome panels can take up too much space on a netbook screen &#8212; you can set them to auto-hide by right-clicking them and choosing Properties. To speed up the auto-hide behaviour, fire up <code>gconf-editor</code>, and navigate to apps &gt; panel &gt; toplevels, and reduce <code>hide_delay</code> and <code>unhde_delay</code> for each panel.</p>
<p><strong>Super Hybrid Engine, Installing an eeePC tray utility, and getting all hotkeys to work</strong></p>
<p>An eeePC tray utility is useful in order to utilise Asus&#8217; so-called &#8220;Super Hybrid Engine&#8221;, which is really just marketing lingo for adjusting processor speed for different power:performance profiles. It also enables you to switch on/off all the eeePC&#8217;s integrated peripherals with a click or two, or using the hotkeys.</p>
<p>After a bit of trial and error, I found that the best tool for the job is &#8220;eeepc-tray&#8221;. It can be installed from a repository, which means that it will be automatically kept up to date.</p>
<p>Follow <a href="http://www.statux.org/content?page=repo">these simple instructions</a> to add the statux.org repository.</p>
<p>When done, fire up Synaptic Package Manager, and find and install the packages eeepc-tray and eeepc-laptop-dkms. When done, reboot.</p>
<p>Now, all your hotkeys, apart from Fn+Space, Fn+F3, and the top-left touchpad enable/disable buttons,will be working.</p>
<p><strong>Finishing off: Final hotkeys</strong></p>
<p>First off, we need to make the touchpad addressable by other applications. The safest way to do that is through a rather cumbersome SHMConfig policy XML file.</p>
<p>Create a new plain text file, with the following content:<br />
<code><br />
&lt;?xml version="1.0" encoding="UTF-8"?&gt;<br />
&lt;deviceinfo version="0.2"&gt;<br />
&lt;device&gt;<br />
&lt;match key="info.product" string="SynPS/2 Synaptics TouchPad"&gt;<br />
&lt;merge key="input.x11_options.SHMConfig" type="string"&gt;True&lt;/merge&gt;<br />
&lt;merge key="input.x11_driver" type="string"&gt;synaptics&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;device&gt;<br />
&lt;match key="info.linux.driver" string="psmouse"&gt;<br />
&lt;merge key="input.x11_options.SHMConfig" type="string"&gt;True&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;/deviceinfo&gt;<br />
</code><br />
and save it as <code>/etc/hal/fdi/policy/shmconfig.fdi</code>.</p>
<p>Then reboot, or restart X (right-alt - SysRq - k), and the touhpad will now be addressable. When you type, it will briefly disable to prevent accidental mousing.</p>
<p>All we need to do now is enable the outstanding hotkeys. Right-click the eeepc-tray icon, click &#8220;Edit Configuration&#8221;, and paste the following in the empty file:<br />
<code><br />
#Touchpad control<br />
KEY_TOUCHPAD="00000037"<br />
# Fn + space<br />
KEY_FSB="00000039"<br />
</code></p>
<p>And there you go&#8230; all working!</p>
<p><strong>Sound and microphone</strong></p>
<p>The sound works perfectly out of the box. However, the microphone input is set to the microphone jack, rather than the internal mic by default. To change it, open Volume Control, hit Preferences, and enable all the Mic and Input Source options. Then, set the input source to &#8220;Int Mic&#8221; under the Options tab.</p>
<p>In skype, set your Sound In device to be HDA Intel (hw:Intel, 0). (Sound Out and Ringing should be set to &#8216;pulse&#8217;)</p>
<p><strong>Setting the EFI partition for boot booster</strong></p>
<p>As mentioned above in the partitioning section, for boot booster to work if you removed the default Asus EFI partition during install, you&#8217;ll need to set your new 8MB primary partition as type &#8220;EFI&#8221;. Doing that is simple:</p>
<p>open a terminal, and type <code>sudo fdisk -l</code> to list your partitions. Look for the little Boot Booster partition you set aside. My EFI partition was on device /dev/sda3.</p>
<p>Then, to set the appropriate partition as &#8220;EFI&#8221;, type <code>sudo sfdisk --change-id /dev/sda 3 ef</code>, replacing &#8220;3&#8243; with the device name you found in the previous step (e.g. &#8220;2&#8243; for /dev/sda2).</p>
<p>Just be sure you do it to the right partition &#8212; back up your data first if you&#8217;re unsure!</p>
<p>When you reboot, hit F2, and re-enable boot booster in the BIOS.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/08/06/perfect-ubuntu-jaunty-on-the-asus-eeepc-1005ha-and-1008ha/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Ubuntu: Getting rid of icons for mounted network shares</title>
		<link>http://www.jfwhome.com/2009/08/04/ubuntu-getting-rid-of-icons-for-mounted-network-shares/</link>
		<comments>http://www.jfwhome.com/2009/08/04/ubuntu-getting-rid-of-icons-for-mounted-network-shares/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 15:07:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[Linux]]></category>

		<category><![CDATA[Jaunty]]></category>

		<category><![CDATA[Networking]]></category>

		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.jfwhome.com/?p=15</guid>
		<description><![CDATA[I have several network NFS shares that I mount in Ubuntu using /etc/fstab. While this works fine, recent versions (I think it has been annoying me since Edgy) of Ubuntu have an annoying habit of creating a desktop icon for each share.
A desktop icon is fine for an SD card, or a USB stick, but [...]]]></description>
			<content:encoded><![CDATA[<p>I have several network NFS shares that I mount in Ubuntu using /etc/fstab. While this works fine, recent versions (I think it has been annoying me since Edgy) of Ubuntu have an annoying habit of creating a desktop icon for each share.</p>
<div id="attachment_16" class="wp-caption alignleft" style="width: 160px"><a href="http://www.jfwhome.com/2009/08/04/ubuntu-getting-rid-of-icons-for-mounted-network-shares/screenshot/" rel="attachment wp-att-16"><img src="http://www.jfwhome.com/wp-content/uploads/2009/08/screenshot-150x150.png" alt="Annoying!" title="NFS mount icon" width="150" height="150" class="size-thumbnail wp-image-16" /></a><p class="wp-caption-text">Annoying!</p></div>
<p>A desktop icon is fine for an SD card, or a USB stick, but it&#8217;s not ideal when you have a ton of network shares.</p>
<p><a href="http://tombuntu.com/index.php/2007/10/25/hide-partition-icons-from-your-ubuntu-desktop/">It is easy</a> to turn off all desktop icons for mounts using gconf-editor. But I still want some of them (such as the aforementioned USB sticks) to show &#8212; just not the NFS mounts.</p>
<p>As it turns out, the solution is actually obvious: semi-permanent items should be mounted in the right place, under /mnt. If you mount elsewhere, e.g. under /home, you get the annoying icon. Under /mnt? No icon.</p>
<p>Although this turned out to be quite obvious, it is new to me &#8212; for well over a year now I&#8217;ve just had all desktop mount icons turned off waiting for the solution.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jfwhome.com/2009/08/04/ubuntu-getting-rid-of-icons-for-mounted-network-shares/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
