<?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>ubuntu &#8211; Everything is Broken</title>
	<atom:link href="https://play.datalude.com/blog/tag/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>https://play.datalude.com/blog</link>
	<description>Efficiency vs. Inefficiency, in a no-holds barred fight.</description>
	<lastBuildDate>Wed, 06 Aug 2025 02:31:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.1</generator>
	<item>
		<title>Google Gemini bad qdrant systemd advice</title>
		<link>https://play.datalude.com/blog/2025/08/google-gemini-bad-qdrant-systemd-advice/</link>
					<comments>https://play.datalude.com/blog/2025/08/google-gemini-bad-qdrant-systemd-advice/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Wed, 06 Aug 2025 02:00:38 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://play.datalude.com/blog/?p=742</guid>

					<description><![CDATA[Sometimes I give AI a shot. This was one of the occasions where I did, and it ended up costing me more time that actually trying to solve the problem myself. I had a request to run qdrant database, and I didn't want to do it under docker, due to all the extra nonsense that ... <a title="Google Gemini bad qdrant systemd advice" class="read-more" href="https://play.datalude.com/blog/2025/08/google-gemini-bad-qdrant-systemd-advice/" aria-label="Read more about Google Gemini bad qdrant systemd advice">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Sometimes I give AI a shot. This was one of the occasions where I did, and it ended up costing me more time that actually trying to solve the problem myself. </p>



<p class="wp-block-paragraph">I had a request to run qdrant database, and I didn't want to do it under docker, due to all the extra nonsense that entails. So having installed it, basically just dropping a binary on the filesystem, I wanted to run it as a systemd service, under a specific user, qdrant. <br><br>On the qdrant site, they don't give an example, so I thought it would be quickest to ask Google Gemini, which quickly squirted out a reply. So I activated it and was confused when it wouldn't start. About an hour later, I figured out that the inline comments which Gemini had put in the systemd service files are not allowed. And when telling Gemini about this it cheerfully admitted that it knew about this all along:</p>



<figure class="wp-block-image size-full"><a href="https://play.datalude.com/blog/wp-content/uploads/2025/08/googleduh_16-50.jpg"><img fetchpriority="high" decoding="async" width="838" height="712" src="https://play.datalude.com/blog/wp-content/uploads/2025/08/googleduh_16-50.jpg" alt="" class="wp-image-743" srcset="https://play.datalude.com/blog/wp-content/uploads/2025/08/googleduh_16-50.jpg 838w, https://play.datalude.com/blog/wp-content/uploads/2025/08/googleduh_16-50-300x255.jpg 300w, https://play.datalude.com/blog/wp-content/uploads/2025/08/googleduh_16-50-768x653.jpg 768w" sizes="(max-width: 838px) 100vw, 838px" /></a></figure>



<p class="wp-block-paragraph">Even though I 'shared' the finding, I'm skeptical that Gemini will learn from it, so here is the working qdrant systemd file for anyone interested. </p>



<pre class="wp-block-preformatted"><code><code>[Unit]
Description=Qdrant Vector Database
After=network.target

[Service]
# sudo adduser --system --no-create-home --group qdrant
User=qdrant
Group=qdrant

ExecStart=/usr/bin/qdrant --config-path /etc/qdrant/config.yaml

# Put all data in here, please
WorkingDirectory=/qdrant

# Increase open file limit for better performance
LimitNOFILE=65536

Restart=on-failure
RestartSec=5s

[Install]
WantedBy=multi-user.target</code></code></pre>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2025/08/google-gemini-bad-qdrant-systemd-advice/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Migrating from Notecase to CherryTree</title>
		<link>https://play.datalude.com/blog/2022/10/migrating-from-notecase-to-cherrytree/</link>
					<comments>https://play.datalude.com/blog/2022/10/migrating-from-notecase-to-cherrytree/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 10 Oct 2022 07:56:29 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://play.datalude.com/blog/?p=678</guid>

					<description><![CDATA[So I have a few documents which started life in TreePad. Then about 8 years ago I migrated them to Notecase, for reasons I don't remember. I hadn't opened them for a few months, but when I opened one in Notecase last week, I found out that they'd removed the everlasting Trial mode and they ... <a title="Migrating from Notecase to CherryTree" class="read-more" href="https://play.datalude.com/blog/2022/10/migrating-from-notecase-to-cherrytree/" aria-label="Read more about Migrating from Notecase to CherryTree">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">So I have a few documents which started life in TreePad. Then about 8 years ago I migrated them to Notecase, for reasons I don't remember. I hadn't opened them for a few months, but when I opened one in Notecase last week, I found out that they'd removed the everlasting Trial mode and they now have only a 30-day trial or paid modes. The prices are not unreasonable, but given that I hadn't opened any documents in the 6 months since they implemented the change, I decided to look for another Note Organizer. My search took me to CherryTree. </p>



<p class="wp-block-paragraph">CherryTree claims to be able to import from Notecase. However I tried various experiments, exporting to HTML, to Notecase HTML, plain text, MD, etc, but I couldn't get it to import any of the notes <em>nested</em> as originally intended. I could have sat there and dragged them around with the mouse until they were in the right place, and that would have been do-able, but a boring couple of hours. So I looked further. </p>



<p class="wp-block-paragraph">I found mention in the Github Issues page of <a rel="noreferrer noopener" href="https://github.com/giuspen/cherrytree" target="_blank">CherryTree</a> that the previous version of CherryTree was able to correctly import the notes structure from NoteCase. But that since the  developer is in the process of migrating the code from python to c++ (I think), then that functionality had been abandoned until he can re-implement it. I tried to find old versions of the app as flatpak, snap, and AppImage, but there weren't any.  So here's the convoluted story of how I got it to work. </p>



<ul class="wp-block-list">
<li>Download Ubuntu 16.04 Desktop and install it as a virtual machine in VirtualBox</li>



<li>Install the relevant CherryTree 0.34 version from <a href="https://launchpad.net/~giuspen/+archive/ubuntu/ppa/+packages" target="_blank" rel="noreferrer noopener">here</a>. </li>



<li>Export from the current NoteCase file as a notecase ncd. (ncdb and ncz formats don't work).  In order to get Notecase to start in 30 day trial mode I needed to first remove the ~/.notecase/ directory contents. </li>



<li>Open the ncd file in CherryTree 0.34 on Ubuntu 16. Save as CherryTree .ctb format. </li>



<li>Copy files back to main machine where they could be opened with a recent version of CherryTree. </li>
</ul>



<p class="wp-block-paragraph">OK, so now that's looking good, except all the notes are imported as rtf instead of plain text. Probably not a problem, but in my case it was, as I relied on monospace font for formatting in the originals, so I needed text format. The .ctb file format is in sqlite3, so I used dbeaver to examine it, and came up with the following SQL code to change all the rtf notes into txt notes. </p>



<pre class="wp-block-code"><code># Strip rtf header and footer from note
UPDATE node SET txt = REPLACE(txt,'&lt;?xml version="1.0" ?&gt;&lt;node&gt;&lt;rich_text&gt;','') WHERE is_richtxt = "1";
UPDATE node SET txt = REPLACE(txt,'&lt;/rich_text&gt;&lt;/node&gt;','') WHERE is_richtxt = "1";
# Set flags
UPDATE node SET syntax = "plain-text" WHERE is_richtxt = "1";
UPDATE node SET is_richtxt = "0" WHERE is_richtxt = "1";</code></pre>



<p class="wp-block-paragraph">And that was that. Probably more work than I initially intended, but the journey is part of the fun. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2022/10/migrating-from-notecase-to-cherrytree/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>ClamAV reporting Outdated version</title>
		<link>https://play.datalude.com/blog/2010/05/clamav-reporting-outdated-version/</link>
					<comments>https://play.datalude.com/blog/2010/05/clamav-reporting-outdated-version/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 04 May 2010 03:05:52 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[clamav]]></category>
		<category><![CDATA[latest version]]></category>
		<category><![CDATA[repositories]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[update]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=200</guid>

					<description><![CDATA[Just to remind myself as much as anything, as I've been through this a few times. ClamAV was complaining loudly in the logfiles about not having the most up to date ClamAV. I searched around and was pointed to the Debian Unstable repository to /etc/apt/sources.list (Read the whole article before you add this one &#8230;there ... <a title="ClamAV reporting Outdated version" class="read-more" href="https://play.datalude.com/blog/2010/05/clamav-reporting-outdated-version/" aria-label="Read more about ClamAV reporting Outdated version">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>Just to remind myself as much as anything, as I've been through this a few times. ClamAV was complaining loudly in the logfiles about not having the most up to date ClamAV. I searched around and was pointed to the Debian Unstable repository to /etc/apt/sources.list (Read the whole article before you add this one &#8230;there is a better one)</p>
<p>After that, on running<strong> apt-get update</strong>, you get a message like this:</p>
<p>W: GPG error: http://volatile.debian.org etch/volatile Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY DFD993306D849617</p>
<p>So, take the pubkey number off the end and do this with it.</p>
<pre>sudo gpg --keyserver subkeys.pgp.net --recv-keys DFD993306D849617</pre>
<pre>sudo gpg --armor --export DFD993306D849617 &gt; new.key</pre>
<pre>sudo apt-key add new.key</pre>
<p>I then got a message saying "The following packages have been kept back: clamav clamav-daemon clamav-freshclam"</p>
<p>By using</p>
<pre> sudo <strong>aptitude</strong> dist-upgrade</pre>
<p>(NB aptitude rather than apt-get) the new packages are downloaded. However they're still not up to the level that ClamAV is telling me to upgrade to.</p>
<p>So, more searching. It turns out the most up to date Ubuntu Repositories are from this page &#8230; <a href="https://launchpad.net/~ubuntu-clamav/+archive/ppa">https://launchpad.net/~ubuntu-clamav/+archive/ppa</a>. In my case the solution was to add these lines to my /etc/apt/sources.list</p>
<pre>deb http://ppa.launchpad.net/ubuntu-clamav/ppa/ubuntu hardy main</pre>
<pre>deb-src http://ppa.launchpad.net/ubuntu-clamav/ppa/ubuntu hardy main</pre>
<p>And then run through the pubkey process above, with the different pubkey id number. Later distros might get away with the add-apt-key command, but I was running hardy (8.04) on this particular server.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2010/05/clamav-reporting-outdated-version/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu upgrade 9.04 to 9.10</title>
		<link>https://play.datalude.com/blog/2009/11/ubuntu-upgrade-9-04-to-9-10/</link>
					<comments>https://play.datalude.com/blog/2009/11/ubuntu-upgrade-9-04-to-9-10/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 05 Nov 2009 03:28:37 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[thinkpad R51e]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[upgrade]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=181</guid>

					<description><![CDATA[I've learnt my lesson on this a few times: things break when you upgrade Ubuntu on laptops. I can understand why. There is a huge variety of hardware for laptops, particularly BIOSes, sound chips and wireless chips, and every manufacturer likes to tweak them a bit. The Linux kernel has the unenviable task of having ... <a title="Ubuntu upgrade 9.04 to 9.10" class="read-more" href="https://play.datalude.com/blog/2009/11/ubuntu-upgrade-9-04-to-9-10/" aria-label="Read more about Ubuntu upgrade 9.04 to 9.10">Read more</a>]]></description>
										<content:encoded><![CDATA[<p><a href="http://play.datalude.com/blog/wp-content/uploads/2009/11/Screenshot-Update-Manager.png"><img decoding="async" class="alignright size-medium wp-image-184" title="Screenshot-Update Manager" src="http://play.datalude.com/blog/wp-content/uploads/2009/11/Screenshot-Update-Manager-237x300.png" alt="Screenshot-Update Manager" width="237" height="300" srcset="https://play.datalude.com/blog/wp-content/uploads/2009/11/Screenshot-Update-Manager-237x300.png 237w, https://play.datalude.com/blog/wp-content/uploads/2009/11/Screenshot-Update-Manager.png 388w" sizes="(max-width: 237px) 100vw, 237px" /></a>I've learnt my lesson on this a few times: things break when you upgrade Ubuntu on laptops. I can understand why. There is a huge variety of hardware for laptops, particularly BIOSes, sound chips and wireless chips, and every manufacturer likes to tweak them a bit. The Linux kernel has the unenviable task of having to support ALL of them immediately, whereas in Windows the hardware component manufacturer supplies drivers which you have to install to get your machine working correctly.</p>
<p>Anyway, for example, last time I upgraded my two laptops from 8.10 to 9.04, a lot of things broke, and I was hurting for a long time. In fact one of the laptops never really got straight. This was irritating for me, but as I had another laptop to use for my main work, it wasn't a major annoyance. But I can imagine if you only have one machine and the sound doesn't work on it, for example, it would leave a nasty taste in your mouth.</p>
<p>So this time, I started with the Thinkpad R51e, which is my spare laptop. I have the /home directory mounted on a separate partition, which makes things really easy. Basically you just blow away the main OS partition, and then remount the your data partition at /home, preserving all your data. (OK its a little more complicated than that, but I'm not blogging about that right now).<span id="more-181"></span></p>
<p>What I <strong>am</strong> blogging about is the complete success of the upgrade. The Thinkpad R51e works flawlessly. The sound, which never worked previously is now fine. The random freezes which I put down to some sort of ACPI weirdness, now don't occur. The wireless, which was working OK, <em>failed to break</em>. Marvellous. So if you've got a Thinkpad R51e out there, do yourself a favour and upgrade it. I'd recommend the re-install rather than the in-place upgrade.</p>
<p>Emboldened, I also tried it on my Dell Mini 10v. As this was a new install, and I hadn't had any problems with 9.04, I did an in-place upgrade. Also running fine. Now &#8230; should I do it on my main work machine &#8230;.?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2009/11/ubuntu-upgrade-9-04-to-9-10/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu Firefox&#039;s Tattletale Search Query</title>
		<link>https://play.datalude.com/blog/2009/04/ubuntu-firefoxs-tattletale-search-query/</link>
					<comments>https://play.datalude.com/blog/2009/04/ubuntu-firefoxs-tattletale-search-query/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 23 Apr 2009 02:52:40 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=131</guid>

					<description><![CDATA[Have you ever noticed that when you type a search term into the search box in the top right of your Firefox browser, that a load of junk gets added to the search term. For example, you search for 'banana' and you get something like this: http://www.google.com.ph/search?q=banana&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=com.ubuntu:en-US:unofficial&#038;client=firefox-a Well what you're effectively doing is giving Google ... <a title="Ubuntu Firefox&#039;s Tattletale Search Query" class="read-more" href="https://play.datalude.com/blog/2009/04/ubuntu-firefoxs-tattletale-search-query/" aria-label="Read more about Ubuntu Firefox&#039;s Tattletale Search Query">Read more</a>]]></description>
										<content:encoded><![CDATA[<p><a rel="attachment wp-att-133" href="http://play.datalude.com/blog/?attachment_id=133"><img decoding="async" class="alignright size-full wp-image-133" title="Search Simplification" src="http://play.datalude.com/blog/wp-content/uploads/2009/04/prismendoppelfernrohr_1905.jpg" alt="Search Simplification" width="136" height="150" /></a>Have you ever noticed that when you type a search term into the search box in the top right of your Firefox browser, that a load of junk gets added to the search term. For example, you search for 'banana' and you get something like this:</p>
<p>http://www.google.com.ph/search?q=banana&#038;ie=utf-8&#038;oe=utf-8&#038;aq=t&#038;rls=com.ubuntu:en-US:unofficial&#038;client=firefox-a</p>
<p>Well what you're effectively doing is giving Google a lot of information for free. Which irritates me. All I really need is this,</p>
<p>http://www.google.com.ph/search?q=banana</p>
<p>and if they really want to know more about me, then they're welcome to go digging through their logs.</p>
<p>OK its a minor irritation, but one that we can fix! I understand that Ubuntu does it as part of a deal with Google, but there's no reason why we can't take matters into our own hands and change the defaults.</p>
<p><span id="more-131"></span>So, the file you need to find is this one: /usr/lib/firefox-addons/searchplugins/google.xml, and you'll need to open it in an editor as root.  So:</p>
<pre>sudo gedit /usr/lib/firefox-addons/searchplugins/google.xml</pre>
<p>If you use another search engine as your default, then choose a different file, of course. With this file open in an editor,  remove the offending lines. In the case above, its</p>
<pre>  &lt;Param name="ie" value="utf-8"/&gt;
  &lt;Param name="oe" value="utf-8"/&gt;
  &lt;Param name="aq" value="t"/&gt;
  &lt;!-- Dynamic parameters --&gt;
  &lt;Param name="rls" value="{moz:distributionID}:{moz:locale}:{moz:official}"/&gt;
  &lt;MozParam name="client" condition="defaultEngine" trueValue="firefox-a" falseValue="firefox"/&gt;</pre>
<p>Save the file, restart Firefox, and we're good to go.  Now the problem is that whenever you upgrade Firefox, the problem reappears, so you might want to make a copy of the correct file, and write a script to replace it every time you upgrade.  I always manage to forget where the file is, so I'm blogging this for my own benefit as much as anyone elses &#8230;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2009/04/ubuntu-firefoxs-tattletale-search-query/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu 8.04 to 8.10 upgrade.</title>
		<link>https://play.datalude.com/blog/2008/11/ubuntu-804-to-810-upgrade/</link>
					<comments>https://play.datalude.com/blog/2008/11/ubuntu-804-to-810-upgrade/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Fri, 14 Nov 2008 05:45:06 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dell]]></category>
		<category><![CDATA[hardy]]></category>
		<category><![CDATA[intrepid]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireless]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=107</guid>

					<description><![CDATA[A lot of commentators in the blogosphere have shown disappointment at the fact that little seems to have changed with Ubuntu 8.10. My answer to them is that in fact a lot has changed, but not much of it is visible. To my mind a lot of these under-the-hood changes have addressed fundamental issues which ... <a title="Ubuntu 8.04 to 8.10 upgrade." class="read-more" href="https://play.datalude.com/blog/2008/11/ubuntu-804-to-810-upgrade/" aria-label="Read more about Ubuntu 8.04 to 8.10 upgrade.">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>A lot of commentators in the blogosphere have shown disappointment at the fact that little seems to have changed with Ubuntu 8.10. My answer to them is that in fact a lot has changed, but not much of it is visible. To my mind a lot of these under-the-hood changes have addressed fundamental issues which needed to be fixed as a priority, so that normal users could just get on with the business of using Linux, rather than scrabbling around in config files.</p>
<p>Also, Ubuntu has an aggressive schedule, which means release are made every 6 months. I believe the purpose of the April (.04) releases is to introduce new features, and the October (.10) release is to refine them and fix any breaks. Compare this approach to Windows or Macintosh, where releases are made around every three years, and you can appreciate that releasing little and often means that changes are more diffuse and less apparent. <span id="more-107"></span></p>
<p>I performed the Upgrade option from 8.04 to 8.10, as I'd only just installed 8.04 on this machine. If I'd been running it for a year or more, I probably would have done a clean install, just to blow away the crud, but this time I just clicked the button and left it to go. Its a good idea to leave yourself plenty of time for this, not only because downloading the packages can take a while, but also because the chances are that something will break in the upgrade. Its also worth waiting a week or two before upgrading, as that gives people a chance to discover problems and post solutions to them online.</p>
<p>Downloading all the packages took around 12 hours on my crappy connection, so I left it to go overnight. If you do this, make sure you get to the part where it actually says its downloading the package files, otherwise you'll wake up in the morning with a dialog box on your screen, and zero packages downloaded. Luckily it will still roll back to 8.04 at this point, so its not the end of the world.</p>
<p>OK, so having run the upgrade, the first thing to do is Reboot, and then put all your third party repositories back in place. I did this by opening System &gt; Administration &gt; Software Sources and physically visiting the URIs listed in each place. If there was an 'intrepid' directory on the site, I'd change hardy to intrepid in the Edit box. If not, then I'd leave it on hardy. After this, a big global Re-check and Install Updates is in order, just to check you have the latest and greatest of everything. One more reboot and its time to look around. A few things had broken, but first, lets look at the great successes.</p>
<p>First of all I was enormously pleased to see that my Dell Vostro 1400 wireless was working. Properly! I checked in Hardware Drivers, and Windows Wireless Drivers and neither of those were active, so the new kernel was properly supporting my wireless. This, I feel is one of the most important enhancements for the 8.10 release: the more wireless chipsets that 'just work' the better the chances Ubuntu will get adopted.</p>
<p>Dual Head also worked. Ironically the previous day I'd just spent a couple of hours trying to get this to work on 8.04, and on 8.10 it worked without any fiddling: just fire up the System &gt; Preferences &gt; Screen Resolution applet and it detects the two monitors and lets you configure them how you wish. They've achieved that by doing away with the settings from /etc/X11/xorg.conf. However that meant I had to look elsewhere to get my TouchPad Toggling Script to work.</p>
<p>I hear the Network Manager is a lot better now as it can configure GPRS connections as well as wireless and wired connections. However I'm using wicd for now, so I'll look at that later. Also of note in this area is that networks configured via NetworkManager are brought up during boot, which is handy if you need to do things from the command line before logging into your desktop.</p>
<p>The Guest Session is interesting, allowing you to lend your computer to someone in a secure manner &#8212; all settings are temporary and disappear after logging out, and there is no access to the file system, so theoretically no damage can be done. This didn't work at first for me, perhaps as a consequence of upgrading rather than installing fresh. Initially I was just presented with a login screen (which clearly a Guest Account shouldn't need). However, by running the script from the command line</p>
<pre>/usr/share/gdm/guest-session/guest-session-launch</pre>
<p>I was able to make it work, and subsequently its worked from the button as well.</p>
<p>Another security feature is having an encrypted Private folder set up in a ~/Private directory. This is automatically locked and unlocked as you log in and out. As a sidenote its not entirely secret as the encrypted files can be accessed in your ~/.Private directory (ie with a dot). These can't be read, but the file names are the same as the unencrypted versions, so best not to call them anything too explicit: secret_plan_to_take_over_the_world.doc for example.</p>
<p>To set this up you have to do some work. Type:</p>
<pre>sudo apt-get install ecryptfs-utils</pre>
<pre>ecryptfs-setup-private</pre>
<p>In terms of actual software updates there hasn't been much as previously noted. GIMP has been upgraded to the 2.6 release which has a much nicer interface. VLC has a facelift, but it seems that some of the video encoding capability has been stripped out. Still trying to fix this. Virtual Box upgraded fine, and even compiled its own modules for the new kernel, so that was pretty seamless. Open Office 3, as noted elsewhere, was skipped in this version, but I'm sure it will be along soon.</p>
<p>Other tweaks: Totem can now play content from the BBC, although most of it seems to only be available in the UK. What's the point of that? Clam AV is now available, and hopefully they'll make a decent interface for it soon. And if you could turn on real time on-access scanning at will, that would be cool. Maybe next time.</p>
<p>All in all, I'm very pleased with the way things are going. The whole point for me is to make this easy to use rather than following Vista's lead into confusing user interfaces and bloat, and the Ubuntu developers seem to remain focused on the things which will help them gain user share.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2008/11/ubuntu-804-to-810-upgrade/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu 8.04 Dual Head setup on Dell Vostro.</title>
		<link>https://play.datalude.com/blog/2008/11/ubuntu-804-dual-head-setup-on-dell-vostro/</link>
					<comments>https://play.datalude.com/blog/2008/11/ubuntu-804-dual-head-setup-on-dell-vostro/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 11 Nov 2008 02:44:35 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[dual head]]></category>
		<category><![CDATA[external monitor]]></category>
		<category><![CDATA[screen resolution]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xorg.conf]]></category>
		<category><![CDATA[xrandr]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=104</guid>

					<description><![CDATA[I keep hearing how Ubuntu has finally nailed the dual head hassles of the past, and now you can just plug in an external monitor and go. Alas I've never had that experience, either with this Dell Vostro 1400 or either of the two IBM Thinkpads I've run Ubuntu on.The IBMs were both 1024&#215;768 resolution, ... <a title="Ubuntu 8.04 Dual Head setup on Dell Vostro." class="read-more" href="https://play.datalude.com/blog/2008/11/ubuntu-804-dual-head-setup-on-dell-vostro/" aria-label="Read more about Ubuntu 8.04 Dual Head setup on Dell Vostro.">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>I keep hearing how Ubuntu has finally nailed the dual head hassles of the past, and now you can just plug in an external monitor and go. Alas I've never had that experience, either with this Dell Vostro 1400 or either of the two IBM Thinkpads I've run Ubuntu on.The IBMs were both 1024&#215;768 resolution, as is my external monitor. The Dell is a less standard 1280&#215;800 resolution. I also, on occasion plug it into my LCD TV, but that's another story.</p>
<p><span id="more-104"></span></p>
<p>The internal "Screen Resolution" application seems to consistently get all the settings wrong, and has never managed to guess the correct resolutions for monitors. Sometimes it doesn't detect them at all. Other times when I try to manually set the resolutions, it refuses as my instruction doesn't match its guess. The real magic seems to depend on a combination of xrandr, xorg.conf, grandr and a lot of poking and fiddling. In this case it seems relatively straightforward.</p>
<p>The first thing you have to do is tell your xorg.conf the size of the virtual screen. This is the size of the maximum resolution of the screen when you've added both displays together. In my example, I have a laptop screen of 1280&#215;800 on the left and an external screen of 1024&#215;768 on the right. This makes the Virtual screen (1280+1024)x(800), so the virtual directive reads.</p>
<pre> SubSection "Display"</pre>
<pre>  Virtual         2304 800</pre>
<pre> EndSubsection</pre>
<p>In my case the SubSection wasn't already within the Screen section of my xorg.conf, so I created it by adding the three lines above. Time to restart X by logging out and in again.</p>
<p>Now when you use the Screen Resolution app, it should actually work: you can place the two screens side by side, uncheck the Clone Screens box and set the correct resolution and refresh rate for the monitors. The settings for the Vostro laptop screen are 1280&#215;800 @ 60Hz. Great. No need for tinkering with xrandr or grandr.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2008/11/ubuntu-804-dual-head-setup-on-dell-vostro/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Ubuntu Touchpad toggle tweak</title>
		<link>https://play.datalude.com/blog/2008/11/ubuntu-804-tweak-touchpad-toggle/</link>
					<comments>https://play.datalude.com/blog/2008/11/ubuntu-804-tweak-touchpad-toggle/#comments</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Mon, 10 Nov 2008 08:41:16 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[toggle]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=99</guid>

					<description><![CDATA[I've been getting irritated with the touchpad on this new Dell Vostro 1400. I type for a while, and then my palm touches the touchpad, sending the pointer skimming into the line above, or clicking on buttons I don't want to click on. So, I looked around and figured out a solution. Over the past ... <a title="Ubuntu Touchpad toggle tweak" class="read-more" href="https://play.datalude.com/blog/2008/11/ubuntu-804-tweak-touchpad-toggle/" aria-label="Read more about Ubuntu Touchpad toggle tweak">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>I've been getting irritated with the touchpad on this new Dell Vostro 1400. I type for a while, and then my palm touches the touchpad, sending the pointer skimming into the line above, or clicking on buttons I don't want to click on. So, I looked around and figured out a solution. Over the past two years, I've had to update this post for every single new version of Ubuntu, which has been a pain, so look for the heading below which corresponds to your version of Ubuntu.</p>
<p><strong>Ubuntu Hardy 8.04</strong></p>
<p>First of all, you need to edit your /etc/xorg.conf file, for which you'll need root privileges &#8211; use sudo.You just need to add one line in the input device section, which is the one in bold below. (Intrepid 8.10, see below)</p>
<pre>Section "InputDevice"</pre>
<pre>        Identifier      "Synaptics Touchpad"</pre>
<pre>        Driver          "synaptics"</pre>
<pre>        Option          "SendCoreEvents"        "true"</pre>
<pre>        Option          "Device"                "/dev/psaux"</pre>
<pre>        Option          "Protocol"              "auto-dev"</pre>
<pre>        Option          "HorizEdgeScroll"       "0"</pre>
<pre><strong>        Option          "SHMConfig"</strong></pre>
<pre>EndSection<span id="more-99"></span></pre>
<p>OK, now after you restart X, by logging out and in again, you can turn off the touchpad with</p>
<pre>    synclient TouchpadOff=0</pre>
<p>And on with</p>
<pre>    synclient TouchpadOff=0</pre>
<p>I put this together in a script which will look to see if it is on or off, and toggle it to the opposite.</p>
<pre>if synclient -l | grep TouchpadOff | grep 1</pre>
<pre>then</pre>
<pre>    synclient TouchpadOff=0</pre>
<pre>else</pre>
<pre>    synclient TouchpadOff=1</pre>
<pre>fi</pre>
<p>I attached the script to an icon in my toolbar using the Add to Panel &gt; Launcher route. Now I just have to click to toggle it off and on.</p>
<p><strong>Ubuntu 8.10, Intrepid Whatsit </strong></p>
<p>While the script above still works, editing xorg.conf doesn't work any more, as Ubuntu is moving functionality out of that file. So, instead of that we create a file here.</p>
<pre>sudo nano /etc/hal/fdi/policy/shmconfig.fdi</pre>
<p>and cut and paste the following into it, saving afterwards.</p>
<p>&lt;?xml version="1.0" encoding="ISO-8859-1"?&gt;<br />
&lt;deviceinfo version="0.2"&gt;<br />
&lt;device&gt;<br />
&lt;match key="input.x11_driver" string="synaptics"&gt;<br />
&lt;merge key="input.x11_options.SHMConfig" type="string"&gt;True&lt;/merge&gt;<br />
&lt;merge key="input.x11_options.HorizEdgeScroll" type="string"&gt;1&lt;/merge&gt;<br />
&lt;/match&gt;<br />
&lt;/device&gt;<br />
&lt;/deviceinfo&gt;</p>
<p>This file only works with Synaptics Touchpad driver. If you have another touchpad, the filename may be different. There are hundreds of other options which you can activate in this file, but the SHMConfig line is the one you need to allow the script to work.</p>
<p>OK, now you've done that, the commands and script above should work.</p>
<p><strong>Ubuntu 9.04 Jaunty Jackass</strong></p>
<p>&#8230;. it should work unless you upgrade to 9.04 that is. Now neither of those methods work for disabling the touchpad, which is causing me no end of irritation. So now there's a third solution which I discovered after finding the new touchpad control panel under System &gt; Preferences &gt; Mouse &gt; Touchpad. In there there is a switch to turn off the touchpad, so I figured there must be a way to change this setting with gconftool. Here's what  came up with:</p>
<p>gconftool-2 &#8211;toggle /desktop/gnome/peripherals/mouse/touchpad_enabled</p>
<p>This works from the commandline, in a script and even typed directly into a launcher button on your menubar for lightning fast toggling. Which is the only way to toggle.</p>
<p><strong>Ubuntu 9.10 Karmic Koala<br />
</strong></p>
<p>Why do they have to change this every frigging version. OK, so back to a script into which the following is inserted.</p>
<pre>if xinput list-props "SynPS/2 Synaptics TouchPad" | grep "Device Enabled" | grep 1</pre>
<pre>then</pre>
<pre>    xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 0</pre>
<pre>else</pre>
<pre>     xinput set-int-prop "SynPS/2 Synaptics TouchPad" "Device Enabled" 8 1</pre>
<pre>fi</pre>
<p>Then assign this to a key (in my case F6) using System &gt; Preferences &gt; Keyboard Shortcuts. All seems to work again &#8230; until the next upgrade.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2008/11/ubuntu-804-tweak-touchpad-toggle/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>Audio Ping Feedback.</title>
		<link>https://play.datalude.com/blog/2008/10/audio-ping-feedback/</link>
					<comments>https://play.datalude.com/blog/2008/10/audio-ping-feedback/#respond</comments>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Thu, 09 Oct 2008 02:39:47 +0000</pubDate>
				<category><![CDATA[General IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[Network Tools]]></category>
		<category><![CDATA[ping]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=88</guid>

					<description><![CDATA[Step back a few years &#8230; I've often thought when I'm under a desk somewhere jiggling wires, is that some kind of audio feedback on ping would be useful: your server isn't responding, but when you re-seat the ethernet connector it comes back online; you have a messy, unlabeled switch to work through, so you ... <a title="Audio Ping Feedback." class="read-more" href="https://play.datalude.com/blog/2008/10/audio-ping-feedback/" aria-label="Read more about Audio Ping Feedback.">Read more</a>]]></description>
										<content:encoded><![CDATA[<p>Step back a few years &#8230; I've often thought when I'm under a desk somewhere jiggling wires, is that some kind of audio feedback on ping would be useful: your server isn't responding, but when you re-seat the ethernet connector it comes back online; you have a messy, unlabeled switch to work through, so you unplug wires until the audio feedback stops, and you've located your machine. That kind of thing.</p>
<p>I've occasionally looked around the internet for such a tool and uncovered a couple of scripts and tools which don't quite work. I've even thought of writing my own script, but never quite got around to it.<span id="more-88"></span></p>
<p>But now the search is over. As part of  Ubuntu/Gnome Desktop there is a hidden feature. You might have come across it before and missed it. A casual glance in System &gt; Admin &gt; Network Tools and you'll find all your favourite network diagnostic tools. Ping, netstat, nslookup, dig, finger, whois, etc. Well nearly all of them: it doesn't have the excellent mtr, but that's another story. So &#8230; as someone who's normally got a command prompt open somewhere, and who's used to the command line, I took an initial look at Network Tools, filed it as "Potentially useful", and went back to my old command line ways.</p>
<p>But look a little closer:flip to the Ping tab, and under Tools, there is an option to "Beep on Ping". Simple but Glorious.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://play.datalude.com/blog/2008/10/audio-ping-feedback/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>All Change. Mandriva 2008 to Ubuntu 8.04</title>
		<link>https://play.datalude.com/blog/2008/08/all-change-mandriva-2008-to-ubuntu-804/</link>
		
		<dc:creator><![CDATA[admin]]></dc:creator>
		<pubDate>Tue, 19 Aug 2008 01:18:15 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[clocksource]]></category>
		<category><![CDATA[RKUH]]></category>
		<category><![CDATA[thinkpad]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[wireless]]></category>
		<guid isPermaLink="false">http://play.datalude.com/blog/?p=53</guid>

					<description><![CDATA[As I noted in a previous post I was recently the victim of a Random Kernel Upgrade Hell (RKUH). Maybe I should trademark that acronym, although its not particularly prounounceable like SNAFU, or PEBCAK. Anyway &#8230; the fact was that I was spending several hours trying to fix various problems with wifi drivers, VMware server, ... <a title="All Change. Mandriva 2008 to Ubuntu 8.04" class="read-more" href="https://play.datalude.com/blog/2008/08/all-change-mandriva-2008-to-ubuntu-804/" aria-label="Read more about All Change. Mandriva 2008 to Ubuntu 8.04">Read more</a>]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">As I noted in a <a href="http://play.datalude.com/blog/?p=37">previous post</a> I was recently the victim of a Random Kernel Upgrade Hell (RKUH). Maybe I should trademark that acronym, although its not particularly prounounceable like SNAFU, or PEBCAK. Anyway &#8230; the fact was that I was spending several hours trying to fix various problems with wifi drivers, VMware server, truecrypt and the sound in Skype, when it suddenly occured to me that a re-install was probably quicker. The double edged sword of Linux: quick to reinstall, but then again why should you need to do it so often? Well I guess in my case I push the OS pretty hard with some esoteric applications, but even so &#8230;</p>



<span id="more-53"></span>



<p class="wp-block-paragraph">So, a few quick notes. The re-installation process was painless. I have my data on a separate /home partion, so I just backed that up to a separate USB hard disk (using partimage on a Gparted boot CD), and installed Ubuntu over the top of my Mandriva partition.I have to say the Ubuntu installer is a bit simpler than the Mandriva one when it comes to the business of disk partitioning.</p>



<p class="wp-block-paragraph">It took a few minutes of jiggling to re-arrange the partitions once the install had finished, but then I was good to go. I took out some bits of software I didn't need, installed a few must-have applications so I could get on with my work, and finshed the rest of the day happy. In this case the fact that truecrypt had suddenly broken in Mandriva was the deciding factor, as I needed data on that partition to work: once I had that working on Ubuntu, which I have to say was seamless, then I was good to go.</p>



<p class="wp-block-paragraph">Overnight I installed some more software and did an update to get the software up to date. I have a very slow connection so this kind of thing takes a few hours. I rebooted and everything was fine. For a few days.</p>



<p class="wp-block-paragraph">But then last night after having worked all day, I switched my computer on again to play a DVD which was skipping on my standard DVD player. It took an age to boot up and wireless didn't work. Also everything was sluggish, taking sometimes two or three seconds to respond to a keypress. I played the DVD and went to bed, sulking.</p>



<p class="wp-block-paragraph">I really couldn't understand why it was behaving like this all of a sudden. I hadn't done any kernel updates (RKUH!) in the last few days, which is my normal source of instability, and consequent insanity. I checked dmesg, and tracked it down to this section:</p>



<pre class="wp-block-code"><code>&#91; 33.957128] Probing IDE interface ide0...<br>&#91; 34.915447] hda: FUJITSU MHV2060AH, ATA DISK drive<br>&#91; 34.915591] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4<br>&#91; 34.919261] hda: UDMA/100 mode selected<br>&#91; 34.922862] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14<br>&#91; 34.992563] Probing IDE interface ide1...<br>&#91; 35.302438] Clocksource tsc unstable (delta = 136417566 ns)<br>&#91; 35.306438] Time: acpi_pm clocksource has been installed.<br>&#91; 35.319400] hdc: UJDA750 DVD/CDRW, ATAPI CD/DVD-ROM drive<br>&#91; 35.319603] hdc: host max PIO4 wanted PIO255(auto-tune) selected PIO4<br>&#91; 35.319706] hdc: UDMA/33 mode selected</code></pre>



<p class="wp-block-paragraph">After searching for a bit, I thought the "Clocksource tsc unstable" looked likely and it seemed that a few other people had been experiencing long boot times due to it. I added clocksource=hpet to my boot stanza, and bingo, boot is once again fast and wireless works like a dream.</p>



<p class="wp-block-paragraph">So, although the fix was fast, once again I'm forced to ponder the question "Why did this suddenly happen?" My Thinkpad R51e has always caused me problems with Linux due to its 'special' hardware, but really, if I didn't change anything on the system, why should it suddenly start doing this to me? And if I was a normal guy-in-the-street user, how long do you think it might take me to fix this? Or indeed, to run scuttling back to Windows?</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
