<?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; Ubuntu</title>
	<atom:link href="http://alexsleat.co.uk/category/linux/ubuntu/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Sat, 04 Feb 2012 22:11:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Ubuntu 11.10 Proxy Settings</title>
		<link>http://alexsleat.co.uk/2012/01/24/ubuntu-11-10-proxy-settings/</link>
		<comments>http://alexsleat.co.uk/2012/01/24/ubuntu-11-10-proxy-settings/#comments</comments>
		<pubDate>Tue, 24 Jan 2012 17:18:38 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[apt-get install]]></category>
		<category><![CDATA[behind proxy]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[ftp_proxy]]></category>
		<category><![CDATA[http]]></category>
		<category><![CDATA[https]]></category>
		<category><![CDATA[https_proxy]]></category>
		<category><![CDATA[http_proxy]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[UWE]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=27077</guid>
		<description><![CDATA[<br/>Temporary proxy: <p>Where proxy.addr is the proxy address, 4040 is the port number. Some proxies may require &#8220;http://&#8221; before the address.</p> export http_proxy &#34;proxy.addr:4040&#34; export ftp_proxy &#34;proxy.addr:4040&#34; export https_proxy &#34;proxy.addr:4040&#34; <p>If you run this in a terminal, any programs opened from that terminal will adhere to the proxy you set but any other applications [...]]]></description>
			<content:encoded><![CDATA[<br/><h5>Temporary proxy:</h5>
<p><em>Where proxy.addr is the proxy address, 4040 is the port number. Some proxies may require &#8220;http://&#8221; before the address.</em></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw3">export</span> http_proxy <span class="st0">&quot;proxy.addr:4040&quot;</span><br />
<span class="kw3">export</span> ftp_proxy <span class="st0">&quot;proxy.addr:4040&quot;</span><br />
<span class="kw3">export</span> https_proxy <span class="st0">&quot;proxy.addr:4040&quot;</span></div>
<p>If you run this in a terminal, any programs opened from that terminal will adhere to the proxy you set but any other applications will not. This makes it useful if you just want to launch a browser for a quick browsing session but don&#8217;t need the whole system to access the internet.</p>
<p>If you do need your entire system to access the network, you can add these to the bottom of &#8220;~/.bashrc&#8221; this will enable any new programs running and the whole system (after a restart) to use the settings. Essentially ~/.bashrc are commands run when a terminal is opened.</p>
<p><strong>NOTE:</strong> If you do this, when you remove them your machine will likely need a restart to undo the changes.</p>
<hr/>
<h5> Proxy with login </h5>
<p>If your proxy server requires a login, this is an addition of the above however the syntax is as follows:</p>
<div class="dean_ch" style="white-space: wrap;">user:pass@proxy.addr:<span class="nu0">4040</span></div>
<hr/>
<h5>APT Proxy:</h5>
<p>APT (used for system updates) has its own proxy settings, which seem to ignore the above settings.</p>
<p><em>Where nano is the editor, if you prefer use a graphical one such as gedit, kedit etc.</em></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> <span class="kw2">nano</span> /etc/apt/apt.conf.d/02proxy</div>
<p>add:</p>
<div class="dean_ch" style="white-space: wrap;">Acquire::http::Proxy <span class="st0">&quot;http://proxy.addr:4040&quot;</span>;</div>
<p style="text-align: right;">Source : <a href="http://naveenubuntu.blogspot.com/2011/09/updating-packages-behind-prxy-in-ubuntu.html">http://naveenubuntu.blogspot.com/2011/09/updating-packages-behind-prxy-in-ubuntu.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/01/24/ubuntu-11-10-proxy-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HP Pavilion dm1 (E-450/HD 6320) and Ubuntu 11.10</title>
		<link>http://alexsleat.co.uk/2012/01/12/hp-pavilion-dm1-e-450hd-6320-and-ubuntu-11-10/</link>
		<comments>http://alexsleat.co.uk/2012/01/12/hp-pavilion-dm1-e-450hd-6320-and-ubuntu-11-10/#comments</comments>
		<pubDate>Thu, 12 Jan 2012 17:05:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[6320]]></category>
		<category><![CDATA[amd]]></category>
		<category><![CDATA[bcm4313]]></category>
		<category><![CDATA[dm1]]></category>
		<category><![CDATA[dm1-4020sa]]></category>
		<category><![CDATA[drivers]]></category>
		<category><![CDATA[e-450]]></category>
		<category><![CDATA[hp]]></category>
		<category><![CDATA[pavilion]]></category>
		<category><![CDATA[watermark]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=26544</guid>
		<description><![CDATA[<br/>Wireless (BMC4313) Drivers: <p>There seems to be some issues with the current range of broadcom drivers, there are several options and some barely work and give very poor wireless signal and flaky connections.</p> Check you wireless card lspci &#124; grep Broadcom <p>Output:</p> 03:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller &#40;rev 01&#41; [...]]]></description>
			<content:encoded><![CDATA[<br/><h5>Wireless (BMC4313) Drivers:</h5>
<p>There seems to be some issues with the current range of broadcom drivers, there are several options and some barely work and give very poor wireless signal and flaky connections.</p>
<h6>Check you wireless card</h6>
<div class="dean_ch" style="white-space: wrap;">lspci | <span class="kw2">grep</span> Broadcom</div>
<p>Output:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="nu0">03</span>:<span class="nu0">00.0</span> Network controller: Broadcom Corporation BCM4313 <span class="nu0">802</span>.11b/g/n Wireless LAN Controller <span class="br0">&#40;</span><span class="kw2">rev</span> <span class="nu0">01</span><span class="br0">&#41;</span></div>
<h6>Installation:</h6>
<p>There are two options here:</p>
<p><span style="text-decoration: underline;"><strong> Option 1 </strong></span></p>
<p>You should also be able to use the drivers in Additional Drivers, the &#8220;Broadcom STA proprietary wireless driver&#8221;, however before doing this you need to run these commands to install the required headers and tools as it seems this step was missed out:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> build-essential linux-headers-generic<br />
<span class="kw2">sudo</span> apt-get build-dep linux</div>
<p>To check to see if you have this directory do this:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">ls</span> /lib/modules/`<span class="kw2">uname</span> -r`/build</div>
<p>Now go to Settings &gt; Additional Drivers and simply click install on the &#8220;Broadcom STA proprietary wireless driver&#8221;, reboot and you should experience much better wireless signal and connection stability.</p>
<p><span style="text-decoration: underline;"><strong> Option 2 </strong></span></p>
<p>If this doesn&#8217;t work for you un-install those drivers and download the source drivers and build them from source and this works well, these can be found here: <a href="http://www.broadcom.com/support/802.11/linux_sta.php">http://www.broadcom.com/support/802.11/linux_sta.php</a>.</p>
<p>&nbsp;</p>
<hr />
<h5>Graphics (HD 6320) Drivers:</h5>
<h6>Installation:</h6>
<p>These can be found in Settings &gt; Additional Drivers.</p>
<p>Install and reboot.</p>
<p><strong>NOTE:</strong> This driver doesn&#8217;t account for sound over HDMI, the sound will continue to come out of the speakers. I&#8217;m looking in to a fix for this.</p>
<h6>Fixing the &#8220;AMD Ubsupported hardware&#8221; Watermark:</h6>
<p>You&#8217;ll probably now notice a watermark at the bottom right hand of the screen, reading &#8220;AMD Ubsupported hardware&#8221;. While the drivers are working away, they seem to think it&#8217;s unsupported. You can either remove the propriotry drivers and use the open source version. Or you can run the following script (found <a href="http://phoronix.com/forums/showthread.php?19875-Unsupported-Hardware-watermark">here</a>) to remove it:</p>
<script src="http://gist.github.com/1601436.js?file=fixwatermark.sh"></script><noscript><link rel="stylesheet" href="https://gist.github.com/stylesheets/gist/embed.css"><div id="gist-1601436" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="c">#!/bin/sh</span></div><div class='line' id='LC2'><span class="nv">DRIVER</span><span class="o">=</span>/usr/lib/fglrx/xorg/modules/drivers/fglrx_drv.so</div><div class='line' id='LC3'><span class="k">for </span>x in <span class="k">$(</span>objdump -d <span class="nv">$DRIVER</span>|awk <span class="s1">&#39;/call/&amp;&amp;/EnableLogo/{print &quot;\\x&quot;$2&quot;\\x&quot;$3&quot;\\x&quot;$4&quot;\\x&quot;$5&quot;\\x&quot;$6}&#39;</span><span class="k">)</span>; <span class="k">do</span></div><div class='line' id='LC4'>sed -i <span class="s2">&quot;s/$x/\x90\x90\x90\x90\x90/g&quot;</span> <span class="nv">$DRIVER</span></div><div class='line' id='LC5'><span class="k">done</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1601436/91c0c30b4c470a4d92e74cd217e93ab7fd0b1326/fixwatermark.sh" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1601436#file_fixwatermark.sh" style="float:right;margin-right:10px;color:#666">fixwatermark.sh</a>
            <a href="https://gist.github.com/1601436">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>
</noscript>
<p>To run, either right click and save as on the link to &#8220;view raw&#8221; or copy and paste in to a file and save the file as &#8220;fixwatermark.sh&#8221;</p>
<p><strong>Make executable:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">chmod</span> +x fixwatermark.<span class="kw2">sh</span></div>
<p><strong>Run:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> ./fixwatermark.<span class="kw2">sh</span></div>
<p>(Thanks to Andy pointing out in his comment, this needs to be run as root (I&#8217;ve added the sudo above).<br />
Reboot your system and the driver will still be running but the watermark will be removed.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/01/12/hp-pavilion-dm1-e-450hd-6320-and-ubuntu-11-10/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>Heat Management in Linux</title>
		<link>http://alexsleat.co.uk/2012/01/11/heat-management-in-linux/</link>
		<comments>http://alexsleat.co.uk/2012/01/11/heat-management-in-linux/#comments</comments>
		<pubDate>Wed, 11 Jan 2012 12:40:14 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[heat]]></category>
		<category><![CDATA[hot]]></category>
		<category><![CDATA[laptop]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[netbook]]></category>
		<category><![CDATA[notebook]]></category>
		<category><![CDATA[over heating]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=26366</guid>
		<description><![CDATA[<br/><p>When you first switch from Windows or OSX to Linux, one of the things you&#8217;ll probably first notice (especially if you&#8217;re using a laptop) is that it can run considerably hotter than the alternatives. There are a few things you can do to remedy this, however. The following software packages help you keep track [...]]]></description>
			<content:encoded><![CDATA[<br/><p>When you first switch from Windows or OSX to Linux, one of the things you&#8217;ll probably first notice (especially if you&#8217;re using a laptop) is that it can run considerably hotter than the alternatives. There are a few things you can do to remedy this, however. The following software packages help you keep track of and cool down your laptop/netbook, how much will depend per machine but my HP Pavilion dm1 goes from around 60-70degrees without these tools installed to around 50-60degrees and the same goes for my older Acer Travelmate which dropped from 70-80degrees to 60-70degrees. Hopefully this information will help you shave off 10degrees from your laptop, making it cooler, easier to use and hopefully extending its life a little too!</p>
<h5>lm-sensors</h5>
<p>First thing that you&#8217;re going to want to do is be able to see what the temperature readings of the components (that have temperature sensors) inside your computer/laptop. This can be done by installing lm-sensors:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> lm-sensors</div>
<p>Now you&#8217;ll want to run the script which probes all the possible sensors in your laptop:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> sensors-detect</div>
<p>You&#8217;ll be asked if you want to scan for sensors and what not, follow the on-screen instructions, mostly just pressing enter, if YES is written in capitals this is the default answer and it will scan. After several times it&#8217;ll ask you if you want to save the changes, make sure you do and then you&#8217;re done.</p>
<p>Now you can see the temperature the sensors are reading by using the following command:</p>
<div class="dean_ch" style="white-space: wrap;">sensors</div>
<h5>cpufreq</h5>
<p>cpufreq is a utility which scales the frequency of the CPU, either by monitoring the systems status (if it needs more, it&#8217;ll get more) or by user controlled settings. This essentially underclocks the CPU while it isn&#8217;t in use, reducing power usage and thus heat.</p>
<p>Installation:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> cpufreq</div>
<p>The best choice would be to set cpufreq to on-demand (default) or to power-saving. Alternatively, if you&#8217;re using a laptop or netbook let jupiter take care of it for you:</p>
<h5>jupiter</h5>
<blockquote><p><a href="http://www.jupiterapplet.org/">Jupiter</a> is a light weight power and hardware control applet for Linux.  It is designed to improve battery life of a portable Linux computer by integrating with the operating system and changing parameters of the computer based on battery or powered connection.</p>
<p>Additionally, Jupiter provides quick access to some of the commonly needed hardware controls like screen output and resolution, WIFI, and bluetooth.</p>
<p>If you use Linux on a portable computer, let Jupiter take the effort out of going mobile.</p></blockquote>
<p>By using this to intelligently control the CPU frequency when on battery and AC along with the tuning to the kernel and hardware, it can make a huge difference to the temperature expelled by your laptop.</p>
<p>Ubuntu 11:10 installation instructions: <a href="http://www.webupd8.org/2011/09/jupiter-applet-finally-available-for.html">here</a></p>
<h5>Graphics Card Drivers</h5>
<p>If you have a dedicated graphics card in your laptop, you&#8217;ll also be better off installing the proprietary graphics drivers provided by the hardware vendor. While the open source ones do an awesome job of getting the card to work, more often than not they don&#8217;t include any control over the frequency scaling and keep the card running at max, along with all those other little features the card has, they&#8217;ll probably all always be running.</p>
<p><strong>Nvidia</strong> : <a href="http://www.nvidia.com/object/unix.html">Link</a><br />
<strong>ATI/AMD</strong> : <a href="http://support.amd.com/us/gpudownload/Pages/index.aspx">Link </a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/01/11/heat-management-in-linux/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>0</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>
		<item>
		<title>Linux USB Errors with usb-creator-gtk &#8220;stdin: I/O error stdin: error 0 /init: line 1: can&#8217;t open /dev/sr0: No medium found&#8221;</title>
		<link>http://alexsleat.co.uk/2011/11/26/linux-usb-errors-with-usb-creator-gtk-stdin-io-error-stdin-error-0-init-line-1-cant-open-devsr0-no-medium-found/</link>
		<comments>http://alexsleat.co.uk/2011/11/26/linux-usb-errors-with-usb-creator-gtk-stdin-io-error-stdin-error-0-init-line-1-cant-open-devsr0-no-medium-found/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 14:29:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linuxmint]]></category>
		<category><![CDATA[live usb]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[pen drive]]></category>
		<category><![CDATA[persistence]]></category>
		<category><![CDATA[stdin I/O error]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unetbootin]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24181</guid>
		<description><![CDATA[<br/><p>After installing Ubuntu on a USB stick with the Ubuntu USB Startup Disk Creator (usb-creator-gtk) you might encounter an error such as the following:</p> stdin: I/O error stdin: error 0 /init: line 1: can&#8216;t open /dev/sr0: No medium found <p>This is actually a bug with the software and isn&#8217;t anything you&#8217;ve done wrong. It [...]]]></description>
			<content:encoded><![CDATA[<br/><p>After installing Ubuntu on a USB stick with the Ubuntu USB Startup Disk Creator (usb-creator-gtk) you might encounter an error such as the following:</p>
<div class="dean_ch" style="white-space: wrap;">stdin: I/O error<br />
stdin: error <span class="nu0">0</span><br />
/init: line <span class="nu0">1</span>: can<span class="st0">&#8216;t open /dev/sr0: No medium found</span></div>
<p>This is actually a <a href="https://bugs.launchpad.net/ubuntu/+bug/500822">bug</a> with the software and isn&#8217;t anything you&#8217;ve done wrong. It seems to be a bug that&#8217;s effecting users running Karmic, Lucid, Maverick and Natty so it&#8217;s a pretty wide spread issue.</p>
<p>The best way I have found to get around this issue is to install and run <a href="http://unetbootin.sourceforge.net">unetbootin</a> to create live USBs. If you&#8217;re using linux it should be found in the usual place you can install things.</p>
<h6>Installation:</h6>
<p><strong>Ubuntu/LinuxMint/Debian:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> unetbootin</div>
<p><strong>Fedora/OpenSuse:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> yum <span class="kw2">install</span> unetbootin</div>
<h6>Create a live USB:</h6>
<p>To install a distro it&#8217;s pretty simple, either select it from the &#8220;Distribution&#8221; option and pick a distribution and version, UNetbootin will then actually download it and install it for you. Alternatively you can pick an Diskimage and browse for the ISO file you download (and would usually burn to a CD/DVD) and install from that. Select the USB Drive at the bottom and hit ok and it&#8217;ll install a bootloader, the system and you&#8217;ll be up and running in no time.</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-UNetbootin.png"><img class="aligncenter size-full wp-image-24182" title="Screenshot-UNetbootin" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-UNetbootin.png" alt="" width="530" height="387" /></a></p>
<h6>Persistence File:</h6>
<p>If you wanted a persistence install which allows you to save files, settings and installed programs you&#8217;ll have to do a little manual work as it currently doesn&#8217;t support that option.</p>
<p>Go to <a href="http://unetbootin.sourceforge.net/diskimg/">http://unetbootin.sourceforge.net/diskimg/</a> and download one of the files (128mb.zip, 256mb.zip, or 512mb.zip) corresponding to the amount of persistent space you want (make sure the size of the persistent disk image is smaller than the free space you have on your USB drive).</p>
<p>You&#8217;ll then need to edit the syslinux.cfg file that was created by UNetbootin in the root of the directory (just open it with a text editor) you should see something similar to the following:</p>
<blockquote><p>label unetbootindefault<br />
menu label Default<br />
kernel /ubnkern<br />
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash &#8211;</p></blockquote>
<p>So on the line that starts &#8220;appen initrd=&#8221; you&#8217;ll want to add the option of &#8220;persistent&#8221;, it should then look like the following:</p>
<p>NOTE: WordPress changes my double dash at the end of the last line to a single long dash, this won&#8217;t work. It&#8217;s easiest just to add the final word before the double dash in the file, do not copy and paste this in to your file. If you do, you will get more errors.</p>
<blockquote><p>label unetbootindefault<br />
menu label Default<br />
kernel /ubnkern<br />
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash persistent &#8211;</p></blockquote>
<p>I added this line to all that used the &#8220;file=/cdrom/preseed/ubuntu.seed&#8221; option, since that&#8217;s the image that&#8217;s being opened and it should then change all options on the bootloader that will load the ubuntu install.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/11/26/linux-usb-errors-with-usb-creator-gtk-stdin-io-error-stdin-error-0-init-line-1-cant-open-devsr0-no-medium-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Media Players And Flash Not Stopping The Screensaver</title>
		<link>http://alexsleat.co.uk/2011/11/11/linux-media-players-and-flash-not-stopping-the-screensaver/</link>
		<comments>http://alexsleat.co.uk/2011/11/11/linux-media-players-and-flash-not-stopping-the-screensaver/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 21:23:12 +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[arch]]></category>
		<category><![CDATA[caffeine]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora flash screensaver]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome media player]]></category>
		<category><![CDATA[isadora]]></category>
		<category><![CDATA[julia]]></category>
		<category><![CDATA[katya]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux flash screensaver]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lisa]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[power management]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[screen saver]]></category>
		<category><![CDATA[screensaver]]></category>
		<category><![CDATA[totem]]></category>
		<category><![CDATA[turn off screensaver]]></category>
		<category><![CDATA[ubuntu flash screensaver]]></category>
		<category><![CDATA[ubuntu mplayer screensaver]]></category>
		<category><![CDATA[ubuntu vlc screensaver]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[xfce]]></category>
		<category><![CDATA[xubuntu]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=23468</guid>
		<description><![CDATA[<br/><p>It&#8217;s a pretty common problem, one which could be solved by pretty much the following sentence: &#8216;[Insert Linux Distro], [Insert Media Player] not stopping screen saver when playing videos.&#8217; And, yeah, it&#8217;s very annoying. Something that should have been fixed thousands of releases ago, just like most common Linux problems. Luckily though there is [...]]]></description>
			<content:encoded><![CDATA[<br/><p>It&#8217;s a pretty common problem, one which could be solved by pretty much the following sentence: &#8216;[Insert Linux Distro], [Insert Media Player] not stopping screen saver when playing videos.&#8217; And, yeah, it&#8217;s very annoying. Something that should have been fixed thousands of releases ago, just like most common Linux problems. Luckily though there is a fix, it&#8217;s easy and it&#8217;s awesome.</p>
<p>Introducing: Caffeine, &#8220;An application to temporarily prevent the activation of both the screen saver and the &#8220;sleep&#8221; powersaving mode.&#8221; &#8211; <a href="https://launchpad.net/caffeine">https://launchpad.net/caffeine</a></p>
<p>Essentially what this program does is look for processes running on your machine (you can do this too, just run &#8216;ps -A&#8217; in a terminal emulator to see a list of everything), so you set process names which the program should look out for, for example &#8216;vlc&#8217; and when there is a process with this name Caffeine disables the screensaver, when the process stops the screensaver is re-enabled. It even comes with a little tray icon which allows you to manual enable or disable the screensaver/power management with a single click.</p>
<h6>Installation (Ubuntu):</h6>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> add-apt-repository ppa:caffeine-developers/ppa<br />
<span class="kw2">sudo</span> apt-get update<br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> caffeine</div>
<h6>Usage:</h6>
<p>You&#8217;ll be able to see if caffeine is running by the tray icon the first time you use it (this can be disabled in the settings).</p>
<div id="attachment_23469" class="wp-caption aligncenter" style="width: 235px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210740.png"><img class="size-full wp-image-23469 " title="Screenshot - 111111 - 21:07:40" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210740.png" alt="" width="225" height="137" /></a><p class="wp-caption-text">Caffeine Running (Screensaver / Power Management Enabled)</p></div>
<div id="attachment_23470" class="wp-caption aligncenter" style="width: 235px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210750.png"><img class="size-full wp-image-23470 " title="Screenshot - 111111 - 21:07:50" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210750.png" alt="" width="225" height="137" /></a><p class="wp-caption-text">Caffeine Running (Right Click Settings)</p></div>
<div id="attachment_23471" class="wp-caption aligncenter" style="width: 235px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210806.png"><img class="size-full wp-image-23471 " title="Screenshot - 111111 - 21:08:06" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210806.png" alt="" width="225" height="137" /></a><p class="wp-caption-text">Caffeine Running (Screensaver / Power Management Disabled)</p></div>
<h6>Adding Processes:</h6>
<p>To add a process which will disable the screensaver from being activated, for example VLC so we can watch a movie without constantly having to wiggle the mouse:</p>
<p>First, run VLC (or whatever other media player you wish and just replace VLC for that for the other few steps)</p>
<p>Next, right click on the Caffeine tray icon and select &#8220;Preference&#8221;.</p>
<p>Click the &#8220;Add&#8221; button.</p>
<div id="attachment_23473" class="wp-caption aligncenter" style="width: 413px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211455.png"><img class="size-full wp-image-23473" title="Screenshot - 111111 - 21:14:55" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211455.png" alt="" width="403" height="518" /></a><p class="wp-caption-text">List of processes already disabling the screensaver, note Totem is added here.</p></div>
<p>You should be greeted by a list of the running processes, select the name of the media player (this case, vlc) if it isn&#8217;t there check under the &#8220;Recent Processes&#8221; tab or alternatively just write the command you would use to run this program from the command line.</p>
<div id="attachment_23474" class="wp-caption aligncenter" style="width: 412px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211525.png"><img class="size-full wp-image-23474" title="Screenshot - 111111 - 21:15:25" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211525.png" alt="" width="402" height="521" /></a><p class="wp-caption-text">Adding VLC to processes to disable the screensaver.</p></div>
<p>Finally click the &#8220;Add&#8221; button and close the preferences window, that pesky screensaver should no longer be bothering you!</p>
<h6>Stopping Flash from enabling the screensaver:</h6>
<p>Okay, this is actually really easy, if you&#8217;re using Chromium or Google Chrome or Firefox, you&#8217;ll just want to add the processes <em>&#8216;npviewer.bin&#8217;</em> to list, you can use the above instructions to do so. </p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/11/11/linux-media-players-and-flash-not-stopping-the-screensaver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

