Posts Tagged ‘Opera’

While there are ways to change the default web browser via a GUI, this command-line method is even quicker. Also, while your email program and other apps might know which browser to open URLs with, you might find that ApportUbuntu‘s bug reporting system – looks to another browser you have installed. This is especially true if the other browser was at one point the default, and most notably this happens with Opera, though could also happen with Chromium/Google Chrome, Firefox, or any other browser you’ve installed before.

While Apport generally carries on with the bug reporting silently once you’ve clicked to continue, occasionally it require you to log into Launchpad, and will fire up the wrong browser, quite often it being Opera.

But it’s easy to remedy this by entering the following into the terminal:

sudo update-alternatives --config gnome-www-browser

Change Default Browser in Ubuntu

As you’ll see, all you have to do is enter the number corresponding to the browser you want to be the default (in this case 2 for Firefox). To complete the process, enter this command:

sudo update-alternatives --config x-www-browser

Change Default Browser in Ubuntu 2

… and do the same there. That’s it – you’ll no longer have Apport or any other app open the wrong browser again.


Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!


Read Full Post »

Google Chrome is a fast and lightweight web browser that has already become the 3rd most used browser on the planet. OK, so at 4.4% of the market it isn’t threatening to topple Mozilla Firefox or Microsoft Internet Explorer, but it has pushed my beloved Opera out of that position in a fairly short time.

Basically, it is a very slimmed-down browser with less screen real estate being taken up by things like a menu bar, and in independent tests has proven to be much faster than other browsers. For this speed boost, Google employs its own technology which many experts claim have Mozilla and Microsoft scrambling to match, let alone better.

Also, security is something the developers take very seriously, and once again has proved equal or superior than its counterparts in independent tests.

For more detailed technical info and browser comparisons, just search online with your favourite search engine (funnily enough, Google comes to mind), but you can check out the Wikipedia article for a good introduction.

To install Google Chrome, simply go to the download page and specify either 32- or 64-bit Ubuntu, and proceed to download the .deb installer. You’ll notice at the bottom of the user agreement it says:

Note: Installing Google Chrome will add the Google repository so your system will automatically keep Google Chrome up to date. If you don’t want Google’s repository, do “sudo touch /etc/default/google-chrome” before installing the package.

Note that simply downloading the installer won’t do this, but the repos will be added during installation. And you may notice that if you don’t want the repos added, there is a command outlined to prevent this, though I would suggest you let Google Chrome update itself, to keep it stable and secure.

Once you’ve downloaded the file, double-click it to proceed with the install.

In the first dialogue that appears when you start Google Chrome for the first time, you’ll see you can import settings from your browser. If you have Firefox, then this is simple, but if you have another installed, like Opera, then it may not appear in the list (in my case, I have multiple web browsers, and only Firefox was available to import from).

You’ll also notice you can have crash information sent back to the Google developers; the default (surprisingly) is not to send any info, but if you plan to keep using it and want to help improve stability and performance, you might consider enabling this before proceeding.

If you have Firefox open, it will complain that it could not import settings due to this. Simply close Firefox, then click the Continue button to proceed with importing your Firefox settings, bookmarks and passwords.

When Google Chrome finishes loading, it will likely open your Firefox “Home” page as the first tab, as well as an introductory page for the program itself. If you look to the first pic, you’ll see it also grabs any links you added to Firefox toolbars.

When you click the + button at the end of the tabs to open a new tab, you will find a customisable page for links which is similar to Opera‘s Speed Dial. Unlike the latter, however, you can’t really add new links at will, as it is more like a history of most frequently visited pages, but you can remove thumbnails for those you don’t want there (and also Keep on this page any you want there permanently). It’s worth spending a few minutes customising this page (once you’ve surfed a few sites), as it can be quicker than opening a blank tab and then finding the link in your Bookmarks menu, like you’d do in Firefox when opening a frequently used page.

And if you’re wondering where your imported bookmarks got to, just click on the Other Bookmarks button on the far right.

When you go to your favourite sites, you’ll see any login information would have been imported, and you’ll be ready to log into Facebook, MySpace or eBay with a click.

