<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://whijo.net" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>ubuntu</title>
 <link>http://whijo.net/taxonomy/term/89/feed</link>
 <description>The taxonomy view with a depth of 0.</description>
 <language>en</language>
<item>
 <title>Firefox 2 and Firefox 3 co-habiting on Ubuntu 8.04</title>
 <link>http://whijo.net/blog/brad/2008/05/14/firefox-2-and-firefox-3-co-habiting-ubuntu-8-04.html</link>
 <description>&lt;p&gt;I recently upgraded to &lt;a href=&quot;http://ubuntu.com&quot;&gt;Ubuntu&lt;/a&gt; 8.04 (Hardy Heron). I was pleasantly surprised when Firefox 3 greeted me as the default browser, but then hit a few speed bumps. Being a web developer I constantly use tools like &lt;a href=&quot;http://getfirebug.com&quot;&gt;firebug&lt;/a&gt; and MeasureIt. Unfortunately, until Firefox 3 is widespread (and released), many extensions don&#039;t work (there are hacks, but they come with problems). So I don&#039;t want to go back to Firefox 2 as my browser, because when I did try there were some issues with downgrading my profile, and I have become quite used to bookmark tags, awesomebar, the incredible difference in memory consumption, and the Save &amp;amp; Exit prompt. Running Firefox 2 concurrently is possible though, it comes at a price though.&lt;/p&gt;
&lt;p&gt;Firstly, install firefox-2:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo apt-get install firefox-2&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;
I went the route of using a separate user for FF2, but you could probably use profiles? So:&lt;/p&gt;
&lt;p&gt;Create a candidate user:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;sudo adduser firefox2&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;(where firefox2 is the username)&lt;/p&gt;
&lt;p&gt;Then you can run firefox-2 as the user firefox2 using:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;xhost +local:
sudo su firefox2
export DISPLAY=:0.0
firefox-2&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;
The caution...using xhost +local: means any user logged onto your box (i.e. local), including ssh sessions, can access your X session. You will not have your bookmarks etc., but you can make a copy of bookmarks.html from your ~/.mozilla/firefox/%default profile%/bookmarks.html. You can now install the conventional FF add-ons etc.&lt;/p&gt;
&lt;p&gt;This should be treated as a hack and an interim measure, because once FF3 is supported by all your favourite extensions, then there is no need to carry on using it. I use my FF3 as my primary browser, and FF2 as a development environ (so not having bookmarks is fine for me, because I literally only use it for opening the site I am currently working on).&lt;/p&gt;
&lt;p&gt;Would appreciate constructive comments and crit. of better ways of doing this.&lt;/p&gt;
</description>
 <comments>http://whijo.net/blog/brad/2008/05/14/firefox-2-and-firefox-3-co-habiting-ubuntu-8-04.html#comments</comments>
 <category domain="http://whijo.net/geek-tags/firefox">firefox</category>
 <category domain="http://whijo.net/tags/geek">geek</category>
 <category domain="http://whijo.net/geek-tags/linux">linux</category>
 <category domain="http://whijo.net/geek-tags/mozilla">mozilla</category>
 <category domain="http://whijo.net/geek-tags/sudo">sudo</category>
 <category domain="http://whijo.net/geek-tags/ubuntu">ubuntu</category>
 <pubDate>Wed, 14 May 2008 10:29:11 +0200</pubDate>
 <dc:creator>brad</dc:creator>
 <guid isPermaLink="false">436 at http://whijo.net</guid>
</item>
<item>
 <title>Give Your Eyes a Treat</title>
 <link>http://whijo.net/blog/brad/2008/04/24/give-your-eyes-treat.html</link>
 <description>&lt;p&gt;I subscribe to the &lt;a href=&quot;http://blogs.msdn.com/ie/default.aspx&quot;&gt;IEBlog&lt;/a&gt; because it is always good for a laugh, or good to see exactly how much they are copying from the rest of the community. Recently Bill Hill, the Program Manager for Internet Explorer posted a little blurb about using their nice Consolas font for use in CMD.exe (Microsoft&#039;s &lt;a href=&quot;http://en.wikipedia.org/wiki/MS-DOS&quot;&gt;built in emulator&lt;/a&gt; of the 1980&#039;s command prompt, for the linux readers out there). Now, I dig the Microsoft fonts, they are very pretty, and very unfortunately licensed (sidebar: who decides to improve web, terminal, and printing with a series of fonts, and then puts licenses that impede their adoption?). I Have them installed on my Linux system, and while the may not have the full features of ClearType under linux, they still look damn good. So, Mr. Hill posted &lt;a href=&quot;http://blogs.msdn.com/ie/archive/2008/04/22/give-your-eyes-a-treat.aspx&quot;&gt;this how-to&lt;/a&gt; use it as your default console font, so I thought I would do the same. I am going to repeat his instructions so it benefits any windows users. I am not going to cover installing the fonts on either platform because it is pretty easy.&lt;br /&gt;
