<?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>The Ringtail</title>
	<atom:link href="http://www.theringtail.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.theringtail.co.uk</link>
	<description>Thinking about fishing and computers. Mainly fishing.</description>
	<pubDate>Mon, 01 Mar 2010 12:50:55 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Using the mac today&#8230;</title>
		<link>http://www.theringtail.co.uk/2010/03/using-the-mac-today/</link>
		<comments>http://www.theringtail.co.uk/2010/03/using-the-mac-today/#comments</comments>
		<pubDate>Mon, 01 Mar 2010 12:50:52 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[thinking]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/2010/03/using-the-mac-today/</guid>
		<description><![CDATA[&#8230; which means that I&#8217;m now officially giving up writing about OS stuff. A timely tweet reminder from an old colleague made me realise that its not about the OS, its about the apps. There&#8217;s things I love about Linux, but there&#8217;s also a couple of mac apps that just seem to work the way [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230; which means that I&#8217;m now officially giving up writing about OS stuff. A timely tweet reminder from an old colleague made me realise that its not about the OS, its about the apps. There&#8217;s things I love about Linux, but there&#8217;s also a couple of mac apps that just seem to work the way I think - Devonthink and tinderbox - and other apps which just do things a lot (for me) better than their libre counterparts - Photoshop, Lightroom, Logic. Sometimes I feel I get work done on Linux despite the OS, not because of it; most keenly felt when doing anything design/art/music related.<br /><br />Sure there are other issues, like software freedom and liberty, but while I use proprietary apps on Linux I can&#8217;t see that as a draw to using it really, and the mac really does beat it for creative work. Getting audio set up and working took a while on Ubuntu Studio last week and I didn&#8217;t really get it working close to anything like I needed it to. I just plugged in and started recording on Logic, with great guitar tones, no latency, and support for my MIDI keyboard &#8216;just working&#8217;. A lot of it is familiarity, but its not just that, the interface and ease of use mean that the path to familiarity is smoother too.<br /><br />So I&#8217;m back in the Mac saddle again, and concentrating on the apps, not the OS that runs them. Well, at least until the end of the day anyways&#8230;.<br /><br /><div class="zemanta-pixie"><img class="zemanta-pixie-img" alt="" src="http://img.zemanta.com/pixy.gif?x-id=b6802c75-8449-8508-aa16-514e8e5b5c2e" /></div></p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/03/using-the-mac-today/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Resisting the urge</title>
		<link>http://www.theringtail.co.uk/2010/02/resisting-the-urge/</link>
		<comments>http://www.theringtail.co.uk/2010/02/resisting-the-urge/#comments</comments>
		<pubDate>Fri, 26 Feb 2010 13:03:19 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=362</guid>
		<description><![CDATA[I was going to reinstall ubuntu this morning. I&#8217;ve been playing about with openbox, kubuntu, ubuntu studio and others, and my system felt like it was getting a bit clogged up. Conky was showing odd behaviour on the CPU, RAM usage was high, and it generally looked like there were far too many processes running. [...]]]></description>
			<content:encoded><![CDATA[<p>I was going to reinstall ubuntu this morning. I&#8217;ve been playing about with openbox, kubuntu, ubuntu studio and others, and my system felt like it was getting a bit clogged up. Conky was showing odd behaviour on the CPU, RAM usage was high, and it generally looked like there were far too many processes running. Time to reinstall, thought I.</p>

<p>But no. Half an hour spent judiciously pruning software in Synaptic, and some minor config file tweaking later, and I&#8217;m back up with a lithe, almost pristine system. And with no time-consuming reinstalling and reconfiguring, not to mention the lack of stress I always get when I hit the continue button after repartitioning. Even if I know I&#8217;m all backed up and have done all I need to, I always suffer the heebie-jeebies after OK&#8217;ing that &#8220;You do know that all of your data is about to be destroyed? All of it?&#8221; dialog.</p>

<p>Long and short - I&#8217;m keeping on top of my game and actually quite enjoying not stressing about the system I&#8217;m using. I&#8217;ve also started to look at Linux home recording stuff ready to write and play some new songs. More on that anon.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/02/resisting-the-urge/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New tricks for an old dog&#8230;</title>
		<link>http://www.theringtail.co.uk/2010/02/new-tricks-for-an-old-dog/</link>
		<comments>http://www.theringtail.co.uk/2010/02/new-tricks-for-an-old-dog/#comments</comments>
		<pubDate>Mon, 22 Feb 2010 15:42:35 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[fun stuff]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=360</guid>
		<description><![CDATA[We bought a dolls house on eBay for my daughter last week. Bit of a bargain, only £10 net, but probably around £60 gross when you take in the petrol and lunch on the seafront at Worthing. Cracking day out though - wondrful ham, egg and chips in the cafe and a bracing walk on [...]]]></description>
			<content:encoded><![CDATA[<p>We bought a dolls house on eBay for my daughter last week. Bit of a bargain, only £10 net, but probably around £60 gross when you take in the petrol and lunch on the seafront at Worthing. Cracking day out though - wondrful ham, egg and chips in the cafe and a bracing walk on the pier certainly blew the start-of-the-year cobwebs out.</p>

<p>Now I&#8217;m starting to get a little jealous of her new project and I&#8217;m starting to think what I can do as a new craft-based hobby. I do a lot of programming work, which I find very creative, and I still take a fair few photos, but I don&#8217;t do a lot with my hands. I&#8217;d like a good solid craft hobby that I can get started on, something involving some skill that will take a while to get good at, but I don&#8217;t fancy knitting or needlework or anything like that. Any ideas?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/02/new-tricks-for-an-old-dog/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Lesson learned</title>
		<link>http://www.theringtail.co.uk/2010/02/lesson-learned/</link>
		<comments>http://www.theringtail.co.uk/2010/02/lesson-learned/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 09:38:07 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=358</guid>
		<description><![CDATA[I had a problem last week. I had refactored TasksApp to be wholly object-oriented, and had just finished the second round of refactoring code - tidying up classes, moving code that could be reused into more sensible places, and generally tidying up ready to launch my project on the world.

I checked out a new working [...]]]></description>
			<content:encoded><![CDATA[<p>I had a problem last week. I had refactored TasksApp to be wholly object-oriented, and had just finished the second round of refactoring code - tidying up classes, moving code that could be reused into more sensible places, and generally tidying up ready to launch my project on the world.</p>

<p>I checked out a new working version to use with my live database and was appalled at how slow the app had become. Loading the home page with around 100 tasks was taking a couple of seconds on my local machine; much slower than it had been before I refactored. I did some quick testing and saw that the delay was increasing with the number of projects and actions displayed.</p>

<p>First port of call, make sure the database indexes were set up right. All looked ok, apart from a couple of indexes that were now useful with the query chanegs I had made. Fixed these, but no dice.</p>

<p>Secondly, set up XDebug to pump out some profiling information, and use KCacheGrind to have a look. Not much I didn&#8217;t know, but confirmation that the time was all being taken in instantiating and displaying project and action objects. A brief look didn&#8217;t show anything up so I decided to leave it and come back to debug the paths through the app in Komodo when I had a bit more time. Very annoyed that my lovely, modular, readable, extendable code was behaving badly like this.</p>

<p>This morning I noticed that a page on our intranet was really taking along time to load, and saw a message in the status bar about bit.ly. Hmm. A quick trip to the Firefox add-ons window, and one uninstalled plugin later - all is fine. The page snaps up in super-quick time, and all is well. Lesson learned - test web apps in Firefox with all plugins turned off, and have confidence that the code I produce is good-quality code.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/02/lesson-learned/feed/</wfw:commentRss>
		</item>
		<item>
		<title>A brief word from our sponsors&#8230;</title>
		<link>http://www.theringtail.co.uk/2010/02/a-brief-word-from-our-sponsors/</link>
		<comments>http://www.theringtail.co.uk/2010/02/a-brief-word-from-our-sponsors/#comments</comments>
		<pubDate>Mon, 15 Feb 2010 09:27:55 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=356</guid>
		<description><![CDATA[Hello, my name is Nigel Green. I am a project manager and part-time PHP guru, currently managing a project for Macmillan Cancer, and working on an open-source task management application in my spare time. Welcome to my blog.

I have been wallowing in self-pity here for a while, wringing my virtual hands and boring visitors with [...]]]></description>
			<content:encoded><![CDATA[<p>Hello, my name is Nigel Green. I am a project manager and part-time PHP guru, currently managing a project for Macmillan Cancer, and working on an open-source task management application in my spare time. Welcome to my blog.</p>

<p>I have been wallowing in self-pity here for a while, wringing my virtual hands and boring visitors with tales of my computer-based indecision. All of which has distracted me from the business of actually Getting Things Done. We now move on&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/02/a-brief-word-from-our-sponsors/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Freedom, Ubuntu and offsetting your proprietary footprint</title>
		<link>http://www.theringtail.co.uk/2010/02/freedom-ubuntu-and-offsetting-your-proprietary-footprint/</link>
		<comments>http://www.theringtail.co.uk/2010/02/freedom-ubuntu-and-offsetting-your-proprietary-footprint/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 11:11:13 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[thinking]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=350</guid>
		<description><![CDATA[I&#8217;ve been thinking about the whole FLOSS thing after my last few posts. I&#8217;d like to try and be a bit more rigorous in pinning down what is perturbing me. I think the issue stems from two sets of arguments.

Firstly:


I am using Ubuntu because that is what I have used for a while and it [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been thinking about the whole FLOSS thing after my last few posts. I&#8217;d like to try and be a bit more rigorous in pinning down what is perturbing me. I think the issue stems from two sets of arguments.</p>

<p>Firstly:</p>

<ol>
<li>I am using Ubuntu because that is what I have used for a while and it gave me a good route in to GNU/Linux and FLOSS</li>
<li>I want to &#8216;do the right thing&#8217; and support free software.</li>
<li>I am concerned about where Canonical is taking Ubuntu (see <a href="http://www.theopensourcerer.com/2010/02/09/is-canonical-becoming-the-new-microsoft/">this article</a> and the follow-up post and comments for a better discussion than I could hope to give here).</li>
</ol>

<p><strong>Conclusion:</strong> Ditch Ubuntu, install a <a href="http://www.gnu.org/distros/free-distros.html">free distro</a> and build up from there.</p>

<p><strong>Corollary:</strong> I will, realistically, have to use Windows at work if I do this.</p>

<p>Secondly:</p>

<ol>
<li>I&#8217;m lucky that my work allow me to use my own laptop at work, and that I can choose to use GNU/Linux on that laptop.</li>
<li>Ubuntu does everything I need to work effectively at work, except use Outlook for email.</li>
<li>The totally free distros that I&#8217;ve tried don&#8217;t, at least not without a fair bit of time spent configuring them (leaving aside issues of having to work with other folks proprietary formats and programs).</li>
<li>I can&#8217;t do the configuring at home as I need to be in the work environment to be able to check that the configuration actually works.</li>
<li>Time spent configuring is time spent not working.</li>
</ol>

<p><strong>Conclusion:</strong> I can&#8217;t work effectively enough with a totally free system, I should stick with Ubuntu.</p>

<p><strong>Corollary:</strong> I can carry on using Linux at work if I do this.</p>

<p>Clearly I should keep using Ubuntu and be able to use Linux at work and home. I&#8217;m convinced this is the best conclusion, and it&#8217;s one I have come to before, but I still feel a nagging doubt that I want to go with conclusion 1. This is where the title of the post kicks in, and where my solution has made itself apparent.</p>

<p>I will offset my &#8216;proprietary footprint&#8217; in the same way that people offset their carbon footprint. For every proprietary app I have to use, for every closed-format file I have to save, I will donate some code, write some documentation, or evangelise to one more person about FLOSS. It&#8217;s time to stop thinking of just me and my setup and to think about being part of the wider community. There are clearly lines to be drawn, and I will always choose the free solution over the proprietary one where I have a real choice. But where that choice is taken away, by IT rules, by having to collaborate where others use non-free tools and files, I will use the non-free, but try and give back to the free community as much as I take away.</p>

<p>This is more positive than being wholly-free myself but not giving anything back to the community, which is where I think I would have ended up if I hadn&#8217;t spent so long pondering this. Ideally I&#8217;d do both, but I don&#8217;t live in an ideal world - this idea feels like a step in the right direction.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/02/freedom-ubuntu-and-offsetting-your-proprietary-footprint/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Back on Ubuntu</title>
		<link>http://www.theringtail.co.uk/2010/02/back-on-ubuntu/</link>
		<comments>http://www.theringtail.co.uk/2010/02/back-on-ubuntu/#comments</comments>
		<pubDate>Thu, 11 Feb 2010 10:31:26 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=348</guid>
		<description><![CDATA[&#8230;not because I feel the obligation, but because the act of blogging about the thought made me realise that I spend far too much time installing other distros and then setting them up to work exactly like Ubuntu. I appreciate the freedom that Arch gives me, and I appreciate the flexibility that that system provides. [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;not because I feel the obligation, but because the act of blogging about the thought made me realise that I spend far too much time installing other distros and then setting them up to work exactly like Ubuntu. I appreciate the freedom that Arch gives me, and I appreciate the flexibility that that system provides. It&#8217;s just that I don&#8217;t really need it. This came into sharp relief thanks to this sequence of events:</p>

<ul>
<li>Want to boot Ubuntu to a text prompt and then start X when I need it</li>
<li>Can&#8217;t find an easy way to do it as they seem to have changed the boot process to avoid using inittab</li>
<li>Throw all my toys out of the pram at The Injustice Of It All</li>
<li>Wipe my machine and spend a whole weekend getting Arch to work, booting nicely to a text prompt</li>
<li>Blog about my new found freedom</li>
<li>Take an hour installing and setting up the software I need to get Arch to boot to a graphical log-in as I&#8217;m fed up of the text one</li>
</ul>

<p>Granted, I know a lot more about Linux than I did before I started, but that&#8217;s another few hours lost that I could have spent improving my Python or PHP skills, or writing a chapter of my novel, or sorting out some of my photos, or any one of the other hundred things on my to-do list. And I could have done any of those on any of the distros I&#8217;ve tried in the last year.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/02/back-on-ubuntu/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Open source responsibility?</title>
		<link>http://www.theringtail.co.uk/2010/01/open-source-responsibility/</link>
		<comments>http://www.theringtail.co.uk/2010/01/open-source-responsibility/#comments</comments>
		<pubDate>Thu, 28 Jan 2010 12:37:07 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

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

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=344</guid>
		<description><![CDATA[This may be a bit stream-of-consciousness, apologies&#8230;

I just read a post about a proposed addition to Ubuntu 10.04  - Ubuntu&#8217;s integrated music service. This sounds pretty good to me. Additionally, I can see that it might start to make people think about, at the very least, giving Linux a try. So far so just-what-it-says-in-the-link. [...]]]></description>
			<content:encoded><![CDATA[<p>This may be a bit stream-of-consciousness, apologies&#8230;</p>

<p>I just read a post about a proposed addition to Ubuntu 10.04  - <a href='http://blogs.techrepublic.com.com/opensource/?p=1207&#038;tag=nl.e011'>Ubuntu&#8217;s integrated music service</a>. This sounds pretty good to me. Additionally, I can see that it might start to make people think about, at the very least, giving Linux a try. So far so just-what-it-says-in-the-link. My thought is really about the burden on a user such as myself when things like this happen. Why? Read on.</p>

<p>When I was a Mac user it didn&#8217;t really matter what I said about them as Apple&#8217;s marketing machine was quite capable of swaying opinion without my help. Ditto for Microsoft (the effectiveness or otherwise of the Jerry &#8216;n&#8217; Bill ads notwithstanding). With Ubuntu I feel it does make a difference what I, and all other Linux users, say and do. If someone looks over my shoulder on the train and sees me using Gnome on Ubuntu they would probably be interested to find out what this non-Windows thing I was using was. If they see me using the Awesome WM under Arch Linux they will probably shake their head and look the other way at what a luddite I am. It doesn&#8217;t matter if I know that the command line is more pwerful, or that getting rid of distractions and unnecessary processes makes I and my laptop more productive. People will want a free alternative if it looks like something they already know.</p>

<p>At my old job I was running openbox. All was set up nicely except that I had to drop to the command line to connect to a Windows share. Someone came over and asked to see a document, I popped up a terminal to connect to the server and retireve the document and they said (in essence), &#8220;this is so much harder than using Windows, why bother&#8221;. Forget the fact that it was actually quicker to go from start to open document, forget the fact that all the software I was using was free, this was &#8216;harder to do&#8217;. Had I popped up Nautilus and clicked on the shared drive and browsed down to the file like I would have on Windows, I&#8217;m sure the impression I&#8217;d given would have been that it was at least as easy as Windows. And it&#8217;s free!? Sign me up.</p>

<p>Because of distros like Ubuntu, Linux is making ground. I&#8217;ve had quite a few people say, &#8216;oh yeah, I&#8217;ve been meaning to try that out&#8217; when I&#8217;ve mentioned I use Linux. I&#8217;m pretty sure they meant Ubuntu, and I&#8217;ve always straight away arranged to get them a CD to try it out.</p>

<p>My overall question is - as a proponent of Linux, and someone who will happily bang on about it to others, what pressure is there on me to use a distro like Ubuntu? Is it something in the makeup of a Linux user that makes them try and make life hard for themselves or is that just me? Ubuntu does all I need and more so why don&#8217;t I be a good global citizen and use it, help to promote it, make it visible? I think its the &#8216;and more&#8217; that puts me off (see last post about Arch), but I don&#8217;t think I could really say why I feel the need to economise on RAM, processor use and disk space when I have more than enough to spare.</p>

<p>I&#8217;m not really sure what I&#8217;m even saying here, but I think there is a sea-change in the offing, and Canonical may well be the ones to boot Linux into contention for once. I&#8217;m just not sure what my role in it should be, but I genuinely feel I can play a role in this, something I never felt with Apple or Microsoft. What&#8217;s a boy to do?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/01/open-source-responsibility/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Arch Linux</title>
		<link>http://www.theringtail.co.uk/2010/01/arch-linux/</link>
		<comments>http://www.theringtail.co.uk/2010/01/arch-linux/#comments</comments>
		<pubDate>Mon, 25 Jan 2010 13:41:33 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=342</guid>
		<description><![CDATA[Well, I&#8217;ve been edging around it for a while - slowly trying to get a bit more independent of Ubuntu, trying not to settle for the default install and making Linux work for me. It has been largely unsatisfying though, mainly because there are a lot of things I don&#8217;t like about Ubuntu, but all [...]]]></description>
			<content:encoded><![CDATA[<p>Well, I&#8217;ve been edging around it for a while - slowly trying to get a bit more independent of Ubuntu, trying not to settle for the default install and making Linux work for me. It has been largely unsatisfying though, mainly because there are a lot of things I don&#8217;t like about Ubuntu, but all tempered with the fact that it does a lot of stuff well; and it really does &#8216;just work&#8217;. However, I hanker after a distribution that lets me have the same DIY experience that made me love Linux in the first place. Getting Linux up and running really was a triumph when I first started messing around with Suse, Mandrake and Red Hat back in the day. I miss the challenge, but I still need a system that has the potential to do everything I need.</p>

<p>Enter Arch Linux.</p>

<p>I had tried a VM install of this a while ago but decided to go all the way and do a clean install of it at the weekend. As I am writing this on that system, all geared up to use for work, it obviously has worked. But is it what I had hoped for? Yes it is! The install was actually relatively painless, if time consuming. Ubuntu 9.10 took about an hour from finishing my backup to having a completely clean install running, with all the packages I wanted installed and configured. Arch took more like three or four hours, but I really feel like I&#8217;ve built the system I want and, more importantly, I feel like I know how it all fits together. For my money Ubuntu is getting increasingly large-OS-like in its approach &#8212; and I&#8217;m including Windows <em>and</em> Mac in that &#8212; hiding a lot of detail from the user and changing some configuration to be more user-friendly ( for &#8216;user-friendly&#8217; read &#8216;hard to understand and different to the way everyone else does it&#8217;).</p>

<p>Arch values simplicity in its best form &#8212; not meaning &#8216;dumbed-down&#8217; or &#8217;simplistic&#8217; but meaning that everything works in a consistent way, and that your basic install is minimal but functional. You then add in the components you need to make the system you want to work with. It could be seen as a great distro for beginners, if that beginner is wanting to understand Linux and how to put a truly great and reliable system together, rather than beginning to use Linux because it is an OS that will let them &#8216;not use Windows&#8217;. No snobbery intended here &#8212; these are both equally legitimate paths into and through the Linux world. I think of it as being lord of the manor in both cases; with Arch you know where the wiring is, how the plumbing works, and more than a little about the structural stresses and strains of your manor. The Ubuntu manor is just as sturdy and impressive, its just you may need to call in an expert when you want to start making structural changes.</p>

<p>And with that almost supernatural straining of the art of simile, I&#8217;ll get back to my work&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/01/arch-linux/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Markdown support for Gedit</title>
		<link>http://www.theringtail.co.uk/2010/01/markdown-support-for-gedit/</link>
		<comments>http://www.theringtail.co.uk/2010/01/markdown-support-for-gedit/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 09:15:08 +0000</pubDate>
		<dc:creator>nigeldgreen</dc:creator>
		
		<category><![CDATA[geekery]]></category>

		<guid isPermaLink="false">http://www.theringtail.co.uk/?p=333</guid>
		<description><![CDATA[Getting the code and installing

Grab the code from here and follow the instructions (they&#8217;re in French but pretty easy to follow if you&#8217;ve compiled your own software before). Out of the box it recognises .mdtxt files as Markdown files, but I like all my .txt files to be recognised as Markdown too, so I did [...]]]></description>
			<content:encoded><![CDATA[<h2>Getting the code and installing</h2>

<p>Grab the code from <a href="http://www.jpfleury.net/gedit-markdown">here</a> and follow the instructions (they&#8217;re in French but pretty easy to follow if you&#8217;ve compiled your own software before). Out of the box it recognises .mdtxt files as Markdown files, but I like all my .txt files to be recognised as Markdown too, so I did a bit extra behind my scenes to get this to work.</p>

<h2>Setting the association</h2>

<p>First thing to do is add the &#8220;txt&#8221; extension to be recognised as markdown format. Open the file to edit:</p>

<pre><code>gedit /home/nigel/.local/share/mime/packages/x-markdown.xml
</code></pre>

<p>then add in the glob pattern for txt files under the current pattern for files so that the file has two lines like this:</p>

<pre><code>&lt;glob pattern="*.mdtxt"/&gt;
&lt;glob pattern="*.txt"/&gt;
</code></pre>

<p>Next, remove the txt extension association with plain text. Open the main mime types file (you will probably need to do this as root):</p>

<pre><code>gedit /usr/share/mime/packages/freedesktop.org.xml
</code></pre>

<p>and search for the line</p>

<pre><code>&lt;glob pattern="*.txt"/&gt;
</code></pre>

<p>This should only appear once and will be in the section for &#8216;plain/text&#8217;.</p>

<p>Once you&#8217;ve done these steps, run the following two lines of code (the second may need you to be root):</p>

<pre><code>update-mime-database ~/.local/share/mime/
update-mime-database /usr/share/mime
</code></pre>

<p>then restart Gedit and you&#8217;ll be all set!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.theringtail.co.uk/2010/01/markdown-support-for-gedit/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
