Archive for the 'Internet' Category

Using Google Apps as default mail client in Linux (Gnome)

Ok, pretty simple. I had a couple of machines where I wanted to keep the installation base to a minimum, so WebMail was a natural choice.

I neded to be able to send mails when clicking mail links everywhere in Firefox or other application, so we need to tell Gnome that Firefox is it the default mail client.

So I created the following shell script, which I placed in /usr/local/bin:


if [[ "" != "$1" ]]; then


if (pidof $FIREFOX); then
  $FIREFOX -remote "openurl($URL, new-tab)"

You must replace “” with your own domain.

This script opens a new tab in Firefox, loading Google Apps Mail directly. If Firefox is not yet running, it starts a new instance. If you provide a mailto: URL in the command line, it opens the mail composition section. If no URL is provided, it opens the regular Inbox view.

Now, we must tell Gnome to use this script as the default mail client. Simply open the Preferred Applications dialog in the System/Preferences menu. In the Mail Client section, select Custom and type the name of the script we just created in the Command field, followed by “%s”.

Preferred Applications window

Preferred Applications window

That’s it. It should be working now.

One last warning, tough. If you’re not logged in Google Apps, you will get the username/password dialog, and then you must click the e-mail address link again, in order to send a message.

Edit: you must verify if Firefox is running or not and start a new instance if it’s not. Changed the code accordingly.

Google Gears and Firefox 3

Seems like Google has finally updated their Gears Firefox extension to work with Firefox 3.


reCAPTCHA Mailhide

«Tired of spam? reCAPTCHA Mailhide helps you protect your inbox by asking people to solve a reCAPTCHA before they can view your email address.»

A nice, simple, smart and useful tool from the guys at reCAPTCHA: reCAPTCHA Mailhide.

Test it here with my e-mail address: (click the dots before the @).

Youtube is down

Youtube seems to be down for a while…

One may wonder what is happening, but the OpenDNS guys seem to know what really happened.


Update: the whole story