<?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>sudo</title>
 <link>http://whijo.net/taxonomy/term/233/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>
</channel>
</rss>