Windows&lt;/p&gt;
&lt;blockquote cite=&quot;http://blogs.msdn.com/ie/archive/2008/04/22/give-your-eyes-a-treat.aspx&quot;&gt;
&lt;pre&gt;&lt;code&gt;    reg add &quot;HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Console\TrueTypeFont&quot; /v 00 /d Consolas

    logoff

     Note: In Windows Vista, you need to run the reg command from an elevated command prompt.
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;When you log back in, Consolas will be an option in the “Command Prompt” Properties.  (n.b., Bryn tells me it actually shows up before you relog, but it won’t work.)&lt;/p&gt;
&lt;/p&gt;&lt;/blockquote&gt;
&lt;p&gt;Linux/Gnome/Ubuntu&lt;br /&gt;
You can do the equivalent in Ubuntu using gconf-editor from the command prompt, but you don&#039;t need to elevate privileges, and you need to browse to apps -&amp;gt; gnome-terminal -&amp;gt; profiles -&amp;gt; Default, and change the &quot;font&quot; key. You could also do it system wide and browse to desktop -&amp;gt; gnome -&amp;gt; interface, and edit the monospace_font_name key to &quot;Consolas 10&quot;. I find this a little complex, so I tried to see if there was a less obscure way. Turns out there is:&lt;br /&gt;
Open a terminal:&lt;br /&gt;
&lt;span class=&quot;inline&quot;&gt;&lt;a href=&quot;http://whijo.net/files/terminal.png&quot; class=&quot;inline-image-link&quot; title=&quot;View: terminal.png&quot; rel=&quot;lightbox[gp_inline]&quot;&gt;&lt;img src=&quot;http://whijo.net/files/imagecache/inline_resize/files/terminal.png&quot; alt=&quot;terminal.png&quot; title=&quot;terminal.png&quot;  class=&quot;inline&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
Right click the terminal, choose &quot;Edit Current Profile...&quot;, and left click:&lt;br /&gt;
&lt;span class=&quot;inline&quot;&gt;&lt;a href=&quot;http://whijo.net/files/terminal-rightclick.png&quot; class=&quot;inline-image-link&quot; title=&quot;View: terminal-rightclick.png&quot; rel=&quot;lightbox[gp_inline]&quot;&gt;&lt;img src=&quot;http://whijo.net/files/imagecache/inline_resize/files/terminal-rightclick.png&quot; alt=&quot;terminal-rightclick.png&quot; title=&quot;terminal-rightclick.png&quot;  class=&quot;inline&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
Uncheck &quot;Use the system fixed width font&quot;, and click on the named font (not sure of the default, I already had it set to Consolas 10):&lt;br /&gt;
&lt;span class=&quot;inline&quot;&gt;&lt;a href=&quot;http://whijo.net/files/terminal-profile.png&quot; class=&quot;inline-image-link&quot; title=&quot;View: terminal-profile.png&quot; rel=&quot;lightbox[gp_inline]&quot;&gt;&lt;img src=&quot;http://whijo.net/files/imagecache/inline_resize/files/terminal-profile.png&quot; alt=&quot;terminal-profile.png&quot; title=&quot;terminal-profile.png&quot;  class=&quot;inline&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
Choose Consolas (or any installed font), and I prefer 10 points, because it ends up being about the same size on screen:&lt;br /&gt;
&lt;span class=&quot;inline&quot;&gt;&lt;a href=&quot;http://whijo.net/files/terminal-fontselect.png&quot; class=&quot;inline-image-link&quot; title=&quot;View: terminal-fontselect.png&quot; rel=&quot;lightbox[gp_inline]&quot;&gt;&lt;img src=&quot;http://whijo.net/files/imagecache/inline_resize/files/terminal-fontselect.png&quot; alt=&quot;terminal-fontselect.png&quot; title=&quot;terminal-fontselect.png&quot;  class=&quot;inline&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Alternate method&lt;br /&gt;
Alternately, you could do it system wide (well, gnome/free desktop wide), by navigating to the top menu in the Gnome environment, choosing System -&amp;gt; Appearance, click on the Font tab, and change the Fixed width font with the font chooser. If you prefer using the keyboard you can just hit Alt-F1, right, right, down, right, down, down, down, Enter, right, right, Alt-F, then type &#039;Consolas&#039; (or type until it reaches the desired font, I find this is about &#039;Con&#039;), Tab, Tab, enter &quot;10&quot; or select with the down/up keys, and hit Enter, and Esc.&lt;/p&gt;
&lt;p&gt;[sarcasm]Boy, I wish the Linux desktop wasn&#039;t as complex and niche as the Windows desktop. I find everyday tweaks require such effort.[/sarcasm]&lt;/p&gt;
</description>
 <comments>http://whijo.net/blog/brad/2008/04/24/give-your-eyes-treat.html#comments</comments>
 <category domain="http://whijo.net/geek-tags/consolas">consolas</category>
 <category domain="http://whijo.net/geek-tags/console">console</category>
 <category domain="http://whijo.net/tags/geek">geek</category>
 <category domain="http://whijo.net/geek-tags/gnome-terminal">gnome-terminal</category>
 <category domain="http://whijo.net/geek-tags/microsoft">microsoft</category>
 <category domain="http://whijo.net/geek-tags/ubuntu">ubuntu</category>
 <pubDate>Thu, 24 Apr 2008 09:59:23 +0200</pubDate>
 <dc:creator>brad</dc:creator>
 <guid isPermaLink="false">432 at http://whijo.net</guid>
