Archive for April, 2008

Apr 27 2008

Battle of the Betas

Published by Ivan Groznii under Reviews |

Both Firefox and Opera are on the cusp of releasing new versions of their browser software.  Firefox is on the fifth beta of the up and coming Firefox 3: it is the browser of choice for the new release of Ubuntu Linux.  Opera is on the second Beta of Opera 9.50 - code named Kestrel.

Comparing the two at the moment may seem unfair, given that both are works in progress.  However, the two have been going back and forth in being the best, fastest browser for Linux; and the betas are an indication of how the next round is going to shape up.  After having used both side by side for the past week, I believe I have an idea as to who is going to come up trumps.

Firefox 3 is a good, well-rounded browser.  It is reasonably quick, and with some slight modifications in “about:config” - its speed can be improved further.  There is no doubt as to why this is the standard; however, there is no doubt that the new Opera is much better.

With 9.50b, the previous sins of Opera have been forgotten: it does run Flash plugins, and whatever was throttling its performance in 9.27, has been eliminated.  I don’t have a stop watch, but speaking as a user, its throughput is much faster than it is on Firefox 3.  Admittedly, I am using a lower end machine: however Opera seems to be able to do less with more.

I am also a strong believer in the idea that the class of a browser can be seen in its font rendering.  In Firefox 3, this has apparently taken a step backward: the rendering is less sophisticated than it was on Firefox 2, and its variants such as Swiftweasel.  It somehow looks like a throwback, almost like how browsers look on Windows.   The difference can be seen in these samples:

Firefox 3
Opera 9.50

I found after several hours of using both, I much prefered using Opera: as the samples show, it’s quicker, easier on the eyes, and there is a better “finish” to it.  Firefox 3 still has the feel of a beta; there are niggles in it, for example, how the history on the URL bar drops down, that indicates it still has some way to go, that some concepts have not yet fully arrived.

Opera 9.50 simply does not feel like a beta; there are no niggles or annoyances to distract, rather, it simply works and works well.  No doubt Firefox will catch up to it again; the to and fro of this struggle is unlikely to stop.  However, for the moment, Opera is the winner.

No responses yet

Apr 26 2008

Ubuntu Hardy Heron 8.04 on a HP Compaq nx7000

Published by Ivan Groznii under Hardware Help, Linux How-To |

My ideas about waste make it nearly impossible for me to throw out an old computer.  I still have an old HP Compaq nx7000 which is still my workhorse - it’s the living room computer, the one I sit down with in the morning and evening to do web surfing, writing emails and word processing.   With its wide screen and reasonable graphics, it’s not bad for the task.

That said, I thought it was really coming to the end of the line.  I had upgraded it from Ubuntu Gutsy Gibbon to Hardy Heron via the usual upgrade procedure while Hardy was in Beta.  I lost the Desktop Effects, and the computer seemed to be getting bogged down: the extensive error messages I got during shut off was particularly painful.

I decided to give it one last go with a clean install; if it didn’t work, then I was going to have to accept that the laptop, after 5 punishing years of service, was coming to its end.

But I’m pleased to say it did work, and in fact, it’s better than ever.

I should point out that this is not a standard HP Compaq nx7000: I replaced its original IDE hard drive with a Seagate 7200 80 GB drive.  I also put in an SMC Networks PCMCIA 802.11g card (this is based on the Atheros chipset).  I also put in 1 GB of RAM several years ago.  These have helped in terms of connectivity and speed; otherwise, it is a standard first generation Centrino laptop.  It has a 64 MB ATI Radeon laptop graphics card, and a lovely 1680 x 1050 widescreen aspect.

I wanted to ensure that the transition was as painless as possible; this meant that I wanted to ensure that I’d copied all my Bookmarks and emails. Fortunately, in Firefox 2, there is a facility under Bookmarks > Organise Bookmarks to export Bookmarks as a single file. Firefox 3 has a facility to import these bookmarks.

Thunderbird was less straightforward. I found an excellent add on called Import Export Tools. It’s available here. I was able to export all the messages, whisk them off with the other files and able to wipe the hard drive with confidence.

Installation was painless.  All of the hardware was detected and there were no problems with the sound, graphics, or networking; I still remain convinced that this laptop was more designed for Linux than for Windows.  Where it gets a bit trickier is trying to “smooth the setup”.

First and foremost, with my setup, I have two competing wireless cards.  As I’m not interested in having an 802.11b connection, I went into Applications > Accessories > Terminal and typed:

sudo gedit /etc/modprobe.d/blacklist

Add the following line:

blacklist ipw2100

Save and close.  This will knock out the silly old Intel wireless card upon restart.

I found that the Desktop effects still did not work.  Not to worry though, there is plenty of eye candy to be had at www.gnome-look.org.

