<?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; tutorial</title>
	<atom:link href="http://alexsleat.co.uk/tag/tutorial/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Tue, 07 Feb 2012 12:12:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<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>Android 4.0 (Ice Cream Sandwich) First Look / Impressions</title>
		<link>http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/</link>
		<comments>http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/#comments</comments>
		<pubDate>Wed, 30 Nov 2011 21:02:57 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[android 4.0]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[galaxy s]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[hot to]]></category>
		<category><![CDATA[ice cream sandwich]]></category>
		<category><![CDATA[ics]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[samsung galaxy s]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24238</guid>
		<description><![CDATA[<br/><p>It&#8217;s only been a couple of weeks since the first batch of Ice Cream Sandwich (ICS) loaded phones were released, the Samsung Galaxy Nexus, but already custom ROMs are being updated to allow users of other phones to use ICS.</p> <p>Luckily for me, a Samsung Galaxy S (I9000) owner, development for this widely popular [...]]]></description>
			<content:encoded><![CDATA[<br/><p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-43-04.png"><img class="alignleft size-medium wp-image-24317" title="ICS Android 4.0 Home Screen" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-43-04-180x300.png" alt="" width="180" height="300" /></a>It&#8217;s only been a couple of weeks since the first batch of Ice Cream Sandwich (ICS) loaded phones were released, the Samsung Galaxy Nexus, but already custom ROMs are being updated to allow users of other phones to use ICS.</p>
<p>Luckily for me, a Samsung Galaxy S (I9000) owner, development for this widely popular phone has been going strong for a while. Custom ROMs from Darkys ROM to CyanogenMod allow for quicker Android updates with much better features and a lack of Samsung&#8217;s bloat-ware.</p>
<p>So it seems the next version of CyanogenMod (CM9) will be ICS based and keeping up with the SGS development &#8220;Teamhacksung&#8221; have started porting over the new version which will soon become the latest version CM9. It&#8217;s still in its early stages and there are a few known bugs which need to be sorted but they&#8217;ve released a ROM for public testing.</p>
<p>After a day or so of testing, everything feels smooth and finished, it seems to be much more user friendly in comparison to previous iterations of Android. It&#8217;s kind of like they&#8217;ve realised it&#8217;s not just linux geeks using Android any more and it actually has a pretty large market share and they had to re-design it to be for everyone.</p>
<h5>New Features:</h5>
<h6>Home Screen:</h6>
<p>The home screen hasn&#8217;t changed dramatically and still follows the 4&#215;5 grid of icons and widgets.</p>
<p>The biggest and in my opinion most needed change here though is the relocation of the search bar, no longer is the search bar a widget but it now sits directly under the notification bar and remains constant on all home screens. This clears up an extra row for other icons and widgets but doesn&#8217;t over crowd the place.</p>
<p>When editing the home screen icons and widgets (long pressing on one of them), the Remove section replaces the static search bar at the top of the screen. Additionally while editing some widgets, such as the Calendar, allow for resizing, by framing the widget with a blue border with dots in the centre of each which can be dragged to change the length or width of the object. It&#8217;d be good to see this as a standard across all widgets even if setting limits was also done.</p>
<p>Folders are still here and they are a bit more awesome, to make a folder you simply drag one icon on to another and they bunch up. Clicking on the bunch opens up a pop up with all the icons in.</p>
<h6>App Drawer:</h6>
<p>The app drawer is now 4&#215;5 screens which can be switched left and right between, still organised alpabetically. Now however going past the last page of apps brings you to a list of widgets which can be held down on to drag to a home screen. The app drawer also has a quick link in the top left to the market place.</p>
<p>It&#8217;d be great to see more customisation here, allow for constant flow of apps from left to right rather than in pages or alternatively up and down scrolling.</p>
<h6>Multi-tasking:</h6>
<p>Multi-tasking is made much simpler in this iteration of Android, holding down the home button brings up a vertical list of running applications. Clicking on one will take you back to the app at its last used screen and also gives you a preview of the screen you&#8217;ll be heading back to. Sliding the appliaction left or right however will close it. This is a much simpler way for non-power users to understand what&#8217;s going on and might help them control over the occasional lag which can come about when you have too many applications open. It also really makes switching between two applications a breeze.</p>
<p style="text-align: center;"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-19.png"><img class="aligncenter size-full wp-image-24305" title="ICS Multi-tasking (Android 4.0)" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-19.png" alt="" width="230" height="384" /></a></p>
<h6>Settings:</h6>
<p>The settings menu have been cleaned up dramatically and now provide a lot of the useful settings at a much easier level. Things are grouped rather than a huge list of things and are generally much easier to understand.</p>
<p style="text-align: center;"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-43-21.png"><img class="aligncenter size-full wp-image-24316" title="ICS Settings (Android 4.0) Screenshot" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-43-21.png" alt="" width="230" height="384" /></a></p>
<h6>Face Unlock:</h6>
<p>One of the biggest new features to this version is the addition of Face-recognition to unlock your phone. unfortunately because the current ROM used to review this doesn&#8217;t have a very stable front facing camera driver it wasn&#8217;t really working in my tests.</p>
<p>Essentially you hold the camera in front of your face for a few seconds while it calibrates to your data and then when you unlock your screen the camera will start up and it should only take a second to detect your face and unlock, if it fails it has a fail safe which allows you to also enter a pin or pattern to unlock.</p>
<p>Two main issues arise, firstly as pointed out by the setup, the fact that people with similar faces will be able to unlock your screen, so don&#8217;t expect that your siblings can&#8217;t frape you. Also a picture of your face would also work, since it&#8217;s not 3D detection a photograph will also work for unlocking your phone.</p>
<h6>Screenshots:</h6>
<p>Screenshots are built in to this verison of android (it really made this review easier ;)) Just hold down the Volume Down button and Power button at the same time, a second or so and the screen will flash and it&#8217;ll save a screenshot in a folder on your phone.</p>
<h6>Browser:</h6>
<p>The browser has had a few tweaks including the way tabs are handled.</p>
<p style="text-align: center;"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-05.png"><img class="aligncenter size-full wp-image-24306" title="ICS Browser (Android 4.0) Screenshot" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-05.png" alt="" width="230" height="384" /></a></p>
<p>Overall it&#8217;s a nice clean update, I can&#8217;t say the difference between honeycomb since I don&#8217;t own a tablet but I&#8217;m sure this will be a welcome change to both phone and tablet users.</p>
<p>Gallery after the jump..<br />
<span id="more-24238"></span></p>
<h5>Gallery</h5>

<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-28-10-17-24/' title='Screenshot_2011-11-28-10-17-24'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-28-10-17-24-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-28-10-17-24" title="Screenshot_2011-11-28-10-17-24" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-23-43-13/' title='Screenshot_2011-11-27-23-43-13'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-23-43-13-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-23-43-13" title="Screenshot_2011-11-27-23-43-13" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-23-43-09/' title='Screenshot_2011-11-27-23-43-09'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-23-43-09-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-23-43-09" title="Screenshot_2011-11-27-23-43-09" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-23-34-09/' title='Screenshot_2011-11-27-23-34-09'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-23-34-09-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-23-34-09" title="Screenshot_2011-11-27-23-34-09" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-21-17-33/' title='Screenshot_2011-11-27-21-17-33'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-21-17-33-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-21-17-33" title="Screenshot_2011-11-27-21-17-33" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-21-15-39/' title='Screenshot_2011-11-27-21-15-39'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-21-15-39-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-21-15-39" title="Screenshot_2011-11-27-21-15-39" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-57-49/' title='Screenshot_2011-11-27-20-57-49'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-57-49-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-57-49" title="Screenshot_2011-11-27-20-57-49" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-56-07/' title='Screenshot_2011-11-27-20-56-07'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-56-07-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-56-07" title="Screenshot_2011-11-27-20-56-07" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-44-28/' title='Screenshot_2011-11-27-20-44-28'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-44-28-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-44-28" title="Screenshot_2011-11-27-20-44-28" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-43-24/' title='Screenshot_2011-11-27-20-43-24'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-24-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-43-24" title="Screenshot_2011-11-27-20-43-24" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-43-19/' title='ICS Multi-tasking (Android 4.0)'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-19-150x150.png" class="attachment-thumbnail" alt="ICS Multi-tasking (Android 4.0)" title="ICS Multi-tasking (Android 4.0)" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-43-05/' title='ICS Browser (Android 4.0) Screenshot'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-43-05-150x150.png" class="attachment-thumbnail" alt="ICS Browser (Android 4.0) Screenshot" title="ICS Browser (Android 4.0) Screenshot" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-42-56/' title='Screenshot_2011-11-27-20-42-56'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-42-56-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-42-56" title="Screenshot_2011-11-27-20-42-56" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-42-37/' title='Screenshot_2011-11-27-20-42-37'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-42-37-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-42-37" title="Screenshot_2011-11-27-20-42-37" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-41-53/' title='Screenshot_2011-11-27-20-41-53'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-41-53-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-41-53" title="Screenshot_2011-11-27-20-41-53" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-41-24/' title='Screenshot_2011-11-27-20-41-24'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-41-24-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-41-24" title="Screenshot_2011-11-27-20-41-24" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-20-41-14/' title='Screenshot_2011-11-27-20-41-14'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-20-41-14-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-20-41-14" title="Screenshot_2011-11-27-20-41-14" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-19-44-37/' title='Screenshot_2011-11-27-19-44-37'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-44-37-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-19-44-37" title="Screenshot_2011-11-27-19-44-37" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-19-44-28/' title='Screenshot_2011-11-27-19-44-28'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-44-28-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-19-44-28" title="Screenshot_2011-11-27-19-44-28" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-19-44-25/' title='Screenshot_2011-11-27-19-44-25'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-44-25-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-19-44-25" title="Screenshot_2011-11-27-19-44-25" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-19-44-20/' title='Screenshot_2011-11-27-19-44-20'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-44-20-150x150.png" class="attachment-thumbnail" alt="Screenshot_2011-11-27-19-44-20" title="Screenshot_2011-11-27-19-44-20" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-19-43-21/' title='ICS Settings (Android 4.0) Screenshot'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-43-21-150x150.png" class="attachment-thumbnail" alt="ICS Settings (Android 4.0) Screenshot" title="ICS Settings (Android 4.0) Screenshot" /></a>
<a href='http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/screenshot_2011-11-27-19-43-04/' title='ICS Android 4.0 Home Screen'><img width="150" height="150" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-19-43-04-150x150.png" class="attachment-thumbnail" alt="ICS Android 4.0 Home Screen" title="ICS Android 4.0 Home Screen" /></a>

]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To Take Screenshots in Ice Cream Sandwich (Android 4.0.x)</title>
		<link>http://alexsleat.co.uk/2011/11/28/how-to-take-screenshots-in-ice-cream-sandwich-android-4-0-x/</link>
		<comments>http://alexsleat.co.uk/2011/11/28/how-to-take-screenshots-in-ice-cream-sandwich-android-4-0-x/#comments</comments>
		<pubDate>Mon, 28 Nov 2011 13:23:32 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[4.0]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[ice cream sandwich]]></category>
		<category><![CDATA[ics]]></category>
		<category><![CDATA[screen grab]]></category>
		<category><![CDATA[screenshot]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24329</guid>
		<description><![CDATA[<br/><p>Android 4.0 or Ice Cream Sandwich (ICS) finally brings screenshots natively to the mobile platform, to a lot of users of custom ROMs such as CyanogenMod or Darkys ROM it may seem like this has been a feature for a while but that isn&#8217;t the case.</p> To take a screenshot: Simply hold down the [...]]]></description>
			<content:encoded><![CDATA[<br/><p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-23-43-13.png"><img class="alignright size-full wp-image-24296" title="Android 4.0 ICS Ice cream sandwich screenshot" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-27-23-43-13.png" alt="" width="288" height="480" /></a>Android 4.0 or Ice Cream Sandwich (ICS) finally brings screenshots natively to the mobile platform, to a lot of users of custom ROMs such as CyanogenMod or Darkys ROM it may seem like this has been a feature for a while but that isn&#8217;t the case.</p>
<h6>To take a screenshot:</h6>
<ul>
<li>Simply <strong>hold down</strong> the <strong>Volume Down</strong> button and <strong>Power</strong> button <strong>for about a second</strong>.</li>
</ul>
<p>&nbsp;</p>
<p>You&#8217;ll see a flash and the screen will be framed which shows the screenshot was taken (I&#8217;ve tried grabbing a screenshot of this screen, but it&#8217;s pretty tricky and no luck yet!). The screenshot will be saved in a folder /Pictures/Screenshots on your phones internal SD card.</p>
<p>You&#8217;ll also get a new notification in the notification bar saying &#8220;Saving Screenshot&#8230;&#8221; and once it&#8217;s done there&#8217;ll be a &#8220;Screenshot captured.&#8221; notification in the pull down menu which will take you directly the screenshot in the Gallery.</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-28-13-18-31.png"><img class="size-full wp-image-24341 alignnone" title="Android 4.0 ICS Ice cream sandwich screenshot captured" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot_2011-11-28-13-18-31.png" alt="" width="384" height="173" /></a></p>
<h5></h5>
<blockquote>
<h5 style="text-align: center;">For more screenshots, check out my first look and impressions post about ICS!<br />
<a href="http://alexsleat.co.uk/2011/11/30/android-4-0-ice-cream-sandwich-first-look-impressions/"> HERE</a></h5>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/11/28/how-to-take-screenshots-in-ice-cream-sandwich-android-4-0-x/feed/</wfw:commentRss>
		<slash:comments>9</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>How to Install the &#8216;gnome-shell-extensions-mediaplayer&#8217; Extension</title>
		<link>http://alexsleat.co.uk/2011/10/19/how-to-install-gnome-shell-extensions/</link>
		<comments>http://alexsleat.co.uk/2011/10/19/how-to-install-gnome-shell-extensions/#comments</comments>
		<pubDate>Wed, 19 Oct 2011 19:38:58 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[extensions]]></category>
		<category><![CDATA[from source]]></category>
		<category><![CDATA[git]]></category>
		<category><![CDATA[github]]></category>
		<category><![CDATA[gnome-shell]]></category>
		<category><![CDATA[gnome-tweak-tool]]></category>
		<category><![CDATA[gnome3]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[isadora]]></category>
		<category><![CDATA[julia]]></category>
		<category><![CDATA[katya]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lisa]]></category>
		<category><![CDATA[make]]></category>
		<category><![CDATA[make install]]></category>
		<category><![CDATA[media player]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[widget]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=22391</guid>
		<description><![CDATA[<br/><p>The mediaplayer widget found on github, created by eonpatapon &#8211; (https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer).</p> <p>I&#8217;ve been searching for a while for a good, solid widget style thing that&#8217;ll sit in the top of the gnome-shell panel which can control the music that&#8217;s playing in banshee, rhythmbox or whatever else you want to use to play your tunes.</p> [...]]]></description>
			<content:encoded><![CDATA[<br/><p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/10/Screenshot-at-2011-10-19-202514.png"><img class="size-full wp-image-22404 alignright" title="Screenshot at 2011-10-19 20:25:14" src="http://alexsleat.co.uk/wp-content/uploads/2011/10/Screenshot-at-2011-10-19-202514.png" alt="" width="434" height="348" /></a>The mediaplayer widget found on github, created by eonpatapon &#8211; (<a href="https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer">https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer</a>).</p>
<p>I&#8217;ve been searching for a while for a good, solid widget style thing that&#8217;ll sit in the top of the gnome-shell panel which can control the music that&#8217;s playing in banshee, rhythmbox or whatever else you want to use to play your tunes.</p>
<p>&nbsp;</p>
<h4>Installation:</h4>
<h5>1. <span class="Apple-style-span" style="font-size: 13px; font-weight: normal;">First you&#8217;ll need to grab some dependencies:</span></h5>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> git gnome-common gnome-tweak-tool</div>
<h5>2. <span class="Apple-style-span" style="font-size: 13px; font-weight: normal;">Next download the files from the git repository as below (this will download the folder to whatever directory you&#8217;re currently in, in terminal):</span></h5>
<div class="dean_ch" style="white-space: wrap;">git clone https://github.com/eonpatapon/gnome-shell-extensions-mediaplayer.git</div>
<h5>3. <span class="Apple-style-span" style="font-size: 13px; font-weight: normal;">Once it&#8217;s finished download (it shouldn&#8217;t take too long it&#8217;s only about 2.30MB as of writing this guide), you&#8217;ll want to install using the following commands:</span></h5>
<div class="dean_ch" style="white-space: wrap;"><span class="kw3">cd</span> gnome-shell-extensions-mediaplayer<br />
./autogen.<span class="kw2">sh</span> &#8211;<span class="re2">prefix=</span>/usr<br />
<span class="kw2">make</span><br />
<span class="kw2">sudo</span> <span class="kw2">make</span> <span class="kw2">install</span></div>
<h5>4. <span class="Apple-style-span" style="font-size: 13px; font-weight: normal;">That&#8217;s it, it&#8217;s installed. Next you&#8217;re going to want to enable it, run gnome-tweak-tool and under extensions slide the newly installed extension to ON and it should appear next to the &#8220;Universal Access Settings&#8221; in the top right.</span></h5>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/10/Screenshot-at-2011-10-19-203544.png"><img class="aligncenter size-full wp-image-22410" title="Screenshot at 2011-10-19 20:35:44" src="http://alexsleat.co.uk/wp-content/uploads/2011/10/Screenshot-at-2011-10-19-203544.png" alt="" width="662" height="529" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/10/19/how-to-install-gnome-shell-extensions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ROS: Publishing and Subscribing to Arrays</title>
		<link>http://alexsleat.co.uk/2011/07/02/ros-publishing-and-subscribing-to-arrays/</link>
		<comments>http://alexsleat.co.uk/2011/07/02/ros-publishing-and-subscribing-to-arrays/#comments</comments>
		<pubDate>Sat, 02 Jul 2011 11:26:46 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Robotics]]></category>
		<category><![CDATA[ROS]]></category>
		<category><![CDATA[answers]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[example]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Int32MultiArray]]></category>
		<category><![CDATA[int8multiarray]]></category>
		<category><![CDATA[multiarray]]></category>
		<category><![CDATA[MultiArrayDimension]]></category>
		<category><![CDATA[MultiArrayLayout]]></category>
		<category><![CDATA[publishing]]></category>
		<category><![CDATA[ros]]></category>
		<category><![CDATA[std_msgs]]></category>
		<category><![CDATA[subscribing]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=16877</guid>
		<description><![CDATA[<br/><p>In ROS (Robot Operating System) it&#8217;s really easy to publish variables to be used between nodes running on the same roscore however I was having some difficulty doing the same for arrays. The problem came when there was no real examples of how to use them, so here is a working example of std_msgs/*MultiArray [...]]]></description>
			<content:encoded><![CDATA[<br/><p>In ROS (Robot Operating System) it&#8217;s really easy to publish variables to be used between nodes running on the same roscore however I was having some difficulty doing the same for arrays. The problem came when there was no real examples of how to use them, so here is a working example of std_msgs/*MultiArray in ROS.</p>
<h3>Publishing:</h3>
<script src="http://gist.github.com/1372845.js?file=Publish.cpp"></script><noscript><link rel="stylesheet" href="https://gist.github.com/stylesheets/gist/embed.css"><div id="gist-1372845" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="cp">#include &lt;stdio.h&gt;</span></div><div class='line' id='LC2'><span class="cp">#include &lt;stdlib.h&gt;</span></div><div class='line' id='LC3'><br/></div><div class='line' id='LC4'><span class="cp">#include &quot;ros/ros.h&quot;</span></div><div class='line' id='LC5'><br/></div><div class='line' id='LC6'><span class="cp">#include &quot;std_msgs/MultiArrayLayout.h&quot;</span></div><div class='line' id='LC7'><span class="cp">#include &quot;std_msgs/MultiArrayDimension.h&quot;</span></div><div class='line' id='LC8'><br/></div><div class='line' id='LC9'><span class="cp">#include &quot;std_msgs/Int32MultiArray.h&quot;</span></div><div class='line' id='LC10'><br/></div><div class='line' id='LC11'><span class="kt">int</span> <span class="n">main</span><span class="p">(</span><span class="kt">int</span> <span class="n">argc</span><span class="p">,</span> <span class="kt">char</span> <span class="o">**</span><span class="n">argv</span><span class="p">)</span></div><div class='line' id='LC12'><span class="p">{</span></div><div class='line' id='LC13'>&nbsp;&nbsp;&nbsp;&nbsp;</div><div class='line' id='LC14'><br/></div><div class='line' id='LC15'>	<span class="n">ros</span><span class="o">::</span><span class="n">init</span><span class="p">(</span><span class="n">argc</span><span class="p">,</span> <span class="n">argv</span><span class="p">,</span> <span class="s">&quot;arrayPublisher&quot;</span><span class="p">);</span></div><div class='line' id='LC16'><br/></div><div class='line' id='LC17'>	<span class="n">ros</span><span class="o">::</span><span class="n">NodeHandle</span> <span class="n">n</span><span class="p">;</span></div><div class='line' id='LC18'><br/></div><div class='line' id='LC19'>	<span class="n">ros</span><span class="o">::</span><span class="n">Publisher</span> <span class="n">pub</span> <span class="o">=</span> <span class="n">n</span><span class="p">.</span><span class="n">advertise</span><span class="o">&lt;</span><span class="n">std_msgs</span><span class="o">::</span><span class="n">Int32MultiArray</span><span class="o">&gt;</span><span class="p">(</span><span class="s">&quot;array&quot;</span><span class="p">,</span> <span class="mi">100</span><span class="p">);</span></div><div class='line' id='LC20'><br/></div><div class='line' id='LC21'>	<span class="k">while</span> <span class="p">(</span><span class="n">ros</span><span class="o">::</span><span class="n">ok</span><span class="p">())</span></div><div class='line' id='LC22'>	<span class="p">{</span></div><div class='line' id='LC23'>		<span class="n">std_msgs</span><span class="o">::</span><span class="n">Int32MultiArray</span> <span class="n">array</span><span class="p">;</span></div><div class='line' id='LC24'>		<span class="c1">//Clear array</span></div><div class='line' id='LC25'>		<span class="n">array</span><span class="p">.</span><span class="n">data</span><span class="p">.</span><span class="n">clear</span><span class="p">();</span></div><div class='line' id='LC26'>		<span class="c1">//for loop, pushing data in the size of the array</span></div><div class='line' id='LC27'>		<span class="k">for</span> <span class="p">(</span><span class="kt">int</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span> <span class="n">i</span> <span class="o">&lt;</span> <span class="mi">90</span><span class="p">;</span> <span class="n">i</span><span class="o">++</span><span class="p">)</span></div><div class='line' id='LC28'>		<span class="p">{</span></div><div class='line' id='LC29'>			<span class="c1">//assign array a random number between 0 and 255.</span></div><div class='line' id='LC30'>			<span class="n">array</span><span class="p">.</span><span class="n">data</span><span class="p">.</span><span class="n">push_back</span><span class="p">(</span><span class="n">rand</span><span class="p">()</span> <span class="o">%</span> <span class="mi">255</span><span class="p">);</span></div><div class='line' id='LC31'>		<span class="p">}</span></div><div class='line' id='LC32'>		<span class="c1">//Publish array</span></div><div class='line' id='LC33'>		<span class="n">pub</span><span class="p">.</span><span class="n">publish</span><span class="p">(</span><span class="n">sonarBinsArr</span><span class="p">);</span></div><div class='line' id='LC34'>		<span class="c1">//Let the world know</span></div><div class='line' id='LC35'>		<span class="n">ROS_INFO</span><span class="p">(</span><span class="s">&quot;I published something!&quot;</span><span class="p">);</span></div><div class='line' id='LC36'>		<span class="c1">//Do this.</span></div><div class='line' id='LC37'>		<span class="n">ros</span><span class="o">::</span><span class="n">spinOnce</span><span class="p">();</span></div><div class='line' id='LC38'>		<span class="c1">//Added a delay so not to spam</span></div><div class='line' id='LC39'>		<span class="n">sleep</span><span class="p">(</span><span class="mi">2</span><span class="p">);</span></div><div class='line' id='LC40'>	<span class="p">}</span></div><div class='line' id='LC41'><br/></div><div class='line' id='LC42'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1372845/e3653c8d51081839dc18719ac6bdc7b6b5c7b5ac/Publish.cpp" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1372845#file_publish.cpp" style="float:right;margin-right:10px;color:#666">Publish.cpp</a>
            <a href="https://gist.github.com/1372845">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>
</noscript>
<h3>Subscribing:</h3>
<script src="http://gist.github.com/1372845.js?file=Subscribe.cpp"></script><noscript><link rel="stylesheet" href="https://gist.github.com/stylesheets/gist/embed.css"><div id="gist-1372845" class="gist">

        <div class="gist-file">
          <div class="gist-data gist-syntax">
              <div class="highlight"><pre><div class='line' id='LC1'><span class="cp">#include &lt;stdio.h&gt;</span></div><div class='line' id='LC2'><span class="cp">#include &lt;stdlib.h&gt;</span></div><div class='line' id='LC3'><span class="cp">#include &lt;vector&gt;</span></div><div class='line' id='LC4'><span class="cp">#include &lt;iostream&gt;</span></div><div class='line' id='LC5'><br/></div><div class='line' id='LC6'><span class="cp">#include &quot;ros/ros.h&quot;</span></div><div class='line' id='LC7'><br/></div><div class='line' id='LC8'><span class="cp">#include &quot;std_msgs/MultiArrayLayout.h&quot;</span></div><div class='line' id='LC9'><span class="cp">#include &quot;std_msgs/MultiArrayDimension.h&quot;</span></div><div class='line' id='LC10'><span class="cp">#include &quot;std_msgs/Int32MultiArray.h&quot;</span></div><div class='line' id='LC11'><br/></div><div class='line' id='LC12'><span class="kt">int</span> <span class="n">Arr</span><span class="p">[</span><span class="mi">90</span><span class="p">];</span></div><div class='line' id='LC13'><span class="kt">void</span> <span class="n">arrayCallback</span><span class="p">(</span><span class="k">const</span> <span class="n">std_msgs</span><span class="o">::</span><span class="n">Int32MultiArray</span><span class="o">::</span><span class="n">ConstPtr</span><span class="o">&amp;</span> <span class="n">array</span><span class="p">);</span></div><div class='line' id='LC14'><br/></div><div class='line' id='LC15'><span class="kt">int</span> <span class="n">main</span><span class="p">(</span><span class="kt">int</span> <span class="n">argc</span><span class="p">,</span> <span class="kt">char</span> <span class="o">**</span><span class="n">argv</span><span class="p">)</span></div><div class='line' id='LC16'><span class="p">{</span></div><div class='line' id='LC17'><br/></div><div class='line' id='LC18'>	<span class="n">ros</span><span class="o">::</span><span class="n">init</span><span class="p">(</span><span class="n">argc</span><span class="p">,</span> <span class="n">argv</span><span class="p">,</span> <span class="s">&quot;arraySubscriber&quot;</span><span class="p">);</span></div><div class='line' id='LC19'><br/></div><div class='line' id='LC20'>	<span class="n">ros</span><span class="o">::</span><span class="n">NodeHandle</span> <span class="n">n</span><span class="p">;</span>	</div><div class='line' id='LC21'><br/></div><div class='line' id='LC22'>	<span class="n">ros</span><span class="o">::</span><span class="n">Subscriber</span> <span class="n">sub3</span> <span class="o">=</span> <span class="n">n</span><span class="p">.</span><span class="n">subscribe</span><span class="p">(</span><span class="s">&quot;array&quot;</span><span class="p">,</span> <span class="mi">100</span><span class="p">,</span> <span class="n">arrayCallback</span><span class="p">);</span></div><div class='line' id='LC23'><br/></div><div class='line' id='LC24'>	<span class="n">ros</span><span class="o">::</span><span class="n">spinOnce</span><span class="p">();</span></div><div class='line' id='LC25'><br/></div><div class='line' id='LC26'>	<span class="k">for</span><span class="p">(</span><span class="n">j</span> <span class="o">=</span> <span class="mi">1</span><span class="p">;</span> <span class="n">j</span> <span class="o">&lt;</span> <span class="mi">90</span><span class="p">;</span> <span class="n">j</span><span class="o">++</span><span class="p">)</span></div><div class='line' id='LC27'>	<span class="p">{</span></div><div class='line' id='LC28'>		<span class="n">printf</span><span class="p">(</span><span class="s">&quot;%d, &quot;</span><span class="p">,</span> <span class="n">Arr</span><span class="p">[</span><span class="n">j</span><span class="p">]);</span></div><div class='line' id='LC29'>	<span class="p">}</span></div><div class='line' id='LC30'><br/></div><div class='line' id='LC31'>	<span class="n">printf</span><span class="p">(</span><span class="s">&quot;</span><span class="se">\n</span><span class="s">&quot;</span><span class="p">);</span></div><div class='line' id='LC32'>	<span class="k">return</span> <span class="mi">0</span><span class="p">;</span></div><div class='line' id='LC33'><span class="p">}</span></div><div class='line' id='LC34'><br/></div><div class='line' id='LC35'><span class="kt">void</span> <span class="n">arrayCallback</span><span class="p">(</span><span class="k">const</span> <span class="n">std_msgs</span><span class="o">::</span><span class="n">Int32MultiArray</span><span class="o">::</span><span class="n">ConstPtr</span><span class="o">&amp;</span> <span class="n">array</span><span class="p">)</span></div><div class='line' id='LC36'><span class="p">{</span></div><div class='line' id='LC37'><br/></div><div class='line' id='LC38'>	<span class="kt">int</span> <span class="n">i</span> <span class="o">=</span> <span class="mi">0</span><span class="p">;</span></div><div class='line' id='LC39'>	<span class="c1">// print all the remaining numbers</span></div><div class='line' id='LC40'>	<span class="k">for</span><span class="p">(</span><span class="n">std</span><span class="o">::</span><span class="n">vector</span><span class="o">&lt;</span><span class="kt">int</span><span class="o">&gt;::</span><span class="n">const_iterator</span> <span class="n">it</span> <span class="o">=</span> <span class="n">array</span><span class="o">-&gt;</span><span class="n">data</span><span class="p">.</span><span class="n">begin</span><span class="p">();</span> <span class="n">it</span> <span class="o">!=</span> <span class="n">array</span><span class="o">-&gt;</span><span class="n">data</span><span class="p">.</span><span class="n">end</span><span class="p">();</span> <span class="o">++</span><span class="n">it</span><span class="p">)</span></div><div class='line' id='LC41'>	<span class="p">{</span></div><div class='line' id='LC42'>		<span class="n">Arr</span><span class="p">[</span><span class="n">i</span><span class="p">]</span> <span class="o">=</span> <span class="o">*</span><span class="n">it</span><span class="p">;</span></div><div class='line' id='LC43'>		<span class="n">i</span><span class="o">++</span><span class="p">;</span></div><div class='line' id='LC44'>	<span class="p">}</span></div><div class='line' id='LC45'><br/></div><div class='line' id='LC46'>	<span class="k">return</span><span class="p">;</span></div><div class='line' id='LC47'><span class="p">}</span></div></pre></div>
          </div>

          <div class="gist-meta">
            <a href="https://gist.github.com/raw/1372845/a81476ff9a6e69189a3b71bfb093c0912cd751be/Subscribe.cpp" style="float:right;">view raw</a>
            <a href="https://gist.github.com/1372845#file_subscribe.cpp" style="float:right;margin-right:10px;color:#666">Subscribe.cpp</a>
            <a href="https://gist.github.com/1372845">This Gist</a> brought to you by <a href="http://github.com">GitHub</a>.
          </div>
        </div>
</div>
</noscript>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/07/02/ros-publishing-and-subscribing-to-arrays/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Fedora 15 Post Installation Guide</title>
		<link>http://alexsleat.co.uk/2011/05/31/fedora-15-post-installation-guide/</link>
		<comments>http://alexsleat.co.uk/2011/05/31/fedora-15-post-installation-guide/#comments</comments>
		<pubDate>Tue, 31 May 2011 09:49:05 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[15]]></category>
		<category><![CDATA[32bit]]></category>
		<category><![CDATA[64bit]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[post install]]></category>
		<category><![CDATA[set up]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=16465</guid>
		<description><![CDATA[<br/>Install RPM Fusion su -c &#8216;yum localinstall &#8211;nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm&#8217; <p>&#8211; http://rpmfusion.org/Configuration</p> Enable unsupported video and audio codecs <p>Get enhanced audio and video support in applications that rely on GStreamer:</p> sudo yum install gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg <p>Get enhanced audio and video support in applications that rely on xine backend:</p> sudo yum install xine-lib-extras-freeworld <p>&#8211; [...]]]></description>
			<content:encoded><![CDATA[<br/><h3><strong>Install RPM Fusion</strong></h3>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">su</span> -c <span class="st0">&#8216;yum localinstall &#8211;nogpgcheck http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm&#8217;</span></div>
<p>&#8211; <a href="http://rpmfusion.org/Configuration">http://rpmfusion.org/Configuration</a></p>
<h3><strong>Enable unsupported video and audio codecs </strong></h3>
<p>Get enhanced audio and video support in applications that rely on GStreamer:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> yum <span class="kw2">install</span> gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-ffmpeg</div>
<p>Get enhanced audio and video support in applications that rely on xine backend:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> yum <span class="kw2">install</span> xine-lib-extras-freeworld</div>
<p>&#8211; <a href="http://rpmfusion.org/FAQ#head-fa398739adc1f2783f645404f8c24bba9e636ccf">http://rpmfusion.org/FAQ</a></p>
<h3><strong>Install Chromium Browser</strong></h3>
<p>Make a file called &#8220;fedora-chromium-stable.repo&#8221; in /etc/yum.repos.d/ and open:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/yum.repos.d/fedora-chromium-stable.repo</div>
<p>Paste in the following, save and exit:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3"># Place this <span class="kw2">file</span> <span class="kw1">in</span> your /etc/yum.repos.d/ directory</span></p>
<p><span class="br0">&#91;</span>fedora-chromium-stable<span class="br0">&#93;</span><br />
<span class="re2">name=</span>Builds of the <span class="st0">&quot;stable&quot;</span> tag of the Chromium Web Browser<br />
<span class="re2">baseurl=</span>http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-<span class="re1">$releasever</span>/<span class="re1">$basearch</span>/<br />
<span class="re2">enabled=</span><span class="nu0">1</span><br />
<span class="re2">skip_if_unavailable=</span><span class="nu0">1</span><br />
<span class="re2">gpgcheck=</span><span class="nu0">0</span></p>
<p><span class="br0">&#91;</span>fedora-chromium-stable-<span class="kw3">source</span><span class="br0">&#93;</span><br />
<span class="re2">name=</span>Builds of the <span class="st0">&quot;stable&quot;</span> tag of the Chromium Web Browser &#8211; Source<br />
<span class="re2">baseurl=</span>http://repos.fedorapeople.org/repos/spot/chromium-stable/fedora-<span class="re1">$releasever</span>/SRPMS<br />
<span class="re2">enabled=</span><span class="nu0">0</span><br />
<span class="re2">skip_if_unavailable=</span><span class="nu0">1</span><br />
<span class="re2">gpgcheck=</span><span class="nu0">0</span></div>
<p>&#8211; <a href="http://fedoraproject.org/wiki/Chromium">http://fedoraproject.org/wiki/Chromium</a></p>
<h3><strong>Install Flash</strong></h3>
<p>Download the YUM for Linux version from the adobe site &#8211; http://get.adobe.com/flashplayer/</p>
<p>Run the following in the folder you downloaded the file to:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">su</span> -c <span class="st0">&#8216;rpm -ivh adobe-release-i386-1.0-1.noarch.rpm&#8217;</span></div>
<p>Import the GPG key:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">su</span> -c <span class="st0">&#8216;rpm &#8211;import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux&#8217;</span></div>
<p><strong>In 32bit run:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">su</span> -c <span class="st0">&#8216;yum install nspluginwrapper alsa-plugins-pulseaudio flash-plugin&#8217;</span></div>
<p><strong>on 64bit run:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">su</span> -c <span class="st0">&#8216;yum install nspluginwrapper.{x86_64,i686} alsa-plugins-pulseaudio.i686 &#8211;disablerepo=adobe-linux-i386&#8242;</span><br />
<span class="kw2">su</span> -c <span class="st0">&#8216;yum install flash-plugin&#8217;</span></div>
<p>If you&#8217;re using Firefox, that should be all done but if you&#8217;re using Chromium you&#8217;ll need to open Firefox and play a video then close it and run the following:</p>
<p><strong>32bit:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> <span class="kw2">ln</span> -s /usr/lib/mozilla/plugins/libflashplayer.so /usr/lib/chromium-browser/plugins/libflashplayer.so</div>
<p><strong>64bit:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> <span class="kw2">ln</span> -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so /usr/lib64/chromium-browser/plugins/nswrapper_32_64.libflashplayer.so</div>
<p>Close and re-open Chromium and head to <a href="http://www.youtube.com/watch?v=1LZXxD1tcx0">YouTube</a> to check that it&#8217;s working.</p>
<p>&#8211; <a href="http://fedoraproject.org/wiki/Flash">http://fedoraproject.org/wiki/Flash</a></p>
<h3><strong>Install Dropbox</strong></h3>
<p>Download and install the correct rpm for 32 or 64 bit from the Dropbox website &#8211; <a href="http://www.dropbox.com/downloading">http://www.dropbox.com/downloading</a>.</p>
<p>Follow this guide to remove the YUM errors you may encounter once the package is installed &#8211; <a href="http://alexsleat.co.uk/2011/05/24/how-to-fix-error-cannot-retrieve-repository-metadata-repomd-xml-for-repository-dropbox-please-verify-its-path-and-try-again/">http://alexsleat.co.uk/2011/05/24/how-to-fix-error-cannot-retrieve-repository-metadata-repomd-xml-for-repository-dropbox-please-verify-its-path-and-try-again/</a> .</p>
<h3><strong>Install VLC</strong></h3>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> yum <span class="kw2">install</span> vlc</div>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/05/31/fedora-15-post-installation-guide/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How To: Disable SELinux in Fedora</title>
		<link>http://alexsleat.co.uk/2011/05/24/how-to-disable-selinux-in-fedora/</link>
		<comments>http://alexsleat.co.uk/2011/05/24/how-to-disable-selinux-in-fedora/#comments</comments>
		<pubDate>Tue, 24 May 2011 16:58:44 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[14]]></category>
		<category><![CDATA[15]]></category>
		<category><![CDATA[disable]]></category>
		<category><![CDATA[disable selinux]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[permissive]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=16286</guid>
		<description><![CDATA[<br/><p>WARNING: by continuing following this guide you are putting your machine at risk by disabling the secuity features within SELinux, I strongly advise if you do not know what you are doing, stop and read up on the implications this action will have before continuing. Some information is avaible in the Fedora Wiki here [...]]]></description>
			<content:encoded><![CDATA[<br/><blockquote><p><strong>WARNING:</strong> by continuing following this guide you are putting your machine at risk by disabling the secuity features within SELinux, I strongly advise if you do not know what you are doing, stop and read up on the implications this action will have before continuing. Some information is avaible in the Fedora Wiki <a href="http://fedoraproject.org/wiki/SELinux">here</a> .</p></blockquote>
<p>Open up this file:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/selinux/config</div>
<p>Change the line that looks like this:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re2">SELINUX=</span>enforcing</div>
<p>To this:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re2">SELINUX=</span>permissive</div>
<p>Save and reboot and it should be working, although again be warned this has disabled the security mechanism on your system. To re-enable this, simply do the same however change from permissive to enforcing and again reboot your machine.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/05/24/how-to-disable-selinux-in-fedora/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>How To Fix: Error: Cannot retrieve repository metadata (repomd.xml) for repository: Dropbox. Please verify its path and try again</title>
		<link>http://alexsleat.co.uk/2011/05/24/how-to-fix-error-cannot-retrieve-repository-metadata-repomd-xml-for-repository-dropbox-please-verify-its-path-and-try-again/</link>
		<comments>http://alexsleat.co.uk/2011/05/24/how-to-fix-error-cannot-retrieve-repository-metadata-repomd-xml-for-repository-dropbox-please-verify-its-path-and-try-again/#comments</comments>
		<pubDate>Tue, 24 May 2011 16:56:04 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[13]]></category>
		<category><![CDATA[14]]></category>
		<category><![CDATA[15]]></category>
		<category><![CDATA[404]]></category>
		<category><![CDATA[dropbox]]></category>
		<category><![CDATA[errno 14]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[not found]]></category>
		<category><![CDATA[repo]]></category>
		<category><![CDATA[repodata]]></category>
		<category><![CDATA[repomd]]></category>
		<category><![CDATA[repository]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=16281</guid>
		<description><![CDATA[<br/><p>After installing dropbox from the RPM package availble on the site on a new Fedora 15 install, I was unable to use yum without coming across this error:</p> $ update Loaded plugins: langpacks, presto, refresh-packagekit http://linux.dropbox.com/fedora/15/repodata/repomd.xml: &#91;Errno 14&#93; HTTP Error 404 &#8211; Not Found : http://linux.dropbox.com/fedora/15/repodata/repomd.xml Trying other mirror. http://linux.dropbox.com/fedora/15/repodata/repomd.xml: &#91;Errno 14&#93; HTTP Error [...]]]></description>
			<content:encoded><![CDATA[<br/><p>After installing dropbox from the RPM package availble on the site on a new Fedora 15 install, I was unable to use yum without coming across this error:</p>
<div class="dean_ch" style="white-space: wrap;">$ update<br />
Loaded plugins: langpacks, presto, refresh-packagekit<br />
http://linux.dropbox.com/fedora/<span class="nu0">15</span>/repodata/repomd.xml: <span class="br0">&#91;</span>Errno <span class="nu0">14</span><span class="br0">&#93;</span> HTTP Error <span class="nu0">404</span> &#8211; Not Found : http://linux.dropbox.com/fedora/<span class="nu0">15</span>/repodata/repomd.xml<br />
Trying other mirror.<br />
http://linux.dropbox.com/fedora/<span class="nu0">15</span>/repodata/repomd.xml: <span class="br0">&#91;</span>Errno <span class="nu0">14</span><span class="br0">&#93;</span> HTTP Error <span class="nu0">404</span> &#8211; Not Found : http://linux.dropbox.com/fedora/<span class="nu0">15</span>/repodata/repomd.xml<br />
Trying other mirror.<br />
Error: Cannot retrieve repository metadata <span class="br0">&#40;</span>repomd.xml<span class="br0">&#41;</span> <span class="kw1">for</span> repository: Dropbox. Please verify its path and try again</div>
<p>For some unknown reason dropbox repos dont seem to work past 13 so you&#8217;ll need to change the dropbox.repo file from detecting the current release to 13 like so:</p>
<p>Open the dropbox.repo file:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> gedit /etc/yum.repos.d/dropbox.repo</div>
<p>Change the baseurl from $relesever to 13 like so:</p>
<p>Original:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="br0">&#91;</span>Dropbox<span class="br0">&#93;</span><br />
<span class="re2">name=</span>Dropbox Repository<br />
<span class="re2">baseurl=</span>http://linux.dropbox.com/fedora/<span class="re1">$releasever</span>/<br />
<span class="re2">gpgkey=</span>http://linux.dropbox.com/fedora/rpm-public-key.asc</div>
<p>New:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="br0">&#91;</span>Dropbox<span class="br0">&#93;</span><br />
<span class="re2">name=</span>Dropbox Repository<br />
<span class="re2">baseurl=</span>http://linux.dropbox.com/fedora/<span class="nu0">13</span>/<br />
<span class="re2">gpgkey=</span>http://linux.dropbox.com/fedora/rpm-public-key.asc</div>
<p>Save and close and everything should be working, try using sudo yum update to check and the error should have gone away. If not give a reboot a try.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/05/24/how-to-fix-error-cannot-retrieve-repository-metadata-repomd-xml-for-repository-dropbox-please-verify-its-path-and-try-again/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>HowTo: Disable Mouse Scroll to Switch Desktop &#8211; OpenBox</title>
		<link>http://alexsleat.co.uk/2011/05/15/howto-disable-mouse-scroll-to-switch-desktop-openbox/</link>
		<comments>http://alexsleat.co.uk/2011/05/15/howto-disable-mouse-scroll-to-switch-desktop-openbox/#comments</comments>
		<pubDate>Sun, 15 May 2011 19:39:46 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[archbang]]></category>
		<category><![CDATA[blackbox]]></category>
		<category><![CDATA[change]]></category>
		<category><![CDATA[desktop]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[openbox]]></category>
		<category><![CDATA[swap]]></category>
		<category><![CDATA[switch]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=16061</guid>
		<description><![CDATA[<br/><p>Open up the openbox config file, it should be located in /home/username/.config/openbox/ but if it&#8217;s not you might have to do a little digging. </p> nano /~.config/openbox/rc.xml <p>Find the following lines and remove or comment them out, you can use Ctrl+W in nano to find:</p> &#160; &#160; &#160;&#60;mousebind action=&#34;Click&#34; button=&#34;Up&#34;&#62; &#160; &#160; &#160; &#160; [...]]]></description>
			<content:encoded><![CDATA[<br/><p>Open up the openbox config file, it should be located in /home/username/.config/openbox/ but if it&#8217;s not you might have to do a little digging. </p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">nano</span> /~.config/openbox/rc.xml</div>
<p>Find the following lines and remove or comment them out, you can use Ctrl+W in nano to find:</p>
<div class="dean_ch" style="white-space: wrap;"> &nbsp; &nbsp; &nbsp;<span class="sc3"><span class="re1">&lt;mousebind</span> <span class="re0">action</span>=<span class="st0">&quot;Click&quot;</span> <span class="re0">button</span>=<span class="st0">&quot;Up&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;action</span> <span class="re0">name</span>=<span class="st0">&quot;DesktopPrevious&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/mousebind<span class="re2">&gt;</span></span></span><br />
&nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;mousebind</span> <span class="re0">action</span>=<span class="st0">&quot;Click&quot;</span> <span class="re0">button</span>=<span class="st0">&quot;Down&quot;</span><span class="re2">&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;action</span> <span class="re0">name</span>=<span class="st0">&quot;DesktopNext&quot;</span><span class="re2">/&gt;</span></span><br />
&nbsp; &nbsp; &nbsp; <span class="sc3"><span class="re1">&lt;/mousebind<span class="re2">&gt;</span></span></span></div>
<p>Note: XML comments are as follow:<-- Comment --></p>
<p>Save with Ctrl+X, Y, Enter (if you&#8217;re using nano) and restart OpenBox (Preferences -> OpenBox Config -> Restart) and all should be done.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/05/15/howto-disable-mouse-scroll-to-switch-desktop-openbox/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

