<?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>Alex Sleat &#187; how to</title>
	<atom:link href="http://alexsleat.co.uk/tag/how-to/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Mon, 21 May 2012 22:17:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>mlbviewer 2012 Installation guide for Ubuntu (MLB.TV on Linux)</title>
		<link>http://alexsleat.co.uk/2012/05/16/mlbviewer-2012-installation-guide-for-ubuntu-mlb-tv-on-linux/</link>
		<comments>http://alexsleat.co.uk/2012/05/16/mlbviewer-2012-installation-guide-for-ubuntu-mlb-tv-on-linux/#comments</comments>
		<pubDate>Wed, 16 May 2012 11:40:32 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[baseball]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mlb]]></category>
		<category><![CDATA[MLB.TV]]></category>
		<category><![CDATA[mlbviewer]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[red sox]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=31046</guid>
		<description><![CDATA[<br/><p></p> Download mlbviewer: <p>Go and grab the latest version from the sourceforge page below:</p> <p>http://sourceforge.net/projects/mlbviewer/</p> Unrar: tar -zxvf mlbviewer2012.tar.gz <p>It doesn&#8217;t require any installation but you will need a few extras and the easiest way to install them is shown below:</p> Download PyXML: <p>PyXML is an XML processing tool for python which this project [...]]]></description>
			<content:encoded><![CDATA[<br/><p><a href="http://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124457.png"><img src="http://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124457-300x201.png" alt="" title="Screenshot from 2012-05-16 12:44:57" width="300" height="201" class="aligncenter size-medium wp-image-31058" /></a></p>
<h3>Download mlbviewer:</h3>
<p>Go and grab the latest version from the sourceforge page below:</p>
<p><a href="http://sourceforge.net/projects/mlbviewer/">http://sourceforge.net/projects/mlbviewer/</a></p>
<h4>Unrar:</h4>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">tar</span> -zxvf mlbviewer2012.<span class="kw2">tar</span>.gz</div>
<p>It doesn&#8217;t require any installation but you will need a few extras and the easiest way to install them is shown below:</p>
<h4>Download PyXML:</h4>
<p>PyXML is an XML processing tool for python which this project uses, sometimes it can be tricky to install python modules so we&#8217;ll be using setuptools which you can get from the link below.</p>
<p>If you&#8217;re unsure of what version you need, open terminal and type &#8220;python&#8221;, this will show the version of python you&#8217;re running. Mine was 2.7.4 so I downloaded &#8220;setuptools-0.6c11-py2.7.egg&#8221; I would imagine yours would be similar.</p>
<p>http://pypi.python.org/pypi/setuptools#cygwin-mac-os-x-linux-other</p>
<h4>Once you have it, run it (replacing the version you downloaded for the one here):</h4>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> <span class="kw2">sh</span> setuptools<span class="nu0">-0</span>.6c11-py2<span class="nu0">.7</span>.egg</div>
<h4>Now to install PyXML it&#8217;s as simple as running:</h4>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> easy_install pyxml</div>
<p>That&#8217;s it, you&#8217;re done.</p>
<h3>Optional &#8211; Install MPLAYER2:</h3>
<p>MPLAYER2 offers at lot of advantages over MPLAYER however we&#8217;re most interested in it because it offers better streaming support and handle stream rate switches (important if you enable adaptive streaming in nexdef mode).</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> add-apt-repository ppa:motumedia/mplayer-daily<br />
<span class="kw2">sudo</span> apt-get update<br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> mplayer2</div>
<p>(Thanks to &#8211; <a title="Web Upd8" href="http://www.webupd8.org/2012/01/install-mplayer2-and-smplayer2-in.html">Web Upd8</a>)</p>
<h3>Optional &#8211; Install mlbhls (for nextdef | HD):</h3>
<p>Instructions as per in REQUIREMENTS-2012.txt in the mlbviewer package.</p>
<p>You&#8217;ll also need some extra packages which aren&#8217;t stated:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> libconfig-dev libcurl4-gnutls-dev</div>
<div class="dean_ch" style="white-space: wrap;">svn <span class="kw2">co</span> https://mlbtv-hls-nexdef.googlecode.com/svn/branches/experimental mlbhls<br />
<span class="kw3">cd</span> mlbhls<br />
<span class="kw2">make</span><br />
<span class="kw2">sudo</span> <span class="kw2">cp</span> mlbhls /usr/bin</div>
<p>Once that&#8217;s done, you should be able to get the higher bitrate streams too!</p>
<h3>Using mlbplayer:</h3>
<h4>Setup:</h4>
<p>The first time you run mlbviewer it will generate a config file which you&#8217;ll need to enter your Premium MLB.TV account details in, running mlbviewer will tell you where this file is located:</p>
<div class="dean_ch" style="white-space: wrap;">python mlbviewer.py</div>
<p>Go edit the file and enter your email as the &#8220;user&#8221; and your password after &#8220;pass&#8221;.</p>
<p>Now re-run mlbviewer and it should start up!</p>
<div class="dean_ch" style="white-space: wrap;">python mlbviewer.py</div>
<p>Sit back and enjoy!</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124557.png"><img src="http://alexsleat.co.uk/wp-content/uploads/2012/05/Screenshot-from-2012-05-16-124557-300x194.png" alt="" title="Screenshot from 2012-05-16 12:45:57" width="300" height="194" class="aligncenter size-medium wp-image-31059" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/05/16/mlbviewer-2012-installation-guide-for-ubuntu-mlb-tv-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>fatal error: curl/curl.h: No such file or directory &#124; Ubuntu 12.04</title>
		<link>http://alexsleat.co.uk/2012/05/16/fatal-error-curlcurl-h-no-such-file-or-directory-ubuntu-12-04/</link>
		<comments>http://alexsleat.co.uk/2012/05/16/fatal-error-curlcurl-h-no-such-file-or-directory-ubuntu-12-04/#comments</comments>
		<pubDate>Wed, 16 May 2012 11:39:17 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[curl]]></category>
		<category><![CDATA[curl.h]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[fatal error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[libcurl4-gnutls]]></category>
		<category><![CDATA[missing file]]></category>
		<category><![CDATA[no such file]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=31051</guid>
		<description><![CDATA[<br/>fatal error: curl/curl.h: No such file or directory <p>If you&#8217;re missing the curl/curl.h header file, chances are you&#8217;re just missing the correct dev package file for the curl library.</p> sudo apt-get install libcurl4-gnutls-dev <p>That should fix it.</p> ]]></description>
			<content:encoded><![CDATA[<br/><div class="dean_ch" style="white-space: wrap;">fatal error: curl/curl.h: No such <span class="kw2">file</span> or directory</div>
<p>If you&#8217;re missing the curl/curl.h header file, chances are you&#8217;re just missing the correct dev package file for the curl library.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> libcurl4-gnutls-dev</div>
<p>That should fix it.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/05/16/fatal-error-curlcurl-h-no-such-file-or-directory-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 &#8211; Removing conflicting operating system files&#8230;</title>
		<link>http://alexsleat.co.uk/2012/04/11/ubuntu-12-04-removing-conflicting-operating-system-files/</link>
		<comments>http://alexsleat.co.uk/2012/04/11/ubuntu-12-04-removing-conflicting-operating-system-files/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 12:32:05 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[fstab]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[installation failed]]></category>
		<category><![CDATA[mount home]]></category>
		<category><![CDATA[mount on boot]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[work around]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=29667</guid>
		<description><![CDATA[<br/><p>If you&#8217;re trying out the latest version of Ubuntu, 12.04 or Precise Pangolin and you want to keep your old /home partition, chances are you&#8217;ve come across the installation hanging on a process &#8220;Removing conflicting operating system files&#8230;&#8221;. No worries, this seems to be a common bug and there&#8217;s a pretty easy work around.</p> [...]]]></description>
			<content:encoded><![CDATA[<br/><p>If you&#8217;re trying out the latest version of Ubuntu, 12.04 or Precise Pangolin and you want to keep your old /home partition, chances are you&#8217;ve come across the installation hanging on a process &#8220;Removing conflicting operating system files&#8230;&#8221;. No worries, this seems to be a <a href="https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/946663">common bug</a> and there&#8217;s a pretty easy work around.</p>
<p>Continue with the installation, without asking for the /home partition to be mounted. Only set the root partition (/) and your swap space.</p>
<p>Once the installation is complete, reboot and load it up.</p>
<p>Now, you&#8217;ll want to find the partition that /home is mounted under, this will likely be /dev/sdxN, where x is the drive letter and N is the partition number (i.e mine is located under /dev/sda5). </p>
<p>If you&#8217;re unsure, you can list the possible drives using the following command:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">ls</span> /dev/ | <span class="kw2">grep</span> sd</div>
<p>And then you can mount each drive under in a temp directory and check what&#8217;s in there:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">mkdir</span> temp<br />
<span class="kw2">mount</span> /dev/sda1 temp</div>
<p>Once you know which partition you want, it&#8217;s time to edit your /etc/fstab/</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/fstab</div>
<p>For those who don&#8217;t go digging around in the config files of linux, this may look pretty daunting, but it isn&#8217;t. All you really need to do is add a new line to mount your home partition. Here&#8217;s mine:</p>
<div class="dean_ch" style="white-space: wrap;">/dev/sda5&nbsp; &nbsp; &nbsp; &nbsp;/home/&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ext4&nbsp; &nbsp; defaults&nbsp; &nbsp; &nbsp; &nbsp; <span class="nu0">1</span>&nbsp; &nbsp; &nbsp; &nbsp;<span class="nu0">2</span></div>
<p>The first part is the partition that&#8217;s being used, next what the partition is. Next is the file system type. Followed by default options and then the dump and pass values.</p>
<p>Once you&#8217;ve saved this file with the appended line, reboot your system. Now you should find your old home partition is mounted normally and you can get on with your install.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/04/11/ubuntu-12-04-removing-conflicting-operating-system-files/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 12.04 &#8211; Moving The Windows Buttons Back To The Right.</title>
		<link>http://alexsleat.co.uk/2012/04/11/ubuntu-12-04-moving-the-windows-buttons-back-to-the-right/</link>
		<comments>http://alexsleat.co.uk/2012/04/11/ubuntu-12-04-moving-the-windows-buttons-back-to-the-right/#comments</comments>
		<pubDate>Wed, 11 Apr 2012 12:20:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[10.11]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[button]]></category>
		<category><![CDATA[close]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[left]]></category>
		<category><![CDATA[maximise]]></category>
		<category><![CDATA[minimise]]></category>
		<category><![CDATA[move]]></category>
		<category><![CDATA[right]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=29665</guid>
		<description><![CDATA[<br/><p>Those pesky windows buttons (maximise, minimise and close) default to the left of the menu bar after a new Ubuntu installations, and it&#8217;s been happening since 10.04. Most people, like myself, are stuck in our ways and just want them back where they belong. It&#8217;s pretty easy to do this, just open up a [...]]]></description>
			<content:encoded><![CDATA[<br/><p>Those pesky windows buttons (maximise, minimise and close) default to the left of the menu bar after a new Ubuntu installations, and it&#8217;s been happening since 10.04. Most people, like myself, are stuck in our ways and just want them back where they belong. It&#8217;s pretty easy to do this, just open up a terminal (ctrl+alt+t) and copy in the following:</p>
<div class="dean_ch" style="white-space: wrap;">gconftool -s /apps/met&gt;gconftool -s /apps/met&gt;gconftool -s /apps/metacity/general/button_layout -t string menu:minimize,maximize,close</div>
<p>Once you hit enter, you should see the buttons return to their rightful place on the right, also in the right order.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/04/11/ubuntu-12-04-moving-the-windows-buttons-back-to-the-right/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Toggle Touchpad With Keyboard Shortcut in Ubuntu</title>
		<link>http://alexsleat.co.uk/2012/03/22/toggle-touchpad-with-keyboard-shortcut-in-ubuntu/</link>
		<comments>http://alexsleat.co.uk/2012/03/22/toggle-touchpad-with-keyboard-shortcut-in-ubuntu/#comments</comments>
		<pubDate>Thu, 22 Mar 2012 09:56:16 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[enable]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[jupiter]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[touchpad]]></category>
		<category><![CDATA[trackpad]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=26369</guid>
		<description><![CDATA[<br/>Install Jupiter <p>Instructions for Ubuntu 11.10, 11.04, 10.10, 10.04: http://www.webupd8.org/2011/09/jupiter-applet-finally-available-for.html</p> sudo add-apt-repository ppa:webupd8team/jupiter sudo apt-get update sudo apt-get install jupiter <p>Jupiter comes with a useful script to disable and re-enable the touchpad/track pad, it can be ran using the following command:</p> sudo /usr/lib/jupiter/scripts/touchpad <p>Now all you&#8217;ll need to do is add this command to a [...]]]></description>
			<content:encoded><![CDATA[<br/><h5>Install Jupiter</h5>
<p>Instructions for Ubuntu 11.10, 11.04, 10.10, 10.04: <a href="http://www.webupd8.org/2011/09/jupiter-applet-finally-available-for.html">http://www.webupd8.org/2011/09/jupiter-applet-finally-available-for.html</a></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> add-apt-repository ppa:webupd8team/jupiter <br />
<span class="kw2">sudo</span> apt-get update <br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> jupiter</div>
<p>Jupiter comes with a useful script to disable and re-enable the touchpad/track pad, it can be ran using the following command:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> /usr/lib/jupiter/scripts/touchpad</div>
<p>Now all you&#8217;ll need to do is add this command to a keyboard shortcut, below are instructions for several desktop environments.</p>
<p>
<hr /></p>
<h6>In xfce:</h6>
<p>Applications &gt; Settings &gt; Settings Manager</p>
<p>Click Keyboard</p>
<p style="text-align: center;"><a href="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-xfce.png"><img class="aligncenter  wp-image-26574" title="Screenshot xfce" src="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-xfce.png" alt="" width="563" height="377" /></a></p>
<p>Click on the &#8220;Applications Shortcuts&#8221; tab.</p>
<p>Click Add:</p>
<p style="text-align: center;"><a href="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-120112-174438.png"><img class="aligncenter  wp-image-26571" title="Screenshot - 120112 - 17:44:38" src="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-120112-174438.png" alt="" width="563" height="377" /></a></p>
<p>Here you will be promped with a new window asking for the command you wish to run, enter the following:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> /usr/lib/jupiter/scripts/touchpad</div>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-120112-174503.png"><img class="aligncenter size-full wp-image-26572" title="Screenshot - 120112 - 17:45:03" src="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-120112-174503.png" alt="" width="330" height="223" /></a></p>
<p>Click OK and it will now ask for a keyboard shortcut. Simply press the key combination you want to assign to disabling the touchpad (for example, I used Alt+F1) the keys you&#8217;re pressing will show up and the window will close.</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-120112-174516.png"><img class="aligncenter size-full wp-image-26573" title="Screenshot - 120112 - 17:45:16" src="http://alexsleat.co.uk/wp-content/uploads/2012/01/Screenshot-120112-174516.png" alt="" width="338" height="196" /></a></p>
<p>You&#8217;ll now see the command and shortcut in the list and you can now press that key combo to disable the trackpad and press it again to re-enable it.</p>
<p>
<hr /></p>
<h6>In Gnome:</h6>
<p>
<hr /></p>
<h6>In Unity:</h6>
<p>
<hr /></p>
<p>bish bash bosh.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/03/22/toggle-touchpad-with-keyboard-shortcut-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AL lib: pulseaudio.c:331: PulseAudio returned minreq &gt; tlength/2; expect break up &#8211; Ubuntu 11.10</title>
		<link>http://alexsleat.co.uk/2012/01/11/al-lib-pulseaudio-c331-pulseaudio-returned-minreq-tlength2-expect-break-up-ubuntu-11-10/</link>
		<comments>http://alexsleat.co.uk/2012/01/11/al-lib-pulseaudio-c331-pulseaudio-returned-minreq-tlength2-expect-break-up-ubuntu-11-10/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 23:49:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[blender]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[floating point exception]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[ndof]]></category>
		<category><![CDATA[oneiric]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[spacenavd]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=26522</guid>
		<description><![CDATA[<br/>./blender connect failed: No such file or directory ndof: spacenavd not found AL lib: pulseaudio.c:331: PulseAudio returned minreq &#62; tlength/2; expect break up Floating point exception <p>Download and install the associated package to your processor from here : https://launchpad.net/ubuntu/oneiric/+package/python-openal</p> <p>Restart your computer and the issue should now be resolved.</p> ]]></description>
			<content:encoded><![CDATA[<br/><div class="dean_ch" style="white-space: wrap;">./blender<br />
connect failed: No such <span class="kw2">file</span> or directory<br />
ndof: spacenavd not found<br />
AL lib: pulseaudio.c:<span class="nu0">331</span>: PulseAudio returned minreq &gt; tlength/<span class="nu0">2</span>; expect <span class="kw3">break</span> up<br />
Floating point exception</div>
<p>Download and install the associated package to your processor from here : <a href="https://launchpad.net/ubuntu/oneiric/+package/python-openal">https://launchpad.net/ubuntu/oneiric/+package/python-openal</a></p>
<p>Restart your computer and the issue should now be resolved.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/01/11/al-lib-pulseaudio-c331-pulseaudio-returned-minreq-tlength2-expect-break-up-ubuntu-11-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Updating The Kernel in Ubuntu</title>
		<link>http://alexsleat.co.uk/2012/01/11/updating-the-kernel-in-ubuntu/</link>
		<comments>http://alexsleat.co.uk/2012/01/11/updating-the-kernel-in-ubuntu/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 12:35:25 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[check kernel verison]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[update]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=26414</guid>
		<description><![CDATA[<br/>Download the latest from here: <p>http://kernel.ubuntu.com/~kernel-ppa/mainline/</p> <p>The folders correspond to kernel versions and should also include the ubuntu version, for example I chose to update 11.10 (oneiric) from &#8220;3.0.0-14-generic&#8221; to &#8220;3.1.4&#8243;, this was in a directory called &#8220;v3.1.4-oneiric/&#8220;.</p> You&#8217;ll need 3 files (replace * with the kernel version you&#8217;ve downloaded): <p>linux-headers-*_all.deb</p> For 64 bit [...]]]></description>
			<content:encoded><![CDATA[<br/><h6>Download the latest from here:</h6>
<p><a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/">http://kernel.ubuntu.com/~kernel-ppa/mainline/</a></p>
<p>The folders correspond to kernel versions and should also include the ubuntu version, for example I chose to update 11.10 (oneiric) from &#8220;3.0.0-14-generic&#8221; to &#8220;3.1.4&#8243;, this was in a directory called &#8220;<a href="http://kernel.ubuntu.com/~kernel-ppa/mainline/">v3.1.4-oneiric/</a>&#8220;.</p>
<h6>You&#8217;ll need 3 files <em>(replace * with the kernel version you&#8217;ve downloaded)</em>:</h6>
<p>linux-headers-*_all.deb</p>
<h6>For 64 bit systems <em>(replace * with the kernel version you&#8217;ve downloaded)</em>:</h6>
<p>linux-headers-*_amd64.deb<br />
linux-image-*_amd64.deb</p>
<h6>For 32 bit systems <em>(replace * with the kernel version you&#8217;ve downloaded)</em>:</h6>
<p>linux-headers-*_i386.deb<br />
linux-image-*_i386.deb</p>
<h6>Once you have the files, install them in the following order using these commands <em>(of course, replacing the version number for the ones you&#8217;ve downloaded)</em>:</h6>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> dpkg -U linux-headers<span class="nu0">-3.1</span><span class="nu0">.4</span>-030104_3<span class="nu0">.1</span><span class="nu0">.4</span><span class="nu0">-030104</span>.201111281851_all.deb<br />
<span class="kw2">sudo</span> dpkg -U linux-headers<span class="nu0">-3.1</span><span class="nu0">.4</span><span class="nu0">-030104</span>-generic_3<span class="nu0">.1</span><span class="nu0">.4</span><span class="nu0">-030104</span>.201111281851_amd64.deb<br />
<span class="kw2">sudo</span> dpkg -U linux-image<span class="nu0">-3.1</span><span class="nu0">.4</span><span class="nu0">-030104</span>-generic_3<span class="nu0">.1</span><span class="nu0">.4</span><span class="nu0">-030104</span>.201111281851_amd64.deb</div>
<p>Once that&#8217;s done, reboot. Once you&#8217;re back use the following command to check that the kernel you&#8217;re using is the one you&#8217;ve just downloaded and installed!</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">uname</span> -r</div>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/01/11/updating-the-kernel-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Setting Up Surround Sound in Linux</title>
		<link>http://alexsleat.co.uk/2011/12/03/setting-up-surround-sound-in-linux/</link>
		<comments>http://alexsleat.co.uk/2011/12/03/setting-up-surround-sound-in-linux/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 13:21:41 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[5.1]]></category>
		<category><![CDATA[7.1]]></category>
		<category><![CDATA[cm106]]></category>
		<category><![CDATA[easy]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[set up]]></category>
		<category><![CDATA[simple]]></category>
		<category><![CDATA[speakers]]></category>
		<category><![CDATA[surround sound]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24714</guid>
		<description><![CDATA[<br/><p>It&#8217;s been a while since I bothered, the reason being it&#8217;s always seemed like an un-worthwhile struggle to get it working but either things changed or I was doing something to overcomplicate the process but it&#8217;s actually pretty simple to get surround sound up and running on your Linux machine. Now, I&#8217;m not going [...]]]></description>
			<content:encoded><![CDATA[<br/><p>It&#8217;s been a while since I bothered, the reason being it&#8217;s always seemed like an un-worthwhile struggle to get it working but either things changed or I was doing something to overcomplicate the process but it&#8217;s actually pretty simple to get surround sound up and running on your Linux machine. Now, I&#8217;m not going to go in to how to install the drivers for your specific sound card, because there are so many and I don&#8217;t have them all and most times on most popular distributions (Debian, Ubuntu, Mint, Fedora, OpenSuse etc) you&#8217;re going to notice that the sound card is actually already supported. What I will be doing is showing you how easy it was to get my 5.1&#8242;s set up (and the same will be said for 7.1&#8242;s).</p>
<h6>Step 1:</h6>
<p>First off you&#8217;re going to want to edit the pulseaudio configuration file to add the number of speakers you&#8217;re using, it&#8217;s default is set to 2.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/pulse/daemon.conf</div>
<p>Near the bottom of the file, there will be a line which looks like this:</p>
<blockquote><p>;default-sample-channels = 2</p></blockquote>
<p>The semi-colon is a comment, so this line isn&#8217;t actually doing anything unless you remove that. I would suggest leaving that line alone and adding a new line at the bottom:</p>
<blockquote><p>default-sample-channels = 6</p></blockquote>
<p>If you&#8217;re using 5.1&#8242;s the number of channels will be 6, 7.1&#8242;s will be 8 and I think you get where I&#8217;m going with this? So in this example, I&#8217;m using 5.1&#8242;s.</p>
<p>Now save and close that file. You&#8217;ll need to reboot your system now too, so that these changes will take effect.</p>
<h6>Step 2:</h6>
<p>So you&#8217;re back? Good..</p>
<p>Now you&#8217;re going to want to open up the Sound Preferences, usually you can do this by clicking on the little sound icon in your panel, or System > Preference > Sounds from the menu.</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/12/Screenshot-Sound-Preferences.png"><img src="http://alexsleat.co.uk/wp-content/uploads/2011/12/Screenshot-Sound-Preferences.png" alt="" title="Screenshot-Sound Preferences" width="678" height="594" class="aligncenter size-full wp-image-24716" /></a></p>
<p>From here, you&#8217;ll want to click on the Hardware tab. Near the bottom it&#8217;ll say Profile: with a drop down box next to it. Here you can select the type of set up you have, as you can see in the screenshot I have an &#8220;Analogue Surround 5.1 Output&#8221;, yours might be different and that&#8217;s cool and if you don&#8217;t know feel free to try a few out. Next to that drop down box is a button which says &#8220;Test Speakers&#8221;, this didn&#8217;t work for me so I have to use an <a href="http://www.youtube.com/watch?v=w0eaV8r-nXQ">online test</a> but give it a try as it might work!</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/12/Screenshot-Speaker-Testing-for-CM106-Like-Sound-Device.png"><img src="http://alexsleat.co.uk/wp-content/uploads/2011/12/Screenshot-Speaker-Testing-for-CM106-Like-Sound-Device.png" alt="" title="Screenshot-Speaker Testing for CM106 Like Sound Device" width="457" height="395" class="aligncenter size-full wp-image-24719" /></a></p>
<p>That&#8217;s it, you should be done!</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/12/03/setting-up-surround-sound-in-linux/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>OpenNI &#8211; error CS0006: cannot find metadata file `System.Windows.Forms.dll&#8217;</title>
		<link>http://alexsleat.co.uk/2011/12/01/openni-error-cs0006-cannot-find-metadata-file-system-windows-forms-dll/</link>
		<comments>http://alexsleat.co.uk/2011/12/01/openni-error-cs0006-cannot-find-metadata-file-system-windows-forms-dll/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 13:41:37 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[ddl missing]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[kinect]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24552</guid>
		<description><![CDATA[<br/><p>During installing the OpenNi kinect drivers, found here: https://github.com/OpenNI/OpenNI, I came across this error:</p> <p>make[1]: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net&#8217; gmcs -out:../../../Bin/Release/SimpleViewer.net.exe -target:winexe -unsafe -o+ -r:OpenNI.net.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -lib:../../../Bin/Release ../../../../../Samples/SimpleViewer.net/*.cs ../../Res/AssemblyInfo-OpenNI.cs error CS0006: cannot find metadata file `System.Windows.Forms.dll&#8217; Compilation failed: 1 error(s), 0 warnings make[1]: *** [../../../Bin/Release/SimpleViewer.net.exe] Error 1 make[1]: Leaving directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net&#8217; make: *** [Samples/SimpleViewer.net] [...]]]></description>
			<content:encoded><![CDATA[<br/><p>During installing the OpenNi kinect drivers, found here: <a href="https://github.com/OpenNI/OpenNI">https://github.com/OpenNI/OpenNI</a>, I came across this error:</p>
<blockquote><p>make[1]: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net&#8217;<br />
gmcs -out:../../../Bin/Release/SimpleViewer.net.exe -target:winexe -unsafe -o+ -r:OpenNI.net.dll -r:System.Windows.Forms.dll -r:System.Drawing.dll -lib:../../../Bin/Release ../../../../../Samples/SimpleViewer.net/*.cs ../../Res/AssemblyInfo-OpenNI.cs<br />
error CS0006: cannot find metadata file `System.Windows.Forms.dll&#8217;<br />
Compilation failed: 1 error(s), 0 warnings<br />
make[1]: *** [../../../Bin/Release/SimpleViewer.net.exe] Error 1<br />
make[1]: Leaving directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Samples/SimpleViewer.net&#8217;<br />
make: *** [Samples/SimpleViewer.net] Error 2</p></blockquote>
<p>To fix it, simply install the following package:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> mono-<span class="kw3">complete</span></div>
<p>Once finished, re-make and make install and everything should be dandy!</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/12/01/openni-error-cs0006-cannot-find-metadata-file-system-windows-forms-dll/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java &#8211; .jar Error 127 /bin/sh: javac: not found.</title>
		<link>http://alexsleat.co.uk/2011/12/01/java-jar-error-127-binsh-javac-not-found/</link>
		<comments>http://alexsleat.co.uk/2011/12/01/java-jar-error-127-binsh-javac-not-found/#comments</comments>
		<pubDate>Thu, 01 Dec 2011 13:33:42 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[error 127]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[javac not found]]></category>
		<category><![CDATA[jdk]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[sun-java6]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24549</guid>
		<description><![CDATA[<br/><p>If you&#8217;re getting a similar error to this while trying to compile java files (.jar) then you&#8217;re probably missing the jdk, in ubuntu it&#8217;s called &#8220;sun-java6-jdk&#8221; so just go ahead and install that and all should be good!</p> <p>make[1]: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Wrappers/OpenNI.java&#8217; javac -d Release ../../../../../Wrappers/OpenNI.java/src/org/OpenNI/*.java /bin/sh: javac: not found make[1]: *** [../../../Bin/Release/org.OpenNI.jar] Error [...]]]></description>
			<content:encoded><![CDATA[<br/><p>If you&#8217;re getting a similar error to this while trying to compile java files (.jar) then you&#8217;re probably missing the jdk, in ubuntu it&#8217;s called &#8220;sun-java6-jdk&#8221; so just go ahead and install that and all should be good!</p>
<blockquote><p>make[1]: Entering directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Wrappers/OpenNI.java&#8217;<br />
javac  -d Release ../../../../../Wrappers/OpenNI.java/src/org/OpenNI/*.java<br />
/bin/sh: javac: not found<br />
make[1]: *** [../../../Bin/Release/org.OpenNI.jar] Error 127<br />
make[1]: Leaving directory `/home/alex/kinect/OpenNI/Platform/Linux-x86/Build/Wrappers/OpenNI.java&#8217;<br />
make: *** [Wrappers/OpenNI.java] Error 2</p></blockquote>
<p>FIX:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> sun-java6-jdk</div>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/12/01/java-jar-error-127-binsh-javac-not-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