In my case, I decided to install the Aurora GTK engine, because I rather liked the Elegant Aurora theme.

The good news is that this old laptop can run it. The bad news is that it does require some further packages in order to make it work.

I first had to go into Terminal again and type:

sudo apt-get install libc6-dev g++ gcc

But this isn’t sufficient, it is looking for specific GTK packages to make it work. One also needs to do this:

sudo aptitude install build-essential libgtk2.0-dev

Then extract the Aurora 1.4 folder from the zipped archive onto the desktop. Go into Terminal again, and navigate to that folder. From this point, the instructions are relatively straightforward. Type:

sudo ./configure –prefix=/usr

Then hit enter. After it goes through the motions, then type:

sudo make install

This will install the Aurora engine. Reboot.

You can then go into System > Preferences > Appearance and install the Elegant Aurora theme. Its curved, elegant appearance, while not as “dynamic” as Desktop Effects, is pleasing to the eye.

However, there are other items I wanted to install. First, fonts. It’s necessary to get the Microsoft core fonts in order to view web pages correctly. I went into System > Administration > Synaptic Package Manager and Searched for the following package, “msttcorefonts”. This package contains all the base Microsoft fonts one could require. I also wanted Macintosh fonts, as I rather like Lucida Grande. I found them at “Iceman’s Emulation Page”.

Once downloaded, unzip and put all the .TTF files on the desktop. Go back to terminal and then type:

cd /usr/share/fonts

Then type:

sudo mkdir apple

Navigate back (via “cd”) to the Desktop. Then type:

sudo mv *.ttf /usr/share/fonts/apple

This will move all the fonts to the “apple” folder.

You can then refresh the font cache by typing:

sudo fc-cache -fv

This will clock through your newly installed fonts and make them available for use.

Next, there is the matter of setting up Firefox. Firefox 3 is an improvement on Firefox 2 in terms of speed, though it is still a beta, with the limitations that implies. Some of the tweaks one could do with Firefox 2, still apply to Firefox 3. It’s a question of identifying where changing values is still appropriate.

To start, type “about:config” in the address bar.

You will get a warning; proceed anyway.

The HP Compaq nx7000 now needs to be treated as if it is a slow computer on a fast connection (given the SMC network card). Add / change the following values unless these values have already been changed / exceeded by the Firefox 3 configuration:

user_pref(”network.http.pipelining”, true);
user_pref(”network.http.proxy.pipelining”, true);
user_pref(”network.http.pipelining.maxrequests”, 8);
user_pref(”content.notify.backoffcount”, 5);
user_pref(”plugin.expose_full_path”, true);
user_pref(”ui.submenuDelay”, 0);

And:

user_pref(”content.max.tokenizing.time”, 3000000);
user_pref(”content.notify.interval”, 1000000);
user_pref(”content.notify.ontimer”, true);
user_pref(”content.switch.threshold”, 1000000);
user_pref(”content.maxtextrun”, 4095);
user_pref(”nglayout.initialpaint.delay”, 1000);
user_pref(”network.http.max-connections”, 48);
user_pref(”network.http.max-connections-per-server”, 16);
user_pref(”network.http.max-persistent-connections-per-proxy”, 16);
user_pref(”network.http.max-persistent-connections-per-server”, 8);
user_pref(”dom.disable_window_status_change”, true);

This will yield a substantially faster Firefox.

I don’t like the default Firefox theme, so I’ve gotten a hold of Phoenity Modern. I also made sure I hit You Tube to get it to automatically install the Adobe Flash Plugin (I went for the genuine Adobe plugin rather than its open source equivalents).

Next, Opera. Opera 9.27 doesn’t work with Flash on this machine; so it’s time to be daring and go with the beta, known as 9.50b / Kestrel. This can be gotten here. This works with the Flash plugin reasonably well.

Finally, Thunderbird; one does need to install the Import Export Tools again, however, it is relatively easy to import the messages, once you’ve re-set up your accounts. Just ensure you’ve clicked on the right folder - i.e., Inbox, when you’re trying to import Inbox messages.

There were other items to set up: as the FireFTP extension doesn’t work with Firefox 3, I went through setting up gFTP. Pidgin internet messenger setup was simple and painless. As my printer is a Canon, I used the Turboprint drivers, as they seem to lead to less smudging in the output than the standard Ubuntu drivers.

Also, with some wallpaper and icons from Deviant Art, I managed to make the old laptop look like this:

Screenshot One
Screenshot Two

But most of all, it is not left behind by recent developments - with the latest Ubuntu, latest Open Office, latest Firefox and latest Opera - it’s at the forefront of them. Not bad for something which in Windows world, would be pushing up the daisies.

2 responses so far