And if you’re wondering about customisability, while the window border obviously does not use your GTK or Compiz/Emerald theme, note that you can skin Google Chrome with the many themes available, like you can do with Firefox and Opera, as well as install all sorts of useful extensions. Once the browser is installed, go to the settings/spanner button to the far right of the address bar (it will say “Customize and control Google Chrome” when you hover your cursor over it), choose Extensions from the menu, and on the page that appears telling you you have none, click the browse the gallery link to look for goodies to install (use the Search field to look for theme and skin if you just want to change the look and not wade through hundreds of other extensions).

As you can see, it is no major pain setting up Google Chrome, and currently is just a 12.8Mb download, so you may want to give it a try, even if you just want a backup browser in case Firefox misbehaves and you don’t want to reboot. And if you’ve been having issues with your browser, or just prefer something more lightweight yet full-featured, this just may be what you’ve been looking for.


Note: Currently the Linux version is still a “beta”, but on my 64-bit Ubuntu 9.10 “Karmic Koala” system, seems perfectly stable.



Make Google Chrome Look Like the Rest of Ubuntu

Change Between Installed Themes in Linux

Google Chrome Themes for Ubuntu Users


Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »

MHT Web Archives are complete web pages saved into one file, and is a format browsers like Internet Explorer and Opera can handle. If you like saving complete pages as MHT archives, and need to be able to open all those you saved in Windows, you will need to install Opera, or you can use unMHT plugin for Firefox to give it that functionality.

But if you find that double-clicking an .mht file opens the text editor (which would probably be the case), you’ll need to right-click it and choose to Open With > your web browser, since no mimetype exists for that file extension.

However, to make .mht a registered file-type, you can use a little program called assoGiate. You should be able to install it via Synaptic (if not, you may need more software sources), or you can go to the download page (note that the link for Ubuntu packages currently seems to be dead, but you can get the source code there, if you prefer compiling anyway; otherwise, you can get the i386/32-bit version and amd64/64-bit version here). Once installed, it will end up in Applications > System Tools > File Types Editor.

In assoGiate, use the New button to create a blank mimetype. You’ll see there are 5 tabs in the dialogue box that pops up, and you will be putting information in the first 4. Some just require you to type data in an empty field, while others will require you to click an +Add button to do so. You can copy and paste the required data (in red) from here as you go, to save you typing it.

Category: Messages
Name: web-archive
Description: MHT Web Archive

Use the Browse button […] to select an icon of your choice for the .mht file-type.

Related Types:
Parent types: message/rfc822

Filename pattern: *.mht

File contents:

When you click +Add, which you’ll be doing 4 times, you’ll see more than one data entry field, but all you need to worry about is the Value: one.

Value: From: <Saved by
Value: Content-Type: multipart/related;
Value: boundary="—-=_NextPart_

Once your new mimetype has been created, go to the Database menu in assoGiate‘s main window and choose to Export Types… so you can import it again if need be.

Now, I mentioned you can right-click an .mht file and Open With > either Opera or Firefox (if it has the unMHT plugin), but to make either the default program for double-clicking, right-click one, select Properties and go to the Open With tab. There you’ll see some programs you can choose from, with Opera likely to be there. For Firefox, click the +Add button and select ‘Firefox Web Browser‘ from the list of programs that appears. Click Add and close the dialogue box.

Since support for this type is already in Opera, all you’ll see in the address bar is the local url to the file just opened. In Firefox, unMHT handles the opening of the file, so the address will look like:


If you’re wondering whether you could just make your browser open .mht files via the last method, without creating a mimetype, the answer is that you can, but creating a mimetype is much neater. Your .mht files will be listed as “MHT Web Archive“, and have a unique icon; if you had Opera or Firefox opening these files without the mimetype, and you changed the icon for .mht files, you would change the icon for all file-types opened with the specified browser. And as you would have noted, creating the mimetype is actually not that much of a hassle, especially if all the technical data has been supplied.

Check out more examples of creating mimetypes, as well as info on changing file properties and default apps for extensions if need be.


Did this information make your day? Did it rescue you from hours of headache? Then please consider making a donation via PayPal, to buy me a donut, beer, or some fish’n’chips for my time and effort! Many thanks!

Buy Ubuntu Genius a Beer to say Thanks!

Read Full Post »