How to Set Up Google Gears in 64-Bit Linux for Offline Gmail

Article by Lamar Stonecypher (20,035 pts ) , published Sep 4, 2009

Want to use Firefox and Google Gmail in offline mode? Currently, 64-bit Linux versions are not supported by the Google Gears package. You can trust the Linux community to come through with the fix, however. Here, in pictures and text, is how to run Google Gears in 64-bit Linux.

Introduction

Recently I wrote about using Google Gmail in offline mode on a Windows laptop and observed that it couldn’t have been created previously because the supporting structure was not in place for it. The enabling structure came in the form of Google Gears, which powers the online/offline capability of Google Docs and Google Reader.

With some interest and anticipation, I decided to try out offline Gmail on my Linux laptop. I had recently removed openSuse 11.1 and installed Ubunto 8.10 Desktop 64-bit edition instead. Since offline Gmail was already set up on my Windows notebook, the link for it was present when I visited my Gmail account.

If you’re starting from Linux and using a 64-bit version, the steps involved are similar, but not exactly the same. Start from your Gmail page in your browser and click “Settings.” Then click “Labs.” Look for the section called “Offline.” It starts, “Make Gmail go where the Internet doesn’t.” Click “Enable,” and then scroll all the way down and select “Save Changes.”

Back on your normal Gmail page, a new link will have appeared labeled “Offline Gmail.” If you click it, it will advise you that you need to download Google Gears in order to use Offline Gmail.

If you’re using a 32-bit version of Linux, this is well and good. Click the “Install" link and continue.

However, if you’re using a 64-bit of version, you won’t know that package is not compatible until after the download when the Firefox Add-On manager tells you. Google does not, in fact, have a version of Google Gears that works in 64-bit Linux.

But, as is often the case, the greater Linux community steps forward when the need arises. A fellow named Niels Peen downloaded the source and compiled it himself for 64-bit Linux. He graciously wants to “save us the hassle” and is freely offering his installer for a 64-bit version of Google Gears. Niels has tested it with Wordpress, Offline Gmail, and Firefox 3.05 in Kubuntu 8.10. I’ve installed it and am using it with Offline Gmail in Firefox 3.05 in Ubuntu 8.10 Intrepid Ibex (Gnome).

Setting Up 64-Bit Gears in Linux

First, go to Niels’s blog using Firefox, and click on the “gears-linux-opt-05110.xpi” (or later version) link. Firefox will then know what to do with it: the “Software Installation” dialog will soon appear offering to download the “.xpi” or “zippy” installation file.

Zippy File Download

This will turn into the “Add-Ons” dialog. Rather than complaining about compatibility, it will be asking you to restart Firefox.

Gears Installed Ready for Restart

Enabling Offline Gmail and Downloading Email

When Firefox restarts, click on the “Offline” link. Then you’ll see this dialog. Click “Next” to continue.

Firefox Restarted

It’s only takes a short while for Firefox to prepare. The next dialog you see will be a standard warning panel that the website wants to “store information on your computer using Gears.” You’ll see this on any Gears-enabled website you go to, and Gears will not be used unless you explicitly allow it.

Gears Site Warning

Then Offline Gmail will begin downloading email to your PC. This took about ten minutes on my notebook, and it downloaded 1,070 messages back to Jan 10, 2007. The “Flaky Connection” feature is also interesting. It allows Gmail to operate in a combined offline/online mode until the Internet connection improves.

Downloading Offline Mail

The panel will change to “Status Synchronized” when the download is complete. At this point, you can go off-line and continue to work in Gmail.

Offline Mail Synchronized

Next: Working Offline in Gmail, Questions About Google Gears in Linux, and our Summary

Showing page 1 of 2