<?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>Chris&#039; Blog &#187; Ubuntu</title>
	<atom:link href="http://www.cs278.org/blog/category/technology/os/linux/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cs278.org/blog</link>
	<description>“A metal loving, web developing, open source contributor.”</description>
	<lastBuildDate>Sun, 03 Apr 2011 14:36:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>One Down</title>
		<link>http://www.cs278.org/blog/2010/02/18/one-down/</link>
		<comments>http://www.cs278.org/blog/2010/02/18/one-down/#comments</comments>
		<pubDate>Thu, 18 Feb 2010 00:20:15 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[Upgrades]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=536</guid>
		<description><![CDATA[Well one of my gripes with Ubuntu 9.10 &#8216;Karmic Koala&#8217; has been cured at least, Firebug 1.5 now works after upgrades to Firefox 3.5.8. Shame that I&#8217;ve found out my bash completion is broken.]]></description>
			<content:encoded><![CDATA[<p>Well one of my <a href="http://www.cs278.org/blog/2010/01/31/why-do-i-bother/">gripes</a> with Ubuntu 9.10 &#8216;Karmic Koala&#8217; has been cured at least, Firebug 1.5 now works after upgrades to Firefox 3.5.8.</p>
<p>Shame that I&#8217;ve found out my bash completion is broken. <img src='http://www.cs278.org/blog/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/02/18/one-down/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why do I bother?</title>
		<link>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/</link>
		<comments>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/#comments</comments>
		<pubDate>Sun, 31 Jan 2010 13:52:23 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Rants]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Jaunty]]></category>
		<category><![CDATA[Karmic]]></category>
		<category><![CDATA[kinslayer]]></category>
		<category><![CDATA[Upgrades]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=514</guid>
		<description><![CDATA[Updated my desktop from Ubuntu &#8216;Jaunty&#8217; 9.04 to Ubuntu &#8216;Karmic&#8217; 9.10, the upgrade process worked flawlessly. Sadly the number of regressions has kind of taken the shine of the various improvements to the distribution. The big kicker for me is &#8230; <a href="http://www.cs278.org/blog/2010/01/31/why-do-i-bother/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>Updated my desktop from Ubuntu &#8216;Jaunty&#8217; 9.04 to Ubuntu &#8216;Karmic&#8217; 9.10, the upgrade process worked flawlessly. Sadly the number of regressions has kind of taken the shine of the various improvements to the distribution.</p>
<p>The big kicker for me is the breaking of VLC and/or Gnome Screensaver, now VLC fails to suppress the screensaver in full screen which is kind of useless when you want to watching anything over 5 minutes long. To workaround this I use <code>gnome-screensaver-command --inhibit</code> to prevent the screensaver from activating, and set a command to kill that after 2 hours. The next problem I&#8217;ve observed is that even when the suppression and the film have both ended, the screensaver still doesn&#8217;t want to activate for ages; leaving my desktop burning the image into the screen until I lock the screen myself. Not a problem but I often hit the hay with a film on and usually fall asleep midway through, got up yesterday morning to find my desktop sat there still being projected from my display. <a href="https://bugs.launchpad.net/ubuntu/+source/vlc/+bug/428884" rel="external">LP #428884</a>.</p>
<p>My second gripe is Flash player under a x86-64 installation using nspluginwrapper and the x86 Flash player provided in the repositories works, what&#8217;s so bad about that? Well you can&#8217;t actually click on any controls on the Flash object, which kind of rules out embedded YouTube, BBC iPlayer, etc. roll on &lt;video&gt; with Ogg Theora. I resolved this by purging the packaged Flash and nspluginwrapper, and then installing the native 64 bit alpha version <a href="http://labs.adobe.com/downloads/flashplayer10_64bit.html" rel="external">from Adobe</a>.</p>
<p>Finally <a href="http://getfirebug.com/" rel="external">Firebug 1.5</a> doesn&#8217;t support 64 bit builds of Firefox, which to be fair Mozilla don&#8217;t support so I don&#8217;t really have a problem with this. You need to get an <a href="http://getfirebug.com/releases/firebug/1.4/" rel="external">older release</a> from the 1.4 branch, I&#8217;ve heard that the 1.6 alphas work again.</p>
<p>Good grumbling done for the morning!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2010/01/31/why-do-i-bother/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Vacuum Firefox on Ubuntu</title>
		<link>http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/</link>
		<comments>http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/#comments</comments>
		<pubDate>Wed, 14 Oct 2009 23:14:04 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[sqlite]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=497</guid>
		<description><![CDATA[It was suggested to me to use vacuum places to improve my Firefox awesome bar performance, as I&#8217;m still using Firefox 3.0 which is packaged with Jaunty; I do have 3.5 installed I just use it for testing sites at &#8230; <a href="http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>It was suggested to me to use <a href="https://addons.mozilla.org/en-US/firefox/addon/13824" rel="external"><em>vacuum places</em></a> to improve my Firefox awesome bar performance, as I&#8217;m still using Firefox 3.0 which is packaged with Jaunty; I do have 3.5 installed I just use it for testing sites at the moment. However realising that I didn&#8217;t need an addon a single line of bash will probably do what I want I headed to Google and found an <a href="http://www.gettingclever.com/2008/06/vacuum-your-firefox-3.html" rel="external">explaining</a> it all and a suitable one-liner to optimise all my Firefox SQLite DBs.</p>
<p>You will need the <var>sqlite3</var> package installed and you should close Firefox prior to running the command.</p>
<pre class="terminal">for i in ~/.mozilla/firefox/*/*.sqlite; do echo "VACUUM;" | sqlite3 $i ; done</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2009/10/15/vacuum-firefox-on-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>X2X</title>
		<link>http://www.cs278.org/blog/2008/11/17/x2x/</link>
		<comments>http://www.cs278.org/blog/2008/11/17/x2x/#comments</comments>
		<pubDate>Mon, 17 Nov 2008 10:48:45 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[tool]]></category>
		<category><![CDATA[x]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=406</guid>
		<description><![CDATA[X2X is this awesome little utility I found which allows you to control an X session on a remote computer with the keyboard and mouse on your local computer, by remote computer I for example mean the laptop sat beside &#8230; <a href="http://www.cs278.org/blog/2008/11/17/x2x/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p><a href="http://x2x.dottedmag.net/" rel="external"><em>X2X</em></a> is this awesome little utility I found which allows you to control an X session on a remote computer with the keyboard and mouse on your local computer, by remote computer I for example mean the laptop sat beside you as it relies on you being able to see the output of the remote computers monitor. The Ubuntu Community Documentation has a <a href="https://help.ubuntu.com/community/X2xHowto" rel="external">quick how to</a> on using this handy tool.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/11/17/x2x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Game</title>
		<link>http://www.cs278.org/blog/2008/06/08/ubuntu-game/</link>
		<comments>http://www.cs278.org/blog/2008/06/08/ubuntu-game/#comments</comments>
		<pubDate>Sun, 08 Jun 2008 14:02:06 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Humour]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[amazon]]></category>
		<category><![CDATA[fud]]></category>
		<category><![CDATA[n00b]]></category>
		<category><![CDATA[review]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/?p=370</guid>
		<description><![CDATA[I&#8217;m not sure what I can really say to that, other than n00b!]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.flickr.com/photos/27373994@N02/2554310312/sizes/o/" title="Click for Fullsize"><img src="http://farm4.static.flickr.com/3268/2554310312_554e5fb01e.jpg" alt="Ubuntu Review on Amazon" /></a></p>
<p>I&#8217;m not sure what I can really say to that, other than n00b!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/06/08/ubuntu-game/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Blocking SSH Brute Force attempts using iptables</title>
		<link>http://www.cs278.org/blog/2008/01/12/blocking-ssh-brute-force-attempts-using-iptables/</link>
		<comments>http://www.cs278.org/blog/2008/01/12/blocking-ssh-brute-force-attempts-using-iptables/#comments</comments>
		<pubDate>Sat, 12 Jan 2008 15:53:33 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[iptables]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[ssh]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/2008/01/12/blocking-ssh-brute-force-attempts-using-iptables/</guid>
		<description><![CDATA[After my recent break in I have looked into ways of protecting SSH and my server resources. I employ fail2ban on my main server, it has the resources to run such a programme &#8211; my Linksys NSLU2&#8242;s however do not. &#8230; <a href="http://www.cs278.org/blog/2008/01/12/blocking-ssh-brute-force-attempts-using-iptables/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>After my recent <a href="http://www.cs278.org/blog/2008/01/10/confession/">break in</a> I have looked into ways of protecting SSH and my server resources. I employ <a href="http://www.fail2ban.org/" rel="external">fail2ban</a> on my main server, it has the resources to run such a programme &#8211; my Linksys NSLU2&#8242;s however do not. The solution is to use iptables to limit the number of connections any host can make in a given time frame. I wrote up a quick <a href="http://noc.cs278.org/wiki/HowTo:Kernel/Block_SSH_Scans">how to</a> on this over at my wiki. Enjoy.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2008/01/12/blocking-ssh-brute-force-attempts-using-iptables/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Broadcast Ping</title>
		<link>http://www.cs278.org/blog/2007/09/22/broadcast-ping/</link>
		<comments>http://www.cs278.org/blog/2007/09/22/broadcast-ping/#comments</comments>
		<pubDate>Sat, 22 Sep 2007 11:53:47 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Network]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/2007/09/22/broadcast-ping/</guid>
		<description><![CDATA[You can tell Linux to respond to broadcast pings by running this snippet from the console. $ echo 0 &#124; sudo tee /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts Edit /etc/sysctl.conf to set the option permanently.]]></description>
			<content:encoded><![CDATA[<p>You can tell Linux to respond to broadcast pings by running this snippet from the console.</p>
<pre class="terminal">$ echo 0 | sudo tee /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts</pre>
<p>Edit <var>/etc/sysctl.conf</var> to set the option permanently.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2007/09/22/broadcast-ping/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Packages</title>
		<link>http://www.cs278.org/blog/2007/07/15/packages/</link>
		<comments>http://www.cs278.org/blog/2007/07/15/packages/#comments</comments>
		<pubDate>Sun, 15 Jul 2007 23:02:53 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/2007/07/15/packages/</guid>
		<description><![CDATA[I have been playing with packaging for Ubuntu and Debian for a while now and I have one fairly useful package called rsnapshot-scripts which contains a bunch of scripts for use with rsnapshot. It allows you to backup other data &#8230; <a href="http://www.cs278.org/blog/2007/07/15/packages/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I have been playing with packaging for Ubuntu and Debian for a while now and I have one fairly useful package called <a href="http://svn.cs278.org/trac/~chris/packages/wiki/rsnapshot-scripts"><em>rsnapshot-scripts</em></a> which contains a bunch of scripts for use with <dfn>rsnapshot</dfn>. It allows you to backup other data sources like MySQL, DPKG and Subversion.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2007/07/15/packages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grub Scripted Configuration</title>
		<link>http://www.cs278.org/blog/2007/06/19/grub-scripted-configuration/</link>
		<comments>http://www.cs278.org/blog/2007/06/19/grub-scripted-configuration/#comments</comments>
		<pubDate>Tue, 19 Jun 2007 18:53:19 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[ktulu [Desktop]]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/2007/06/19/grub-scripted-configuration/</guid>
		<description><![CDATA[This is a really ugly sed one liner that configures grub how I like it. $ sudo sed --in-place 's/#\(hiddenmenu\)/\1/;s/^\(timeout[ \t]*\)[0-9]*/\12/;s/^\(# lock.*=\)false$/\1true/' /boot/grub/menu.lst $ _GPASSWD=$(read -s -p "Enter Grub Password (note type carefully): " _GPASSWD; echo $_GPASSWD &#124; mkpasswd --hash=md5 &#8230; <a href="http://www.cs278.org/blog/2007/06/19/grub-scripted-configuration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>This is a really ugly sed one liner that configures grub how I like it.</p>
<pre class="terminal">$ sudo sed --in-place 's/#\(hiddenmenu\)/\1/;s/^\(timeout[ \t]*\)[0-9]*/\12/;s/^\(# lock.*=\)false$/\1true/' /boot/grub/menu.lst
$ _GPASSWD=$(read -s -p "Enter Grub Password (note type carefully): " _GPASSWD; echo $_GPASSWD | mkpasswd --hash=md5 --stdin); echo; sudo sed --in-place "s/# password topsecret/password --md5 $_GPASSWD/" /boot/grub/menu.lst; unset _GPASSWD
$ sudo update-grub</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2007/06/19/grub-scripted-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu lirc Configuration</title>
		<link>http://www.cs278.org/blog/2007/06/11/ubuntu-lirc-configuration/</link>
		<comments>http://www.cs278.org/blog/2007/06/11/ubuntu-lirc-configuration/#comments</comments>
		<pubDate>Mon, 11 Jun 2007 17:37:56 +0000</pubDate>
		<dc:creator>Chris</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[eddie [Laptop]]]></category>
		<category><![CDATA[ktulu [Desktop]]]></category>

		<guid isPermaLink="false">http://www.cs278.org/blog/2007/06/11/ubuntu-lirc-configuration/</guid>
		<description><![CDATA[I keep meaning to document this, the installation procedure for my MCEUSB2 remote control with lirc under Ubuntu, so here we go. $ sudo aptitude install lirc lirc-modules-source module-assistant debconf-utils $ wget http://static.cs278.org/conf/debconf/ubuntu-704_lirc-modules-source -O- &#124; sudo debconf-set-selections $ sudo dpkg-reconfigure &#8230; <a href="http://www.cs278.org/blog/2007/06/11/ubuntu-lirc-configuration/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I keep meaning to document this, the installation procedure for my MCEUSB2 remote control with lirc under Ubuntu, so here we go.</p>
<ol>
<li>
<pre class="terminal">$ sudo aptitude install lirc lirc-modules-source module-assistant debconf-utils</pre>
</li>
<li>
<pre class="terminal">$ wget http://static.cs278.org/conf/debconf/ubuntu-704_lirc-modules-source -O- | sudo debconf-set-selections
$ sudo dpkg-reconfigure lirc-modules-source</pre>
<p class="note">This was needed before but is now automated:<br />
Select <q><var>mceusb2</var></q> and then <q>No</q>, and choose<q>Install the package maintainer&#8217;s version</q> if the option appears.</p>
</li>
<li>
<pre class="terminal">$ sudo sed 's/MODULES=""/MODULES="lirc_mceusb2"/' /etc/lirc/hardware.conf --in-place</pre>
</li>
<li>
<pre class="terminal">$ sudo m-a update,prepare
$ sudo rm /usr/src/lirc*deb
$ sudo m-a clean lirc
$ sudo m-a a-i lirc
$ sudo depmod -a</pre>
</li>
<li>
<pre class="terminal">$ wget "https://help.ubuntu.com/community/Install_Lirc_Feisty?action=AttachFile&#038;do=get&#038;target=lircd.conf.mceusb" -O- | sudo tee /etc/lirc/lircd.conf</pre>
</li>
<li>
<pre class="terminal">$ sudo modprobe lirc_mceusb2
$ sudo /etc/init.d/lirc start</pre>
</li>
</ol>
<p>Sources:</p>
<ul>
<li><a href="https://help.ubuntu.com/community/Install_Lirc_Feisty" rel="external">https://help.ubuntu.com/community/Install_Lirc_Feisty</a></li>
<li><a href="http://gentoo-wiki.com/HOWTO_LIRC" rel="external">http://gentoo-wiki.com/HOWTO_LIRC</a></li>
<li><a href="http://wiki.videolan.org/How_to_Use_Lirc" rel="external">http://wiki.videolan.org/How_to_Use_Lirc</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.cs278.org/blog/2007/06/11/ubuntu-lirc-configuration/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