</item>
<item>
 <title>Intrepid Ibex</title>
 <link>http://whijo.net/blog/brad/2008/02/21/intrepid-ibex.html</link>
 <description>&lt;p&gt;&lt;span class=&quot;inline&quot;&gt;&lt;a href=&quot;http://whijo.net/files/nubianibex.jpg&quot; class=&quot;inline-image-link&quot; title=&quot;View: A Nubian Ibex, from http://commons.wikimedia.org/wiki/Image:Capra_ibex_ibex_%E2%80%93_02.jpg&quot; rel=&quot;lightbox[gp_inline]&quot;&gt;&lt;img src=&quot;http://whijo.net/files/imagecache/inline_resize/files/nubianibex.jpg&quot; alt=&quot;A Nubian Ibex, from http://commons.wikimedia.org/wiki/Image:Capra_ibex_ibex_%E2%80%93_02.jpg&quot; title=&quot;A Nubian Ibex, from http://commons.wikimedia.org/wiki/Image:Capra_ibex_ibex_%E2%80%93_02.jpg&quot;  class=&quot;inline&quot; /&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
In celebration of the &lt;a href=&quot;https://lists.ubuntu.com/archives/ubuntu-devel/2008-February/025136.html&quot;&gt;newly announced&lt;/a&gt; &quot;Intrepid Ibex&quot; (or Ubuntu 8.10), I once again bring your attention to my &lt;a href=&quot;http://whijo.net/node/116&quot;&gt;python script which generates alternative Ubuntu names&lt;/a&gt;. I brute forced some names starting with I and came up with these alternatives (which suggests maybe Intrepid Impala would be a nicer name for 8.10). So, &lt;/p&gt;
&lt;pre&gt;&lt;code&gt;radbrad@renton:~/python/ubuntu/choose_ubuntu$ while ((1));do python namer.py |grep ^I; done;
Inspirational Insect
Insolent Imp
Inexpensive Imp
Illustrious Ichthyosaur
Ingenious Indri
Incredible Impala
Immense Inkanyamba
Insurgent Ibis
Indefatigable Insect
Inescapable Ichthyosaur
Impressive Ichthyosaur
Inquisitive Imp
Ignited Impala
Ineffable Imp
Inevitable Insect
Inquisitive Ibis
Immodest Imp
Incomparable Ibex
Incredible Ichthyosaur
Ill Insect
Impressive Ibex
Indefatigable Ichthyosaur
Icky Iceweasel
&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;
Like the kubuntu, xubuntu, gubuntu names &lt;a href=&quot;http://www.tectonic.co.za/?p=2053&quot;&gt;confuse newbies and make Ubuntu difficult to market&lt;/a&gt;. I dig the naming scheme, just not the names that come out of it.&lt;/p&gt;
&lt;p&gt;Also, &lt;a href=&quot;http://www.theregister.co.uk/2008/02/20/ubuntu_intrepid_ibex/&quot;&gt;the register points out&lt;/a&gt; that:&lt;/p&gt;
&lt;blockquote src=&quot;http://www.theregister.co.uk/2008/02/20/ubuntu_intrepid_ibex/&quot;&gt;&lt;p&gt;We&#039;re informed that a male ibex will try and tempt a female into sex by licking and sniffing the lass and by issuing a low scream. It&#039;s suspected that Bono responds to a similar ritual. Sometimes the female will demonstrate her interest by urinating or by ramming the male with her horns. The male then returns the favor through the flehmen response, which is a curling of the upper lip. This goes on for about 30 minutes until Bono shows up or the ibexes get it on.&lt;/p&gt;
&lt;/p&gt;&lt;/blockquote&gt;
</description>
 <comments>http://whijo.net/blog/brad/2008/02/21/intrepid-ibex.html#comments</comments>
 <category domain="http://whijo.net/tags/geek">geek</category>
 <category domain="http://whijo.net/geek-tags/linux">linux</category>
 <category domain="http://whijo.net/geek-tags/python">python</category>
 <category domain="http://whijo.net/geek-tags/ubuntu">ubuntu</category>
 <pubDate>Thu, 21 Feb 2008 10:09:42 +0200</pubDate>
 <dc:creator>brad</dc:creator>
 <guid isPermaLink="false">426 at http://whijo.net</guid>
