<?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</title>
	<atom:link href="http://alexsleat.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Fri, 18 May 2012 23:44:52 +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>fatal error: libconfig.h: No such file or directory &#124; Ubuntu 12.04</title>
		<link>http://alexsleat.co.uk/2012/05/16/fatal-error-libconfig-h-no-such-file-or-directory-ubuntu-12-04/</link>
		<comments>http://alexsleat.co.uk/2012/05/16/fatal-error-libconfig-h-no-such-file-or-directory-ubuntu-12-04/#comments</comments>
		<pubDate>Wed, 16 May 2012 11:30:46 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[libconfig-dev]]></category>
		<category><![CDATA[libconfig.h]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=31049</guid>
		<description><![CDATA[<br/><p>If you&#8217;re getting the following error:</p> fatal error: libconfig.h: No such file or directory <p>Then you&#8217;re probably missing the libconfig-dev package from your system. Simply run the following command and it&#8217;ll fix it:</p> sudo apt-get install libconfig-dev ]]></description>
			<content:encoded><![CDATA[<br/><p>If you&#8217;re getting the following error:</p>
<div class="dean_ch" style="white-space: wrap;">fatal error: libconfig.h: No such <span class="kw2">file</span> or directory</div>
<p>Then you&#8217;re probably missing the libconfig-dev package from your system. Simply run the following command and it&#8217;ll fix it:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> libconfig-dev</div>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/05/16/fatal-error-libconfig-h-no-such-file-or-directory-ubuntu-12-04/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gimp: error while loading shared libraries: libgegl-0.0.so.0: cannot open shared object file: No such file or directory</title>
		<link>http://alexsleat.co.uk/2012/05/02/gimp-error-while-loading-shared-libraries-libgegl-0-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory/</link>
		<comments>http://alexsleat.co.uk/2012/05/02/gimp-error-while-loading-shared-libraries-libgegl-0-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory/#comments</comments>
		<pubDate>Wed, 02 May 2012 09:08:05 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[11.04]]></category>
		<category><![CDATA[11.10]]></category>
		<category><![CDATA[12.04]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[cannot open shared object file]]></category>
		<category><![CDATA[gimp]]></category>
		<category><![CDATA[libgegl]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[oneiric]]></category>
		<category><![CDATA[precise]]></category>
		<category><![CDATA[shared libraries]]></category>
		<category><![CDATA[sources.list]]></category>
		<category><![CDATA[symbolic link]]></category>
		<category><![CDATA[ubuntu 12.04]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=30417</guid>
		<description><![CDATA[<br/><p>After upgrading from Ubuntu 11.10 to 12.04 I found gimp couldn&#8217;t access the shared libraries it needed, most likely an error with symbolic links as described by lovelyindia in this post. </p> Fix 1: <p>He managed to fix the issue by removing gimp and purging the offending libraries and then letting apt deal with [...]]]></description>
			<content:encoded><![CDATA[<br/><p>After upgrading from Ubuntu 11.10 to 12.04 I found gimp couldn&#8217;t access the shared libraries it needed, most likely an error with symbolic links as described by lovelyindia in <a href="http://bentwithlove.blogspot.co.uk/2011/05/gimperror-while-loading-shared.html">this post</a>. </p>
<h3>Fix 1:</h3>
<p>He managed to fix the issue by removing gimp and purging the offending libraries and then letting apt deal with the libraries when he re-installed gimp, as per the below commands:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get update <br />
<span class="kw2">sudo</span> apt-get purge <span class="kw2">gimp</span> libgegl* libbabl* <br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> <span class="kw2">gimp</span> <br />
<span class="kw2">sudo</span> apt-get clean</div>
<p>While this is likely to work for most people encountering this issue, it didn&#8217;t for me.</p>
<h3>Fix 2:</h3>
<p>Then I remembered I had used the repogen <a href="http://repogen.simplylinux.ch/">source list generator</a>, in which I chose to include the gimp svn build. While you may not have gone about it the same way, you may also have a different repository in your sources.list file which is causing this issue, if the previous method did not resolve the issue.</p>
<p>In order to fix this, I had to open the sources.list file and comment out the offending repo.</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/apt/sources.list</div>
<p>Now search for any reference to gimp, in my case this was the lines I changed:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3">#### Gimp SVN &#8211; https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn</span><br />
<span class="re3">## Run this <span class="kw3">command</span>: <span class="kw2">sudo</span> apt-key adv &#8211;recv-keys &#8211;keyserver keyserver.ubuntu.com 405A15CB</span><br />
deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu precise main</div>
<p>I commented out the line linking to the repo by adding a &#8216;#&#8217; to the front, as below:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3">#### Gimp SVN &#8211; https://launchpad.net/~matthaeus123/+archive/mrw-gimp-svn</span><br />
<span class="re3">## Run this <span class="kw3">command</span>: <span class="kw2">sudo</span> apt-key adv &#8211;recv-keys &#8211;keyserver keyserver.ubuntu.com 405A15CB</span><br />
<span class="re3"># deb http://ppa.launchpad.net/matthaeus123/mrw-gimp-svn/ubuntu precise main</span></div>
<p>I then uninstalled gimp, once I knew it may have been the newly added repository that I had added:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get purge <span class="kw2">gimp</span></div>
<p>Then I saved and exited the file and updated apt:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get update</div>
<p>I then re-installed gimp:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> <span class="kw2">gimp</span></div>
<p>This solved the issue for me, I hope this helps!</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/05/02/gimp-error-while-loading-shared-libraries-libgegl-0-0-so-0-cannot-open-shared-object-file-no-such-file-or-directory/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>10 Command Line Tricks I Wish I&#8217;d Always Known</title>
		<link>http://alexsleat.co.uk/2012/04/14/10-command-line-tricks-i-wish-id-always-known/</link>
		<comments>http://alexsleat.co.uk/2012/04/14/10-command-line-tricks-i-wish-id-always-known/#comments</comments>
		<pubDate>Sat, 14 Apr 2012 17:52:56 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bang bang]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[commands]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[top 10]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=29800</guid>
		<description><![CDATA[<br/><p>One thing that Linux Guru&#8217;s and Terminal Wizards often argue is that it&#8217;s way quicker to use the command line to do anything in Linux than it is through menus and what not. While the jury is still out on this, there are a lot of things they know which do help put the [...]]]></description>
			<content:encoded><![CDATA[<br/><p>One thing that Linux Guru&#8217;s and Terminal Wizards often argue is that it&#8217;s way quicker to use the command line to do anything in Linux than it is through menus and what not. While the jury is still out on this, there are a lot of things they know which do help put the ball in their court which can often take a lot of time exploring the terminal to discover. I&#8217;ve compiled a list of my favourite commands and tricks that I think that would have saved me a bunch of time if I&#8217;d been aware of them when I first ventured in to Linux.</p>
<h3>1. Repeat Recent Commands:</h3>
<p>Let&#8217;s say you&#8217;ve just ran a command but forgot you needed to run it as sudo, you can use !! to repeat it with the additional sudo at the beginning, as below:</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ apt-get <span class="kw2">install</span> package<br />
alex:~$ <span class="kw2">sudo</span> !!<br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> package</div>
<p>Additionally you&#8217;re able to use this to go back further than the last command by replacing the second ! for -n (where n is the number of commands ago you want to repeat).</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ <span class="kw2">ls</span><br />
alex:~$ <span class="kw3">cd</span> <span class="kw2">dir</span><br />
alex:~$ <span class="kw2">cat</span> <span class="kw2">file</span><br />
alex:~$ !<span class="nu0">-3</span><br />
<span class="kw2">ls</span></div>
<p>How about if you want to reuse the arguments from the last command but not the command itself, well it can do that too:</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ <span class="kw2">ls</span> /home/alex/Desktop<br />
alex:~$ <span class="kw3">cd</span> !*<br />
<span class="kw3">cd</span> /home/alex/Desktop</div>
<h3>2. Replace String In Last Command:</h3>
<p>The use of the following command allows you to repeat the last command but replacing a string within it, useful if you made a mistake or typo. The follow example shows correcting a path for a change directory command.</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ <span class="kw3">cd</span> /this/<span class="kw2">dir</span>/is/wrong<br />
alex:~$ ^wrong^right^<br />
<span class="kw3">cd</span> /this/<span class="kw2">dir</span>/is/right</div>
<h3>3. Reset:</h3>
<p>Chances are, you&#8217;ll come across a situation where you&#8217;ve seemingly borked a terminal. Maybe you used cat on the wrong file or a program tried to export some strange characters which changed the settings. The following command should get you back to a fresh terminal quickly and you can often run it even when you don&#8217;t think you can. If the screen is really borked, try hitting enter before hand, typing reset and hitting enter again.</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ reset</div>
<h3>4. Running A Command In The Background:</h3>
<p>Adding an &#038; after the command you run allows you to continue to use the terminal screen while keeping the process running. Below shows an example of opening gedit in the background but allowing me to continue using the terminal for other commands. Great for editing and compiling code with the minimal number of terminals open.</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ gedit &amp;</div>
<p>Once ran it&#8217;ll give you the process ID which allows you to kill it easily once you&#8217;re done with it.</p>
<h3>5. Exiting A Terminal &#038; Keeping Background Processes Running:</h3>
<p>If you&#8217;ve opened a bunch of processes in the background (as per previous command) but now you want to close the terminal screen but not these processes you can use the following to release the ownership of the processes and exit.</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ <span class="kw3">disown</span> -a &amp;&amp; <span class="kw3">exit</span></div>
<h3>6. htop:</h3>
<p>Similar to &#8216;top&#8217; (which allows you to view tasks in real-time with other useful info such as memory and CPU usage) but it&#8217;s displayed in a much easier to understand and interactive. It allows you to kill tasks without entering its PID, search, filter, sort and a bunch of other features.</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ htop</div>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2012/04/htop.png"><img src="http://alexsleat.co.uk/wp-content/uploads/2012/04/htop.png" alt="" title="htop" width="1084" height="614" class="aligncenter size-full wp-image-29809" /></a></p>
<h3>7. Reverse History Search:</h3>
<p><strong>Ctrl + r</strong></p>
<p>Using this will allow you to start typing and it&#8217;ll find the last command that contained the string you&#8217;re typing, hitting enter will execute that command. For example:</p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ <span class="kw3">cd</span> /home/alex/this/is/a/<span class="kw2">dir</span><br />
ctrl+r &amp; typing <span class="st0">&quot;a/dir&quot;</span><br />
<span class="br0">&#40;</span>reverse-i-search<span class="br0">&#41;</span>`<span class="st0">&#8216;: cd /home/alex/this/is/a/dir<br />
</span></div>
<h3>8. Piping (Combining) Commands:</h3>
<p>Piping commands allows you to pass the data that would usually be outputted to be directly passed as an input to another command, for example below is a list command being passed in to the less command to allow for scrolling of the data. This will work for most commands and experimentation is the best form of learning in this case. </p>
<div class="dean_ch" style="white-space: wrap;">alex:~$ <span class="kw2">ls</span> | <span class="kw2">less</span></div>
<h3>9. Auto Complete Command &#038; File Names:</h3>
<p>Half way through typing a command you can hit the <strong>Tab</strong> key and it&#8217;ll auto complete the word for you, if there are more than one other possible combinations a double tap of it will show you the possibilities. This also works for directory and files and can save some serious typing time.</p>
<h3>10. Other useful Keyboard Shortcuts: </h3>
<p>A few other keyboard shortcuts that are also useful to know (and not always as obvious as they should be):</p>
<p><strong>Ctrl + c</strong>  &#8211;  kill current process<br />
<strong>Ctrl + z</strong>  &#8211;  put current process in to the background<br />
<strong>Ctrl + l</strong>  &#8211;  clear the terminal<br />
<strong>Ctrl + a</strong>  &#8211;  set cursor to the start of the line<br />
<strong>Ctrl + e</strong>  &#8211;  set cursor to the end of the line<br />
<strong>Ctrl + shift + c</strong>  &#8211; copy<br />
<strong>Ctrl + shift + c</strong>  &#8211; paste</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2012/04/14/10-command-line-tricks-i-wish-id-always-known/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>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 will not. This [...]]]></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> <span class="re2">http_proxy=</span><span class="st0">&quot;proxy.addr:4040&quot;</span><br />
<span class="kw3">export</span> <span class="re2">ftp_proxy=</span><span class="st0">&quot;proxy.addr:4040&quot;</span><br />
<span class="kw3">export</span> <span class="re2">https_proxy=</span><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>2</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>
	</channel>
</rss>

