<?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>billhay.es</title>
	<atom:link href="http://billhay.es/feed/" rel="self" type="application/rss+xml" />
	<link>http://billhay.es</link>
	<description>I&#039;ll put something here when I think of something to put here</description>
	<lastBuildDate>Wed, 18 Jan 2012 21:16:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Ubuntu Unity: A Geek&#8217;s Guide</title>
		<link>http://billhay.es/2012/01/18/ubuntu-unity-a-geeks-guide/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=ubuntu-unity-a-geeks-guide</link>
		<comments>http://billhay.es/2012/01/18/ubuntu-unity-a-geeks-guide/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 20:23:59 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[opinion]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[unity]]></category>

		<guid isPermaLink="false">http://billhay.es/?p=63</guid>
		<description><![CDATA[Until recently my laptop ran]]></description>
			<content:encoded><![CDATA[<p>Until recently my laptop ran Ubuntu 10.10. I&#8217;d tried 11.04 and decided pretty quickly that I hated Unity. It clearly wasn&#8217;t ready for prime time and the inability to configure it how I liked really put me off. With 11.10 and plenty of sites putting up their &#8220;Unity&#8217;s actually okay now&#8221; posts, I thought I&#8217;d take the plunge.</p>
<p>I&#8217;m glad I did because Unity is now actually a nice usable desktop. Especially if you value your screen real-estate and, on my ageing Samsung NC10, I certainly do.</p>
<p>It&#8217;s clearly geared towards novices though and, if you&#8217;re an experienced Linux user, that probably put you right off trying it. After using it for a while though I&#8217;ve found, that with a few choice tweaks, it&#8217;s not far from the desktop I&#8217;ve always wanted in Linux.</p>
<p><span id="more-63"></span></p>
<p>&nbsp;</p>
<h1>Making The Launcher Not Suck</h1>
<div id="attachment_64" class="wp-caption alignright" style="width: 310px"><a href="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-190703.png" rel="lightbox[63]" title="Screenshot at 2012-01-18 19:07:03"><img class="size-medium wp-image-64" title="Screenshot at 2012-01-18 19:07:03" src="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-190703-300x175.png" alt="CompizConfig Settings Manager" width="300" height="175" /></a><p class="wp-caption-text">Tasty tasty buttons of wonderment</p></div>
<p>If you use a web browser full screen, the first thing you might notice is that the lovely Ubuntu launcher on the left keeps appearing whenever you head for the back button. We can&#8217;t have that. Install CompizConfig Settings Manager (hereafter CCSM) if you haven&#8217;t already. Head straight for the Unity plugin under Desktop. I&#8217;ve decided to solve the problem by upping the edge reveal timeout to 1000, long enough for me to click the back button and move my mouse out of the way, but you could also disable the launcher reveal edge entirely. If you&#8217;re wanting to access it quickly (and you&#8217;re a geek so you will) then you can always hit the keyboard shortcut (the Windows key/super/meta by default).</p>
<p>Another problem with the panel is that it&#8217;s not very effective for switching running applications. Windows don&#8217;t always seem to show up there and, when they do, they&#8217;re grouped under one application icon and there doesn&#8217;t appear to be any way to change this. Worse, if you want to focus a window for one application without focussing another you&#8217;re going to find it highly fiddly since this launcher raises all application windows for that application.</p>
<p>I happen to quite like Expose so the Compiz equivalent has become my primary way of switching windows without using any extra precious screen space. If you&#8217;re going for a similar approach you&#8217;ll want to make it happen quickly, so find the Scale plugin under Window Management in CCSM and change the shortcut. I use the menu button (you know, that one between Alt Gr and Ctrl that nobody uses). Quick access from a key right next to my touchpad.</p>
<p>Test your settings thusly:</p>
<pre>unity --reset</pre>
<pre></pre>
<h1>Focus-Follows-Mouse</h1>
<p>This is CCSM again. General Options at the top and uncheck Click to Focus. Alt+Click should now raise a window and you can also use the window decorations. Nicely, clicking on the panel at the top of the screen seems to focus any maximised window that&#8217;s dumped its titlebar there. This is exactly what you want for focus-follows-mouse and it&#8217;s nice that it&#8217;s there without any further fiddling.</p>
<p>The major annoyance though? That panel at the top. The application menu lives there so you&#8217;ve no hope of activating the menu unless there&#8217;s a path from the window to the top bar that doesn&#8217;t touch another window. If the window loses focus, you haven&#8217;t got the menu.</p>
<p>I&#8217;ve got into the habit of hitting F10. You can customise this in the CCSM Unity plugin we saw earlier (perhaps the menu key, if you haven&#8217;t already assigned it to Scale) but I quite like F10. Fairly convenient on my netbook (your mileage may vary) and seems to make sense usability-wise because it&#8217;s at the top of the keyboard and the menu is at the top of the screen.</p>
<p>You could also install a MacOS X style dock if you&#8217;re that way inclined, but I can&#8217;t help you there. Well, I probably could. I won&#8217;t.</p>
<p>&nbsp;</p>
<h1>The Dash Sucks</h1>
<div id="attachment_65" class="wp-caption alignright" style="width: 310px"><a href="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-193351.png" rel="lightbox[63]" title="Screenshot at 2012-01-18 19:33:51"><img class="size-medium wp-image-65" title="Screenshot at 2012-01-18 19:33:51" src="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-193351-300x175.png" alt="Unity dash" width="300" height="175" /></a><p class="wp-caption-text">Best not to look at it</p></div>
<p>Not much you can do about it at this point. This is essentially impossible to configure unless you fancy opening up the source code. That&#8217;s far outside the scope of this post, obviously. You can edit menu items with alacarte though and, if you start using it as an alternative to Alt+F2, it&#8217;s not that bad. I don&#8217;t know why it insists that all we want to do with our computers is browse the web, view photos, read emails and listen to music but at least it obeys application defaults.</p>
<p>I find it slow and awkward to browse, so the best approach is just don&#8217;t look. Close your eyes, hit your launcher shortcut, type what you want, wait a second (annoyingly) and hit enter.</p>
<p>Maybe it&#8217;ll be fixed in Precise Pangolin.</p>
<p>&nbsp;</p>
<h1>LibreOffice Global Menu</h1>
<pre>apt-get install lo-menubar</pre>
<p>Next!</p>
<p>&nbsp;</p>
<h1>Get Your Taskbar Back</h1>
<p>One slightly silly thing that Unity does is whitelist a set of applications that can use the notification area (or &#8220;taskbar&#8221;, if you prefer). Want to choose your own IM app (or anything else that uses the taskbar)? Open up a terminal and:</p>
<pre>gsettings set com.canonical.Unity.Panel systray-whitelist "['all']"</pre>
<pre></pre>
<h1>Fix Your CPU Scaling</h1>
<p>I found my laptop, with Ubuntu, likes to drop its CPU governor to &#8220;conservative&#8221; when I unplug it. This would be fine except it&#8217;s a bit too right-wing for my tastes, keeping my CPU locked at 800MHz. I&#8217;ve decided I can see the advantages to this and have chosen not to fiddle it, instead I&#8217;ve put a CPU indicator in the panel that allows me to switch if I want.</p>
<pre>apt-get install indicator-cpufreq</pre>
<pre></pre>
<h1>Make It Blue!</h1>
<p>Everybody likes blue, nobody likes orange. This has been determined by science.</p>
<pre>sudo add-apt-repository ppa:webupd8team/themes
sudo apt-get update
sudo apt-get install ambiance-blue-theme gnome-tweak-tool</pre>
<p>Gnome Tweak Tool is there so you can switch to your nice new blue theme.</p>
<p>&nbsp;</p>
<h1>Things To Love</h1>
<ul>
<li>The global menu bar is a lovely idea for netbooks. The extra screen space saved really makes a difference and it feels so neat and efficient.</li>
<li>That sound indicator is actually really clever. It looks as though you&#8217;re tied in to Banshee with it but you can also install other audio apps and it&#8217;ll control those. I was pleasantly surprised to find it works with Spotify.</li>
<li>The battery life indicator has a setting (available just by left-clicking it) that can show how much time you have left on battery right there in the panel.</li>
<li>Take a moment to look at the menu in the far top-right you use for shutting down. I had system settings pinned in my launcher for ages before I actually stopped to look at this thing and notice it&#8217;s in there. Also has your attached devices and update notifications.</li>
<li>It&#8217;s pretty. I know, but I&#8217;m a sucker for attractive UI design.</li>
</ul>
<p>Unity, depending somewhat on how you like to interact with your PC, might well be ready to be your desktop. Don&#8217;t just install the live CD and get angry at it for five minutes, take some time to find out how you can tweak it. You may have to adjust your working practices slightly but it&#8217;s a surprisingly usable desktop for not-novices.</p>
<p>I&#8217;d actually recommend Linux Mint for novices, oddly enough. But that&#8217;s another post. Maybe.</p>
]]></content:encoded>
			<wfw:commentRss>http://billhay.es/2012/01/18/ubuntu-unity-a-geeks-guide/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Separating Skype and PulseAudio</title>
		<link>http://billhay.es/2012/01/18/separating-skype-and-pulseaudio/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=separating-skype-and-pulseaudio</link>
		<comments>http://billhay.es/2012/01/18/separating-skype-and-pulseaudio/#comments</comments>
		<pubDate>Wed, 18 Jan 2012 01:06:29 +0000</pubDate>
		<dc:creator>Bill</dc:creator>
				<category><![CDATA[Geek]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[pulseaudio]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://billhay.es/?p=52</guid>
		<description><![CDATA[&#160; Skype and PulseAudio have]]></description>
			<content:encoded><![CDATA[<div id="attachment_53" class="wp-caption aligncenter" style="width: 510px"><a href="http://www.flickr.com/photos/thishere/4039051856/"><img class="size-full wp-image-53" title="fighting-cats" src="http://billhay.es/wp-content/uploads/2012/01/fighting-cats.jpg" alt="Cats fighting" width="500" height="333" /></a><p class="wp-caption-text">Earlier: Skype and PulseAudio</p></div>
<p>&nbsp;</p>
<p>Skype and PulseAudio have never really seen eye-to-eye on my netbook. Maybe if you have some kind of magical super computer that can manage more than 1.6GHz you don&#8217;t have this problem, but for us mere mortals it&#8217;s a pain.</p>
<p>PulseAudio is hammered into Ubuntu pretty hard by 11.10. Removing it, as I have discovered, tends to break certain things and leaves you entirely without any method of volume control. Yes, I know you can hack something together with keyboard shortcuts, but I like the little speaker icon. So PulseAudio is something I&#8217;ve grudgingly learned to live with.</p>
<p>Skype is not quite so grown up. In fact, I believe this applies to any kind of microphone usage where PulseAudio is immediately infected with a nasty case of &#8220;the stupid&#8221; and gobbles your CPU leaving none left for the application actually doing the recording.<span id="more-52"></span></p>
<div id="attachment_54" class="wp-caption alignright" style="width: 310px"><a href="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-003650.png" rel="lightbox[52]" title="Screenshot at 2012-01-18 00:36:50"><img class="size-medium wp-image-54" title="Screenshot at 2012-01-18 00:36:50" src="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-003650-300x228.png" alt="Skype options" width="300" height="228" /></a><p class="wp-caption-text">Audio devices? What audio devices?</p></div>
<p>So then along came pasuspender.  &#8221;pasuspender skype&#8221; used to be a lovely way to set PulseAudio aside to one corner so it wouldn&#8217;t get in the way of Skype using the proper audio devices. Except the latest version of Skype (or the latest version of PulseAudio, hard to say) broke it. Skype no longer displays a list of sound devices if you have PulseAudio, it just sees PulseAudio and (if you suspended it with pasuspender) makes no noise whatsoever. See <a href="http://blogs.skype.com/linux/2009/09/some_explanations.html">this blog post</a> for Skype&#8217;s poor explanation of this horrific behaviour.</p>
<p>Sub-optimal, I&#8217;m sure you&#8217;ll agree.</p>
<p>But further down that blog post, (in the comments, since Skype employees are rarely as helpful as the users) you&#8217;ll find this little gem:</p>
<blockquote><p>===================== WORK-AROUND =====================<br />
set PULSE_SERVER to 127.0.0.1 and run Skype. PulseAudio doesn&#8217;t listen on TCP by default, so 127.0.0.1 is a good choice for most users &#8211; it will get an instant connection refusal and fallback to ALSA.You can also add a shortcut in GNOME to do this instead of using the command line. Drag-copy Skype to your panel, then in its preferences use a command:<br />
/bin/sh -c &#8220;PULSE_SERVER=127.0.0.1 skype&#8221;</p>
<p>Probably worth noting in some FAQ/HOWTO. This is much better option than uninstalling PA completely.</p></blockquote>
<div id="attachment_55" class="wp-caption alignleft" style="width: 310px"><a href="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-004755.png" rel="lightbox[52]" title="Screenshot at 2012-01-18 00:47:55"><img class="size-medium wp-image-55" title="Screenshot at 2012-01-18 00:47:55" src="http://billhay.es/wp-content/uploads/2012/01/Screenshot-at-2012-01-18-004755-300x228.png" alt="Skype options" width="300" height="228" /></a><p class="wp-caption-text">Oh, those audio devices!</p></div>
<p>There you have it. This gets my &#8220;dirty hack of the week award&#8221;, if such a thing were to exist. You&#8217;re telling Skype there&#8217;s an audio server it can talk to on 127.0.0.1 (there isn&#8217;t) and it promptly goes to look for PulseAudio at 127.0.0.1, doesn&#8217;t find it and just uses the proper audio devices (127.0.0.1 is running PulseAudio, but not listening on the network by default). You&#8217;re basically lying to Skype, saying its friend&#8217;s outside, and shutting it out in the cold.</p>
<p>Thanks, <a href="skype:lamieur?userinfo">lamieur</a>!</p>
<p>You monster.</p>
<p>So load up alacarte, change the Skype entry to run this:</p>
<pre>/bin/sh -c "PULSE_SERVER=127.0.0.1 skype"</pre>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://billhay.es/2012/01/18/separating-skype-and-pulseaudio/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