</item>
<item>
 <title>Hardy Heron</title>
 <link>http://whijo.net/blog/brad/2007/09/02/hardy-heron.html</link>
 <description>&lt;div&gt;&lt;a href=&quot;http://www.flickr.com/photos/locutis/146001589&quot; title=&quot;Hadeda&quot;&gt;&lt;img src=&quot;http://farm1.static.flickr.com/56/146001589_13cb17e347_m.jpg&quot; alt=&quot;&quot; title=&quot;&quot;  class=&quot; flickr-photo-img&quot; height=&quot;160&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;p&gt;In celebration of the &lt;a href=&quot;http://www.jonobacon.org/?p=1017&quot;&gt;newly announced&lt;/a&gt; &quot;Hardy Heron&quot; version of Ubuntu (8.04) I built a script to randomly generate a name for Ubuntu releases. &lt;del&gt;I did not have a huge corpus of animal names, and I tried to find as many adjectives as I could find, but&lt;/del&gt; &lt;ins&gt;I used the adjectives and animals from &lt;a href=&quot;https://wiki.ubuntu.com/DevelopmentCodeNames&quot;&gt;the ubuntu wiki&lt;/a&gt;, and&lt;/ins&gt; here is the script in all it&#039;s glory:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;import re
from random import randrange

def get_adjectives():
        f = open(&#039;adjectives&#039;,&#039;r&#039;)
        adjectives = f.readlines()
        f.close()
        return adjectives

def get_animals():
        f = open(&#039;animals&#039;,&#039;r&#039;)
        animals = f.readlines()
        f.close()
        return animals

def choose_adjective(adjectives):
        return adjectives[randrange(len(adjectives))].strip()

def choose_ubuntu(adjectives,animals):
        adj = choose_adjective(adjectives)
        letter = &#039;^%s&#039; % adj[0]
        letter = re.compile(letter)
        animal = [i for i in animals if letter.match(i)]
        if animal == []:
                return choose_ubuntu(adjectives,animals)
        if len(animal)&amp;gt;1:
                animal = animal[randrange(len(animal))].strip()
        else:
                animal = animal[0].strip()
        return [adj,animal]

adjectives = get_adjectives()
animals = get_animals()
ubuntu = choose_ubuntu(adjectives,animals)

print(&#039;%s %s&#039; % (ubuntu[0],ubuntu[1]))&lt;/code&gt;&lt;/pre&gt;&lt;p&gt;
The script and the animal and adjective corpusesses (not sure of the plural of corpus) are attached in a zipfile.&lt;/p&gt;
&lt;p&gt;P.S. I would have preferred a name like Happy Hummingbird, or something that doesn&#039;t sound so much like &lt;a href=&quot;http://images.google.com/images?q=hadeda+ibis&quot;&gt;Hadeda&lt;/a&gt; (the reference to a bird does not help it&#039;s case). Surely in light of Hoary Hedgehog they should skip H entirely?&lt;/p&gt;
</description>
 <comments>http://whijo.net/blog/brad/2007/09/02/hardy-heron.html#comments</comments>
 <category domain="http://whijo.net/tags/geek">geek</category>
 <category domain="http://whijo.net/geek-tags/linux">linux</category>
 <category domain="http://whijo.net/geek-tags/python">python</category>
 <category domain="http://whijo.net/geek-tags/ubuntu">ubuntu</category>
 <enclosure url="http://whijo.net/files/choose_ubuntu.zip" length="6029" type="application/zip" />
 <pubDate>Sun, 02 Sep 2007 15:37:04 +0200</pubDate>
 <dc:creator>brad</dc:creator>
 <guid isPermaLink="false">116 at http://whijo.net</guid>
</item>
</channel>
</rss>
