<?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>Lightly Seared On The Reality Grill &#187; MTB</title>
	<atom:link href="http://www.expatpaul.eu/tag/mtb/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.expatpaul.eu</link>
	<description>Random expat geekery from The Low Countries</description>
	<lastBuildDate>Mon, 21 May 2012 12:25:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>More housekeeping</title>
		<link>http://www.expatpaul.eu/2012/03/more-housekeeping/</link>
		<comments>http://www.expatpaul.eu/2012/03/more-housekeeping/#comments</comments>
		<pubDate>Sun, 25 Mar 2012 13:06:55 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[MTB]]></category>

		<guid isPermaLink="false">http://www.expatpaul.eu/?p=7068</guid>
		<description><![CDATA[Just a quick note to mention that I have now added a setup script to Macsen’s Transitioning Background. This is primarily about cleaning up the codebase a bit before I start tinkering with a Gnome 3 version &#8211; which will be coming at some point in the not too distant future.]]></description>
			<content:encoded><![CDATA[<p>Just a quick note to mention that I have now added a setup script to <a href="http://www.expatpaul.eu/linux-projects/mtb/">Macsen’s Transitioning Background</a>. This is primarily about cleaning up the codebase a bit before I start tinkering with a Gnome 3 version &#8211; which will be coming at some point in the not too distant future.</p>
 <p><a href="http://www.expatpaul.eu/?flattrss_redirect&amp;id=7068&amp;md5=22d915d61110feb6666f6036f0a54568" title="Flattr" target="_blank"><img src="http://www.expatpaul.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.expatpaul.eu/2012/03/more-housekeeping/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=ExpatPaul&amp;popout=1&amp;url=http%3A%2F%2Fwww.expatpaul.eu%2F2012%2F03%2Fmore-housekeeping%2F&amp;language=en_GB&amp;category=text&amp;title=More+housekeeping&amp;description=Just+a+quick+note+to+mention+that+I+have+now+added+a+setup+script+to+Macsen%E2%80%99s+Transitioning+Background.+This+is+primarily+about+cleaning+up+the+codebase+a+bit+before+I...&amp;tags=MTB%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Better help text with argparse</title>
		<link>http://www.expatpaul.eu/2012/03/better-help-text-with-argparse/</link>
		<comments>http://www.expatpaul.eu/2012/03/better-help-text-with-argparse/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 15:44:09 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[MTB]]></category>

		<guid isPermaLink="false">http://www.expatpaul.eu/?p=7052</guid>
		<description><![CDATA[Way back in 2011, I built a small application to build a Transitioning Background XML which could then be fed into Gnome 2 so that I could distract myself with a constantly changing background. This worked well enough and achieved what I wanted &#8211; an easy way to rebuild the XML every time I wanted [...]]]></description>
			<content:encoded><![CDATA[<p>Way back in 2011, I built a small application to build a Transitioning Background XML which could then be fed into Gnome 2 so that I could distract myself with a constantly changing background. This worked well enough and achieved what I wanted &#8211; an easy way to rebuild the XML every time I wanted to add some more photos. It didn&#8217;t provide any help text, though, which is something I kept meaning to sort out.</p>
<p>And then Gnome 3 came along and everything changed.</p>
<p>I have now gotten around to looking at <a href="http://www.expatpaul.eu/linux-projects/mtb/">Macsen’s Transitioning Background</a> again and have finally found the time to replace <a href="http://docs.python.org/dev/library/getopt.html">getopt</a> with <a href="http://docs.python.org/dev/library/argparse.html">argparse</a>. What that means in English is that if you type <code>mtb -h</code>, you will see this:</p>
<pre><code>usage: mtb.py [-h] [-p PATH] [-s STATIC] [-t TRANSITION]

Create a transitioning background XML for Gnome 2

optional arguments:
  -h, --help            show this help message and exit
  -p PATH, --path PATH  Set path for images and XML
  -s STATIC, --static STATIC
                        Set static time in seconds
  -t TRANSITION, --transition TRANSITION
                        Set transiton time in seconds</code></pre>
<p>As ever, all of the source can be found on <a href="https://github.com/ExpatPaul/MacsensTransitioningBackground">GitHub</a>.</p>
 <p><a href="http://www.expatpaul.eu/?flattrss_redirect&amp;id=7052&amp;md5=8c3635710391263374fd12a50c0c0200" title="Flattr" target="_blank"><img src="http://www.expatpaul.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.expatpaul.eu/2012/03/better-help-text-with-argparse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=ExpatPaul&amp;popout=1&amp;url=http%3A%2F%2Fwww.expatpaul.eu%2F2012%2F03%2Fbetter-help-text-with-argparse%2F&amp;language=en_GB&amp;category=text&amp;title=Better+help+text+with+argparse&amp;description=Way+back+in+2011%2C+I+built+a+small+application+to+build+a+Transitioning+Background+XML+which+could+then+be+fed+into+Gnome+2+so+that+I+could+distract+myself+with...&amp;tags=Gnome%2CMTB%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Cleaning up some code</title>
		<link>http://www.expatpaul.eu/2012/01/cleaning-up-some-code/</link>
		<comments>http://www.expatpaul.eu/2012/01/cleaning-up-some-code/#comments</comments>
		<pubDate>Wed, 25 Jan 2012 15:47:00 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[MTB]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://www.expatpaul.eu/?p=6460</guid>
		<description><![CDATA[It was in the middle of last year that I implemented what I rather ambitiously referred to as a wallpaper switcher for Gnome 2. What Macsen&#8217;s Transitioning Background does is generate an XML file based on the images in a selected folder and then let the Gnome background switcher handle the rest. With the switch [...]]]></description>
			<content:encoded><![CDATA[<p>It was in the middle of last year that I implemented what I rather ambitiously referred to as a wallpaper switcher for Gnome 2. What <a href="http://www.expatpaul.eu/linux-projects/mtb/">Macsen&#8217;s Transitioning Background</a> does is generate an XML file based on the images in a selected folder and then let the Gnome background switcher handle the rest.</p>
<p>With the switch to Gnome 3 this functionality is no longer supported. At least, not as far as I can tell.</p>
<p>I do still like the idea of using an XML file to control the background and have been toying with the idea of knocking together myself. As a first step towards this, I have tidied up some of the code. </p>
<p>The latest version of the source can be found on <a href="https://github.com/ExpatPaul/MacsensTransitioningBackground">GitHub</a>. The generated XML can be used to power a transitioning background in Gnome 2 and &#8211; if I ever find the time &#8211; I will start knocking together something that will work under Gnome 3.</p>
 <p><a href="http://www.expatpaul.eu/?flattrss_redirect&amp;id=6460&amp;md5=5f7c1332fc0e779cd241e67cc7cf7d48" title="Flattr" target="_blank"><img src="http://www.expatpaul.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.expatpaul.eu/2012/01/cleaning-up-some-code/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=ExpatPaul&amp;popout=1&amp;url=http%3A%2F%2Fwww.expatpaul.eu%2F2012%2F01%2Fcleaning-up-some-code%2F&amp;language=en_GB&amp;category=text&amp;title=Cleaning+up+some+code&amp;description=It+was+in+the+middle+of+last+year+that+I+implemented+what+I+rather+ambitiously+referred+to+as+a+wallpaper+switcher+for+Gnome+2.+What+Macsen%26%238217%3Bs+Transitioning+Background+does+is...&amp;tags=Gnome%2CMTB%2CPython%2Cblog" type="text/html" />
	</item>
		<item>
		<title>Macsen&#8217;s Transitioning Background: An XML powered wallpaper switcher for Gnome 2</title>
		<link>http://www.expatpaul.eu/2011/07/macsens-transitioning-background-an-xml-powered-wallpaper-switcher-for-gnome-2/</link>
		<comments>http://www.expatpaul.eu/2011/07/macsens-transitioning-background-an-xml-powered-wallpaper-switcher-for-gnome-2/#comments</comments>
		<pubDate>Thu, 07 Jul 2011 20:51:40 +0000</pubDate>
		<dc:creator>Paul</dc:creator>
				<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Gnome]]></category>
		<category><![CDATA[MTB]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://www.expatpaul.eu/?p=5729</guid>
		<description><![CDATA[While on holiday last month, my four-year-old son got hold of my camera and started taking photos. Lots of photos, some of which were quite good. Being the proud father that I am, I decided I wanted my desktop background to rotate through some of these photos. This is very easy to achieve with Gnome [...]]]></description>
			<content:encoded><![CDATA[<p>While on holiday last month, my four-year-old son got hold of my camera and started taking photos. Lots of photos, some of which were <a href="http://www.expatpaul.eu/2011/06/macsens-trip-to-mens/">quite good</a>. Being the proud father that I am, I decided I wanted my desktop background to rotate through some of these photos.</p>
<p>This is very easy to achieve with Gnome 2 &#8211; and is implemented in the Cosmos transitioning wallpaper. So on the Monday, I copied a bunch of resized photos into a folder under /usr/share/backgrounds, copied the XML file that powers Cosmos into the same folder, tweaked it, and was rather pleased to find my desktop wallpaper smoothly transitioning from one photo to the next.</p>
<p>On Tuesday, I added a few more photos and amended the XML file accordingly. By Wednesday, I was bored of manually editing the XML and started thinking about how best to automate this.</p>
<p>I have finally found a bit of time to do something about this and am now ready to release version 0.1 of <a href="http://www.expatpaul.eu/projects/mtb/">Macsen&#8217;s Transitioning Background</a>.</p>
<p>It&#8217;s probably not the most elegant solution (there is a lot of copying and pasting going on in the build() function) and the resulting XML file is not pretty. But it works. </p>
<p>You can find a tarball and some instructions on the <a href="http://www.expatpaul.eu/projects/mtb/">MTB Project Page</a> or browse the source at <a href="https://github.com/ExpatPaul/MacsensTransitioningBackground">GitHub</a>.</p>
 <p><a href="http://www.expatpaul.eu/?flattrss_redirect&amp;id=5729&amp;md5=76ae2f28408e286cd4d02f650f081bce" title="Flattr" target="_blank"><img src="http://www.expatpaul.eu/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.expatpaul.eu/2011/07/macsens-transitioning-background-an-xml-powered-wallpaper-switcher-for-gnome-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="https://flattr.com/submit/auto?user_id=ExpatPaul&amp;popout=1&amp;url=http%3A%2F%2Fwww.expatpaul.eu%2F2011%2F07%2Fmacsens-transitioning-background-an-xml-powered-wallpaper-switcher-for-gnome-2%2F&amp;language=en_GB&amp;category=text&amp;title=Macsen%26%238217%3Bs+Transitioning+Background%3A+An+XML+powered+wallpaper+switcher+for+Gnome+2&amp;description=While+on+holiday+last+month%2C+my+four-year-old+son+got+hold+of+my+camera+and+started+taking+photos.+Lots+of+photos%2C+some+of+which+were+quite+good.+Being+the+proud+father...&amp;tags=Gnome%2CMTB%2CPython%2CXML%2Cblog" type="text/html" />
	</item>
	</channel>
</rss>

