<?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>blog.theinternets.be</title>
	<atom:link href="http://blog.theinternets.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.theinternets.be</link>
	<description>andrew's blog. cat /dev/random &#62; topics_list.txt</description>
	<lastBuildDate>Sun, 27 Nov 2011 15:17:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Persistent Synaptics Settings Outside Gnome</title>
		<link>http://blog.theinternets.be/persistent-synaptics-settings-outside-gnome/</link>
		<comments>http://blog.theinternets.be/persistent-synaptics-settings-outside-gnome/#comments</comments>
		<pubDate>Sun, 27 Nov 2011 15:17:00 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=146</guid>
		<description><![CDATA[So far this is the best way I&#8217;ve found to have persistent touchpad settings when not using gnome. It feels quite hacky though, so I&#8217;m hoping there&#8217;s a better way I haven&#8217;t thought of yet The problem seems to be that gpointing-device-settings relies on gnome-setting-daemon for persistent settings. Running gnome-settings-daemon plants an ugly power gauge [...]]]></description>
			<content:encoded><![CDATA[<p>So far this is the best way I&#8217;ve found to have persistent touchpad settings when not using gnome. It feels quite hacky though, so I&#8217;m hoping there&#8217;s a better way I haven&#8217;t thought of yet
<p>The problem seems to be that gpointing-device-settings relies on gnome-setting-daemon for persistent settings. Running gnome-settings-daemon plants an ugly power gauge in the notification area that I can&#8217;t seem to configure. [insert standard rant about gnome3 here]</p>
<p>Settings can be set manually with synclient, and using this in combination with gpointing-device-settings to work out what values you need to set is an approach that seems to work reliably, even if it is somewhat annoying</p>
<p>Here&#8217;s what to do</p>
<ol>
<li>
In a terminal run &#8216;synclient -l&#8217;. This shows all the settings for the synaptics driver as currently applied. Save this output for later.
</li>
<li>
Run gpointing-device-settings, make changes as appropiate
</li>
<li>
Run &#8216;synclient -l&#8217; again. Note the changed values from the first run, these are the ones to be set manually on startup
</li>
<li>
Create a script to set these values when X starts. Mine is shown below
</li>
</ol>
<pre>

[andrew@apollo ~]$ cat /etc/X11/xinit/xinitrc.d/zz-synaptics.sh
#!/bin/bash

synclient AccelFactor=0.0790378
</pre>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/persistent-synaptics-settings-outside-gnome/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Screenshots in LDXE</title>
		<link>http://blog.theinternets.be/screenshots-in-ldxe/</link>
		<comments>http://blog.theinternets.be/screenshots-in-ldxe/#comments</comments>
		<pubDate>Wed, 22 Dec 2010 14:54:37 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=138</guid>
		<description><![CDATA[This is how I setup lxde (on Fedora 14) to take screenshots. Install the gnome-utils package. This contains the gnome-screenshot program. It&#8217;s possible to avoid this by using imagemagick or scrot, but I couldn&#8217;t find a way to make them take shots of the active window (the usual alt+printscreen behaviour) Insert the lines below into [...]]]></description>
			<content:encoded><![CDATA[<p>This is how I setup lxde (on Fedora 14) to take screenshots.</p>
<ul>
<li>Install the gnome-utils package. This contains the gnome-screenshot program. It&#8217;s possible to avoid this by using <a href="http://www.imagemagick.org/www/import.html">imagemagick</a> or <a href="http://forum.lxde.org/viewtopic.php?f=8&amp;t=1373">scrot</a>, but I couldn&#8217;t find a way to make them take shots of the active window (the usual alt+printscreen behaviour)</li>
<li>Insert the lines below into the keybind section of ~/.config/openbox/lxde-rc.xml</li>
</ul>
<p><code><br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;keybind&nbsp;key="Print"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&nbsp;name="Execute"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;command&gt;gnome-screenshot&lt;/command&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/action&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/keybind&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;keybind&nbsp;key="A-Print"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;action&nbsp;name="Execute"&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;command&gt;gnome-screenshot&nbsp;-w&nbsp;&lt;/command&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/action&gt;<br />
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/keybind&gt;<br />
</code><br />
Simples <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/screenshots-in-ldxe/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Vim Nano</title>
		<link>http://blog.theinternets.be/vim-nano/</link>
		<comments>http://blog.theinternets.be/vim-nano/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 14:47:23 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=133</guid>
		<description><![CDATA[Or, how to make vim behave a lot more like nano My vimrc: " backspace anything set backspace=indent,eol,start " indent plz set autoindent " I never liked vi set nocompatible " can haz shiny syntax on filetype plugin indent on " +++ Make it obvious which mode we are in set laststatus=2 " always show [...]]]></description>
			<content:encoded><![CDATA[<p>Or, how to make vim behave a lot more like nano</p>
<p><em>My vimrc:<br />
</em></p>
<blockquote><p><code>" backspace anything<br />
set backspace=indent,eol,start</p>
<p>" indent plz<br />
set autoindent</p>
<p>" I never liked vi<br />
set nocompatible</p>
<p>" can haz shiny<br />
syntax on<br />
filetype plugin indent on</p>
<p>" +++ Make it obvious which mode we are in<br />
set laststatus=2 " always show status line<br />
set statusline=%F%m%r%h%w[%L][%{&#038;ff}]%y[%p%%][%04l,%04v]<br />
highlight Comment ctermfg=lightblue<br />
highlight StatusLine ctermfg=yellow ctermbg=red cterm=BOLD</p>
<p>" no wrapping plz<br />
set nowrap</p>
<p>set insertmode</p>
<p>" mappings<br />
inoremap &lt;C-l&gt; &lt;C-o&gt;<br />
inoremap &lt;C-o&gt; &lt;C-o&gt;:w<br />
inoremap &lt;C-c&gt; &lt;C-o&gt;:q!<br />
inoremap &lt;C-x&gt; &lt;C-o&gt;:q&lt;CR&gt;<br />
inoremap &lt;C-w&gt; &lt;C-o&gt;/<br />
inoremap &lt;C-k&gt; &lt;C-o&gt;dd<br />
inoremap &lt;C-u&gt; &lt;C-o&gt;P</p>
<p>" i like to paste<br />
set pastetoggle=&lt;F4&gt;<br />
</code></p></blockquote>
<p>This gives you some basic nano shortcuts, ^x to quit, ^o to write, ^w to search. It can do nano style cut/paste, but only with a single line (so far). Use ^l to type regular vim commands.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/vim-nano/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lucid, Upstart &amp; Bridge Networking</title>
		<link>http://blog.theinternets.be/lucid-upstart-bridge-networking/</link>
		<comments>http://blog.theinternets.be/lucid-upstart-bridge-networking/#comments</comments>
		<pubDate>Tue, 07 Sep 2010 14:07:13 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=128</guid>
		<description><![CDATA[New server arrived last week. Installed lucid (Ubuntu 10.04) and planned to run some VMs there with werdz&#8216;s awesome rbvm. Spent my first few hours at the machine tripping up over this nasty bug, but I&#8217;ll save that for a separate rant, this is a rant just about upstart. Upstart is the kind of thing [...]]]></description>
			<content:encoded><![CDATA[<p>New server arrived last week. Installed lucid (Ubuntu 10.04) and planned to run some VMs there with <a href="http://www.unixforthought.com/">werdz</a>&#8216;s awesome <a href="http://hg.redbrick.dcu.ie/rbvm">rbvm</a>.</p>
<p>Spent my first few hours at the machine tripping up over <a href="https://bugs.launchpad.net/ubuntu/lucid/+source/mdadm/+bug/569900">this nasty bug</a>, but I&#8217;ll save that for a separate rant, this is a rant just about upstart.</p>
<p>Upstart is the kind of thing that&#8217;s great for laptops, they boot often, and you want them to boot quickly. Servers don&#8217;t boot quickly, they have network cards, remote access cards, raid controllers and other junk to initalize when they start. Because of this, trying to start everything on a system in parallel adds massive complexity without having anywhere near the same effect on the overall boot time.</p>
<p>Apart from this upstart, as it is, is half baked. It&#8217;s not ready to be included for a server distribution to go into production for 5 years. Most of the important services I have running here (bind, exim, apache, nginx) don&#8217;t even come with upstart configs, so half the system is still relying on old init scripts anyway.</p>
<p>The man page for mountall(8) sums it up pretty well:</p>
<blockquote><p>
This is a temporary tool until init(8) itself gains the necessary flexibility  to  perform this processing; you should not rely on its behaviour.</p></blockquote>
<p>I noticed that after enabling bridge networking (for rbvm) on Monday that the dhcp server was no longer starting. After some investigation I concluded this was because of the delay between upstart finishing bringing up the network, and br0 actually being ready (about 15 seconds).</p>
<p>Writing an upstart config for dhcp didn&#8217;t help, it still ran before br0 was up, even though it was dependent on &#8216;started networking&#8217;. The only solution I could come up with was to add a prestart script to force upstart to wait before starting the dhcp server. This is what I came up with.</p>
<blockquote><p># dhcp3-server<br />
#</p>
<p>description &#8220;DHCP Server&#8221;</p>
<p>start on (started networking and started dbus)<br />
stop on (stopping networking)</p>
<p>expect fork</p>
<p>pre-start script</p>
<p>brstat() {<br />
ifconfig |grep -c $BR_INTERFACE<br />
return 0<br />
}</p>
<p>BR_INTERFACE=&#8221;192.168.1.1&#8243;<br />
BRSTAT=`brstat`</p>
<p>while [ $BRSTAT -lt 1 ]; do<br />
sleep 2<br />
BRSTAT=`brstat`<br />
done</p>
<p># allow dhcp server to write lease and pid file<br />
mkdir -p /var/run/dhcp3-server<br />
chown dhcpd:dhcpd /var/run/dhcp3-server<br />
if [ ! -e /var/lib/dhcp3/dhcpd.leases ]; then<br />
touch /var/lib/dhcp3/dhcpd.leases<br />
fi<br />
chown dhcpd:dhcpd /var/lib/dhcp3 /var/lib/dhcp3/dhcpd.leases<br />
if [ -e /var/lib/dhcp3/dhcpd.leases~ ]; then<br />
chown dhcpd:dhcpd /var/lib/dhcp3/dhcpd.leases~<br />
fi</p>
<p>end script</p>
<p>exec /usr/sbin/dhcpd3 -q -cf /etc/dhcp3/dhcpd.conf</p></blockquote>
<p>Why the need for the brstat() function? Upstart executes all it&#8217;s scripts with &#8216;/bin/sh -e&#8217;, so grep returning 1 caused the script to fail. The documentation didn&#8217;t indicate any way to change that behaviour.</p>
<p>After all that effort, I noticed the same problem was affecting ircd-hybrid this morning, so I&#8217;ve set a similar hack to run from /etc/rc2.d before anything else, to ensure none of the init scripts will run without the interface being up.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/lucid-upstart-bridge-networking/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Home Finally</title>
		<link>http://blog.theinternets.be/home-finally/</link>
		<comments>http://blog.theinternets.be/home-finally/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 17:40:32 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=117</guid>
		<description><![CDATA[This is the second of two entries on our journey home from Nerja. Read the earlier one here The last few hours of the journey home were significantly less eventful then the earlier ones. We left the Internet cafe about 3.30 pm, picked up some doughnuts, wandered abbout Camden for a while and then headed [...]]]></description>
			<content:encoded><![CDATA[<p><em>This is the second of two entries on our journey home from Nerja. Read the earlier one <a href="http://blog.theinternets.be/69-hours/">here</a></em></p>
<p>The last few hours of the journey home were significantly less eventful then the <a href="http://blog.theinternets.be/69-hours/">earlier ones</a>. We left the Internet cafe about 3.30 pm, picked up some doughnuts, wandered abbout Camden for a while and then headed back to the station about 5.30. Train had loud annoying women getting drunk and yabbering in welsh. I was unimpressed. They seemed to take great enjoyment in discussing our donuts, perhaps they don&#8217;t have doughnuts in wales. One of them got up and spilled her drink all over herself at one point. I lol&#8217;d.</p>
<p>Arrived in Holyhead about 11pm, where the only entertainment was drinking tea and making journey small talk with other passengers, well Ornat talked, I was too tired. Coach brought is on to the boat about 2am, found our cabin and was pretty much asleep when the boat was leaving the port. Woke up a few hours later in Dublin, and back to the house by about 7am.</p>
<p><a href="http://blog.theinternets.be/wp-content/uploads/2010/04/homemap.jpg"><img src="http://blog.theinternets.be/wp-content/uploads/2010/04/homemap.jpg" alt="" title="homemap" width="557" height="887" class="alignnone size-full wp-image-119" /></a></p>
<p>As planned travelled Nerja -> Granada -> Madrid -> San Sebastian -> Hendaye -> Paris -> Le Havre -> Portsmouth -> London -> Holyhead -> Dublin in 4 days, about 2900 km according to Google Maps.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/home-finally/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>69 Hours</title>
		<link>http://blog.theinternets.be/69-hours/</link>
		<comments>http://blog.theinternets.be/69-hours/#comments</comments>
		<pubDate>Wed, 21 Apr 2010 13:39:45 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Travel]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=101</guid>
		<description><![CDATA[Last Thursday we were supposed to fly home from Nerja. Due to the ash clould we had to move this to the following day. When that flight was cancelled ryanair would not offer us another flight until at least Wednesday. We began to research other options to get home, but, decided they were too expensive [...]]]></description>
			<content:encoded><![CDATA[<p><em>Last Thursday we were supposed to fly home from Nerja. Due to the ash clould we had to move this to the following day. When that flight was cancelled ryanair would not offer us another flight until at least Wednesday. We began to research other options to get home, but, decided they were too expensive when Aer Lingus had reasonable priced seats on their Monday flight. On Sunday when our third flight was cancelled we decided it was time to leave anyway. This is the story of how we got from Nerja, Spain to London, England.</em></p>
<h3>Sunday</h3>
<p><strong>5:30pm</strong> &#8211; Leave Internet cafe in Nerja with plans made to start travelling later that evening. Suddenly in a rush to pack and get out in time for the bus.</p>
<p><strong>6:15pm</strong> &#8211; Leave the apartment with all the bags packed and head back into town and drop off the keys. Have enough time at the bus stop to eat the icecream that had nearly been forgotten in the fridge in the rush to pack and go.</p>
<p><strong>7:15pm</strong> &#8211; On the first bus of the day, leave Nerja for Granada. It&#8217;s about a two hour journey, through some cool looking hills and tunnels.</p>
<p><strong>9:15pm</strong> &#8211; Arrive in Granada. Have a few hours to kill here, so we decided to keep going past burger king and head in towards town. Didn&#8217;t manage to find much town, ended up walking in a huge circle to get back to the bus stop &#8211; at least it killed some time that would otherwise have been spent in the bus station. Got a Mc Donalds when we got back up towards the station and then waited for the bus.</p>
<h3>Monday</h3>
<p><strong>12:30am</strong> &#8211; Bus left Granada for Madrid, 5 hour journey. Bus was pretty nice, had things to plug headphones into with some radio/music stuff. Was mostly awake for the first half of the journey, there was a pit stop about 2.30 and managed to get a bit of sleep after that.</p>
<p><strong>5:30am</strong> &#8211; Arrived in Madrid, with two hours to make it to another bus station to catch our bus out of town. Met some guy here who&#8217;d got a flight up from lanzarote and was trying to get home too. He asked us if he was in a train station, I don&#8217;t think he&#8217;d had much sleep. After this we went down to the metro station and waited for the first train at 6am &#8211; the next bus station was on the same line a few stops away.</p>
<p><strong>6.30am</strong> &#8211; All bus stations are horrible places, number three wasn&#8217;t much different. We found a crappy little cafe in the place, ornat had coffee and some kind of pastry thing. I got a can of coke which I forgot to take with me when we got up <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  </p>
<p>Not much else to do around here, walked outside and there was nothing open at all, so went back downstairs to hang around and wait for super bus.</p>
<p><strong>7.30am</strong> &#8211; Super Bus. Madrid to San Sebastian was next on our itinerary. Buses and trains to all other more central places were all booked up, so we were heading for the border. We had a train booking from the far side of the border but weren&#8217;t exactly sure how long it&#8217;d take to find transport accross so we wanted to leave Madrid as early as possible. The first bus of the day to San Sebastian was the afformentioned super bus. </p>
<p>It cost a little extra (€45 as opposed to the €30 for regular on that journey) but was totally worth it. Not only did we arrive in plenty of time, but the thing had large leather seats (3 across, not 4), extra leg room and <em>a fucking hostess</em>. So, on bus number three we were served snacks, coffees and sandwiches. Well, I missed the sandwiches cause I was asleep again, but ornat got some. There was also a TV with some awful Eddie Murphy movie awfully dubbed in spanish. Luckily you only had to listen to it if you had head phones. </p>
<p><strong>12.45pm</strong> &#8211; Arrive in San Sebastian. This was a pretty cool looking place, and the weather was far better than what we&#8217;d left behind in the south the day earlier, but, no time to stay around and enjoy it <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>As soon as we got into town we started looking for a bus back out. Helpfully, the bus ticket people told us we actually wanted to get a train. Destination: Irun, the last place on Spanish side of the border we were planning to cross.</p>
<p>We found the little train station after a few minutes walking up into the town &#8211; Just a couple of suburban lines, nothing major looking. Got a train to Irun pretty quickly, journey was something like 15 minutes.</p>
<p>We were planning to get to Irun so we could walk to Hendaye on the French side of the border, but, it turned out that there were some trains that kept going past Irun and on to Hendaye.</p>
<p>We briefly left the station and walked around Irun. It was middle of the afternoon and pretty much everything was shut, so we headed back after a few minutes for the next train two stops down the line to Hendaye, France.</p>
<p><strong>2:00pm</strong> &#8211; We arrived in Hendaye totally unprepared for what happened next. We&#8217;d met some people trying to get home and chatted with them, but, we had yet to encounter mobs of people trying to get home. In France, home of the ongoing rail strike, this all changed.</p>
<p>Our tickets were booked, all we needed to do was collect them from the small station&#8217;s ONE ticket machine. However, there was a queue of people that filled most of the station between us and the machine.</p>
<p>Between the people with no tickets and unable to get them, the people trying to get bus transfers, and the people with cancelled trains this place was&#8230; busy. I didn&#8217;t hang around too long anyway, Ornat waited in the queue while I went in search of Internet to check on our Ferry plans for the next day. Got back to the station about an hour later, Ornat had got tickets and was talking to two guys also trying to get that train and head for a ferry. The four of us found a small bar just up the hill a little and had some lunch, headed down to the station about a half hour before the train was due to leave expecting to walk up to the train and find our seats.</p>
<p>Our seats were gone, as were most of the seats and much of the standing room. It seems many of the people who had cancelled trains or bus connections had been told to board our train. There was one seat left, which I suggested Ornat grab. She did. </p>
<p>The journey pretty much continued to go downhill for the next 2/3 hours after this, as, everytime the train stopped more people tried to get on. By the time we were approaching Bordeaux half way into the journey there was no standing room left in the asiles at all that we could see. </p>
<p>Luckily, at this point there was an announcement that everyone who did not have a booking for the train would have to get off at Bordeaux and get on another train there that would go direct to Paris. Shockingly most people actually seemed to get off and the atmosphere qucikly improved. I don&#8217;t think I would have gotten off to wait in uncertainly for another train mob, especially since we didn&#8217;t see a single ticket inspector (probably due to the strikes). </p>
<p>Anyway, with things cleared up, I headed to the bar carrage. In front of me was the older woman who had been occupying my seat, who insisted on buying us drinks for all the trouble. I accepted her offer <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>While we were down there we got talking to the man who had been standing behind me by the train door, self appointed in charge of making sure not too many people got on our carrage at each stop &#8211; the first person we&#8217;d met who was travelling further than us &#8211; this guy (and his family) were trying to make it back to Sweden. </p>
<p>After heading back towards our seats we got chatting with the other people travelling with the swede. A few more drinks were had. In the end I didn&#8217;t spend much more time sitting during the second half of the journey than the first.  </p>
<p><strong>11.45pm</strong> The train fun had to end eventually <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' />  and we arrived in Paris a little before midnight. Ahmed, who was letting us stay with him, met us at the station. Great thing he did too, cause we&#8217;d have been totally stuck if he hadn&#8217;t come in. When we arrived in St Lazare to catch the train back to his place it turned out that it had been cancelled. The only way for us to get out there was to run and try catch the RER to La Defense. </p>
<p>We ran. Caught the train, although with just seconds to spare and Ornat losing her shoes running up the platform. Quick sit down on the train and then we had to run again for the next one. Slight problem, we didn&#8217;t have the right tickets for this one and no time to buy them. Solution: Jump right over the barriers and keep running&#8230;. so that&#8217;s what we did. </p>
<p>At the train station there was a long walk up a long hill to get to Ahmed&#8217;s. We arrived there sometime around 1am and I showered helped inflate the matress while Ornat booked the hotel for the next night and sorted out other stuff we&#8217;d need on the trip to London.</p>
<h3>Tuesday</h3>
<p><strong>3:00am</strong> &#8211; Finally get to sleep.</p>
<p><strong>8.15 am</strong> &#8211; Woke up about now, took great effort to acually get up. It seems that blow up matresses can be really comfortable if you&#8217;re tired enough. We were. Luckily we were able to get a bus back to the train station which only took a few minutes. We stopped down here for coffee (and totally stayed longer than planned, but it was nice)</p>
<p><strong>9:30am</strong> &#8211; Back on the train to paris. We were lucky, it only made a few stops and we got into St Lazare just before 10. Our next train was at 10:50 and we had to find food and other essentials. After the mess of the previous day we wanted to be plenty early for this train. </p>
<p>In half an hour we made it to subway and H&#038;M &#8211; ornat bought better shoes, I bought clean socks.</p>
<p><strong>10:30am</strong> &#8211; We were the first people onto the train after they announced what platform it was leaving from. It never got as busy as we expected and there was plenty of room when it pulled out of the station at 10:50. </p>
<p>We had a pretty relaxing trip to Le Havre from here, I ate my subway and wore clean socks, then napped for a bit.</p>
<p><strong>12.50pm</strong> &#8211; Arrive in Le Havre. It&#8217;s way bigger than I&#8217;d expected. Not entriely sure where the port is we follow the croud in front. After a few minutes we can see a ferry, and figure we&#8217;re probably heading in the right direction. </p>
<p>Get to the ferry terminal expecting to see lots of people trying to get home. There&#8217;s suprisingly few. We get in a queue and are checked in after a few minutes.</p>
<p><strong>1.45pm</strong> &#8211; Ornat minds the bags in the ferry terminal while I head back down towards the shops to get some stuff. Get a little lost on the return, and it was far too hot. Eventually got back with wine, Jameson and a phone charger for Ornat. Forgot to buy more bottles of water <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p><strong>2.55pm</strong> &#8211; People are already bording as I get back to the terminal. We quickly jump in the queue and after having to wait a few minutes to get the bags loaded we walked onto the ship and found nice seats in great proximity to windows and bars (well, the only bar).</p>
<p>Sometime after this an announcement is made that the Port Authority in Portsmouth won&#8217;t allow the ship to dock until 10:15pm and not 9:30pm as planned. This meant that the ship would arrive after the last train to London. Some people looked worried. We looked worried.</p>
<p>Ornat went off to find somewhere to use her new phone charger, and came back having met two women from Belfast who were getting a minibus straight to Holyhead. A minibus that might have extra seats. We called the guys organising it, no luck on the free seats. About this time there was an announcement that there was going to be an extra train to London at 11:30. At least we had someway to keep going.</p>
<p><strong>10:15pm</strong> &#8211; After piling up around the exit door for some time we were allowed off the ship. Expecting great numbers of people to be trying to get the train to London we split up at this point &#8211; I stayed waiting for the luggage to arrive while Ornat went to find the station and get train tickets.</p>
<p>Cold. It was cold waiting for those bags &#8211; never even thought when packing the bag up that we&#8217;d land up somewhere cold and closer to home and should have kept coats out. After about 15 minutes we were able to get the luggage unloaded and rush through passport control.</p>
<p>Got a taxi up to the train station after a few minutes in the queue, trying to keep going quickly expecting the piles of other people to arrive.</p>
<p><strong>11:36pm</strong> &#8211; The train leaves the station for London with us on it. Us, and about 20 other people. I overheard some people saying some big ship that was expected hadn&#8217;t arrived. However they got home, I didn&#8217;t see any of the people from out boat at the train. Maybe some people made other plans, but, the demand for this special 8 carriage train was significantly less than supply.</p>
<p>Got the number for hotel and some details about tubes/buses (thanks Eoghan). Call the hotel to let them know we&#8217;ll be arriving later than planned. </p>
<p>Hotel is less central than would have been ideal, guess we weren&#8217;t the most awake when thinking about it in Paris. Would have been fine if the ferry had been allowed in on time and we&#8217;d made the tube. Start planning bus journey.</p>
<h3>Wednesday</h3>
<p><strong>1:10am</strong> &#8211; Got into Waterloo station. Considered getting a taxi, but, decided to try out the bus option. Walked to the first bus stop.</p>
<p><strong>1:38am</strong> &#8211; First bus arrives on time. Great start. The second bus was also on time, and the driver didn&#8217;t charge us cause we had no coins <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  Great service was great, arrived at the hotel without any more drama, though later than we would have liked.</p>
<p><strong>5:45am</strong> &#8211; Alarm goes off. We were planning to leave at 6am to get a 7am train from Euston to try get the early ferry. </p>
<p><strong>6:45am</strong> &#8211; Realise we&#8217;ve fell back asleep. We decided at this stage that since we&#8217;d missed the train we wanted to just get an extra few hours sleep.</p>
<p><strong>9:30am</strong> &#8211; With the tube running journey back into London is much easier and faster than the journey the previous night. </p>
<p>Get into Euston station and try buy sail/rail tickets. They say they don&#8217;t sell them anymore and it has to go through the ferry. Ring the ferry. Seems the deal has been suspended temporarily. Not surprising really, the journey that a week ago would have cost us £30 is now going to cost over £100 buying the tickets seperatly.</p>
<p>Go out in search of an Internet cafe to plan tickets for the ferry. Found one eventually, had tea and croissants while searching <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>The only sailing we can get tickets on and make in time is the 2.30 am ones. Decide it&#8217;d be better to spend more time in London than in Holyhead, booked direct London -> Holyhead train for 7pm.</p>
<p>One last thing to check on the Internet &#8211; the location of the nearest pizza hut &#8211; something I hadn&#8217;t been able to find all week (really, I looked everywhere).</p>
<p><strong>1:00pm</strong> &#8211; Having got day tickets and grabbed a tube from Euston we eventually find the Oxford St Pizza hut, and enter for it&#8217;s tasty buffet delights. This is the cleanest and best staffed Pizza Hut I&#8217;ve ever been to, would totally recommend if you&#8217;re in London and need huge amounts of buffet pizza.</p>
<p><strong>2:30pm</strong> &#8211; After a few minutes walking about find an Internet cafe near the Hut. Start writing this blog (had to finish it in Dublin) 69 hours after leaving the internet cafe in Nerja.</p>
<p><em>The remainder of the journey is covered in the <a href="http://blog.theinternets.be/home-finally/">next entry</a>.</em></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/69-hours/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LXDE Part 2</title>
		<link>http://blog.theinternets.be/lxde-part-2/</link>
		<comments>http://blog.theinternets.be/lxde-part-2/#comments</comments>
		<pubDate>Sat, 03 Apr 2010 23:01:28 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[dell mini 10]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[lxde]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=93</guid>
		<description><![CDATA[So, I&#8217;ve been using it for a few days, and it&#8217;s working nicely now. Power Management The battery applet on LXPanel seemed to eh, not work for me. I decided to try loading in gnome-power-manager for this. Not only does this put an accurate power gauge on the panel (in the tray area), but controls [...]]]></description>
			<content:encoded><![CDATA[<p>So, I&#8217;ve been using it for a few days, and it&#8217;s working nicely now.</p>
<h3>Power Management</h3>
<p>The battery applet on LXPanel seemed to eh, not work for me. I decided to try loading in gnome-power-manager for this. Not only does this put an accurate power gauge on the panel (in the tray area), but controls things like brightness when on power/battery. Best of all, the brightness control buttons on the keyboard now work. Created an autostart entry to start this on login.</p>
<p><code><br />
[andrew@Callandra ~]$ cat .config/autostart/power.desktop<br />
[Desktop Entry]<br />
Name=Power Manager<br />
Exec=/usr/bin/gnome-power-manager<br />
Comment=Gnome Power Manager<br />
Encoding=UTF-8<br />
Type=Application<br />
StartupNotify=false<br />
X-KDE-autostart-after=panel<br />
Icon=setroubleshoot_icon<br />
</code></p>
<h3>Keyboard Indicators</h3>
<p>For some reason this laptop comes with no indicator lights for the keyboard. I don&#8217;t understand why something would be designed like this,   but there is an indicator available on LXPanel, which mostly works.</p>
<p>It seems to work fine when started, but, if it&#8217;s set to show only caps lock (the only one I really needed) it loads up on next login only indicating scroll lock. Only solution to this I&#8217;ve found is to keep all three indicators enabled.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/lxde-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora, LXDE and the Dell Mini 10</title>
		<link>http://blog.theinternets.be/fedora-lxde-and-the-dell-mini-10/</link>
		<comments>http://blog.theinternets.be/fedora-lxde-and-the-dell-mini-10/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 18:16:37 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[dell mini 10]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[lxde]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=89</guid>
		<description><![CDATA[So, last night I won a Dell Mini 10, and decided to try out LXDE rather than XFCE for a change (using the LXCD spin), so it&#8217;s been a little more fun to get working than it otherwise would have been LXDE This seems pretty light and cool. The default applications are very light, but [...]]]></description>
			<content:encoded><![CDATA[<p>So, last night I won a Dell Mini 10, and decided to try out LXDE rather than XFCE for a change (using the LXCD spin), so it&#8217;s been a little more fun to get working than it otherwise would have been <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
<h3>LXDE</h3>
<p>This seems pretty light and cool. The default applications are very light, but most are functional enough to use. The panel comes with just the right amount of gadgets and configurations to do everything I need in the smallest possible amount of screen space.</p>
<h3>Software</h3>
<h4>Browser</h4>
<p>The default web browser Midori seems cool, but just doesn&#8217;t have enough functionality to use as a firefox/chrome replacement, so I installed chrome. This mostly worked fairly well, but, it couldn&#8217;t open downloads because of xdg-open not being at all LXDE friendly.</p>
<p>Hacking up the <a href="http://blog.theinternets.be/2010/03/31/fedora-please-get-your-default-paths-right/">terrible default path</a> to be sensible and putting a new xdg-open in /usr/local/bin got around this though.</p>
<p><code><br />
[andrew@Callandra ~]$ cat /usr/local/bin/xdg-open<br />
#!/bin/bash</p>
<p>[ -z "$1" ] &amp;&amp; exit 1</p>
<p>if echo "${1}" | egrep -q "^(https?://|www.)"; then<br />
&nbsp;&nbsp;&nbsp;&nbsp;exec google-chrome "${1}"<br />
&nbsp;&nbsp;&nbsp;&nbsp;exit 0<br />
fi</p>
<p>pcmanfm "${1}"<br />
</code></p>
<h4>Terminal</h4>
<p>My biggest criticism of the LXDE terminal is that it was clearly designed by someone who didn&#8217;t love terminals like I do. It&#8217;s functional, but I can&#8217;t live without clickable links.</p>
<p>I tried installing the gnome-terminal, but, it too seemed to fail at opening links. Luckily the xfce terminal worked perfectly <img src='http://blog.theinternets.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For some reason though, F11 is mapped to FullScreen by OpenBox, which is a real pain cause I use that for screen. Eventually I found to disable that in ~/.config/openbox/config</p>
<h3>Hardware</h3>
<p>The hardware seems mostly good, the screen and keyboard size are most excellent (though, there&#8217;s enough room here that there could have been a Page Up/Page down button). The wireless (Broadcom 4312 *shudder*) works fine with kmod-wl from rpmfusion, and the network manager applet works great in LXDE.</p>
<p>Biggest problem with the hardware is the trackpad, which has the buttons integrated (like the ones on the new Mac). This is at best &#8216;tricky&#8217; to use, it&#8217;s possible better drivers would help, I&#8217;m still looking.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/fedora-lxde-and-the-dell-mini-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora: Please get your default paths right</title>
		<link>http://blog.theinternets.be/fedora-please-get-your-default-paths-right/</link>
		<comments>http://blog.theinternets.be/fedora-please-get-your-default-paths-right/#comments</comments>
		<pubDate>Wed, 31 Mar 2010 13:02:27 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=85</guid>
		<description><![CDATA[Just noticed this on a clean Fedora 12 install (that I&#8217;ll talk about later). [andrew@Callandra ~]$ echo $PATH /usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/andrew/bin Compare that to the default Ubuntu paths: home@racetrack:~$ echo $PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games Ubuntu are right here, and Fedora is very wrong (much as it hurts me to have to say that). The point of the path is [...]]]></description>
			<content:encoded><![CDATA[<p>Just noticed this on a clean Fedora 12 install (that I&#8217;ll talk about later).</p>
<p><code><br />
[andrew@Callandra ~]$ echo $PATH<br />
/usr/lib/qt-3.3/bin:/usr/kerberos/sbin:/usr/kerberos/bin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/andrew/bin<br />
</code><br />
Compare that to the default Ubuntu paths:<br />
<code><br />
home@racetrack:~$ echo $PATH<br />
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games<br />
</code></p>
<p>Ubuntu are right here, and Fedora is very wrong (much as it hurts me to have to say that). The point of the path is that default applications can be overridden at every level. Start from the back end, /bin. I may as the network administrator put a program of the same name (packaged) into /usr/bin to make it the default for system users. Similarly, as a local administrator I may want to put custom software, wrappers etc., into /usr/local/bin so they appear before the packaged defaults. As an end user, I might want to use my homedir to do similar</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/fedora-please-get-your-default-paths-right/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Requirements For A Usable Package Manager</title>
		<link>http://blog.theinternets.be/requirements-for-a-usable-package-manager/</link>
		<comments>http://blog.theinternets.be/requirements-for-a-usable-package-manager/#comments</comments>
		<pubDate>Fri, 29 Jan 2010 13:29:23 +0000</pubDate>
		<dc:creator>andrew</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Solaris]]></category>

		<guid isPermaLink="false">http://blog.theinternets.be/?p=79</guid>
		<description><![CDATA[Jeff writes: What I would like to explain is why the impedance mismatch between Linux and Solaris packaging is not so much a technological divide as it is a philosophical one. Philosophical differences are fine. Infinite diversity in infinite combinations, etc., however, regardless of the philosophy the goal of the package manager should be to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://holyhandgrenade.org/blog/2009/12/linux-vs-solaris-packaging-its-a-philosophical-thing/">Jeff writes: </a></p>
<blockquote><p>What I would like to explain is why the impedance mismatch between Linux and Solaris packaging is not so much a technological divide as it is a philosophical one.</p></blockquote>
<p>Philosophical differences are fine. Infinite diversity in infinite combinations, etc., however, regardless of the philosophy the goal of the package manager should be to make the life of the sysadmin easier, otherwise it&#8217;s not much use.</p>
<p>For a change this won&#8217;t be a rant about how the package set is an ancient pile of crap, we&#8217;ll assume for the sake of this discussion that you&#8217;re so concerned about stability you&#8217;re willing to live with a 6 year old version of bash. We won&#8217;t discuss how incompatible 3rd party sites are a poor substitute for the ports tree, because maybe you&#8217;re happy with a 5 year old version of nano.</p>
<p>The point is the tools should be independent of the packaging philosophy. They should minimise the amount of effort required to manage the system &#8211; automation is a good thing &#8482;. On that basis, I propose that there is a minimum set of functions these tools should provide.</p>
<ul>
<li><strong>Automatic Dependency Resolution. </strong>Pretty obvious, you can&#8217;t call anything a package manager if it can&#8217;t do this.</li>
<li><strong>Simple Upgrade</strong>. All upgrades to the packages should of course be available as packages, and there should be a simple command to upgrade all packages for which there is a new version (thanks Cian for reminding me of this one)</li>
<li><strong>Remote Repo Support. </strong>HTTP is preferable for this, because, everyone has a http server. I don&#8217;t want to carry the Solaris 10 DVD in my pocket everywhere, and I don&#8217;t want to go around mounting NFS directories. The vendor doesn&#8217;t have to provide the package server, just support in the tools for a package server so I&#8217;m free to make my own (and, so are others)</li>
<li><strong>Support For Multiple Repos. </strong>Blastwave has it&#8217;s own tools (yes, multiple) to actually install it&#8217;s packages. SunFreeWare relies on you doing your own manual dependency resolution (*shudder*). This is a load of shite. The package tools supplied by the operating system should allow me to define multiple sources, and rules for which source should be used. I should be free to build custom packages with dependencies against base packages if that&#8217;s what I choose (and, there&#8217;s lots of reasons to want to do this), or to maintain a separate hierarchy of independent software (like blastwave etc.) if that&#8217;s what the situation requires.</li>
<li><strong>Simple tools</strong> to query packages, search for packages, query files. We don&#8217;t need all the bells and whistles of apt, but, we do need equivalents for &#8216;apt-cache search&#8217;, &#8216;yum info&#8217;, and &#8216;dpkg -S&#8217;.</li>
</ul>
<p>Regardless of the philosophy, the point of a package manager should be to manage all the software on the system. I don&#8217;t have time to compile things, and I don&#8217;t enjoy patching things. There is no reason that you can not achieve separation of components, (eg, base and ports) while still providing binary packages for everything. The whole system should be package managed, apart from the handful of shell scripts I have sitting in /usr/local/bin ( the one place the package manager should never touch. /usr/local/ is for me to manage. This is what both FHS and the debian package policy says)</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.theinternets.be/requirements-for-a-usable-package-manager/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

