Howto: Default the XO’s GMail Activity to Basic HTML

This howto is a two-fer: You can use this to modify the GMail Activity installable in Sugar, and you can bookmark this to use as a regular link to GMail on other machines too, whether they’re using Ubuntu or Arch, Firefox or Kazehakase.

For me, and probably for a lot of people using older machines and the GMail Web interface, the super-smooth layout with all the fancy effects is painfully slow. On the other hand, the pure HTML version is nice and fast — and with the exception of a few minor points, you get all the fundamentals with none of the drag. It’s like a low-fat version of GMail.

The downside of that is, you still have to load that slow interface the first time you log in, before you can jump to the HTML version.

Or not: Using this link takes you straight to the HTML version, immediately after logging in

https://mail.google.com/mail/h/

Bookmark that through your browser, and opening it when you log in will avoid the wait while the advanced UI loads.

In Sugar, with the GMail Activity installed from the prepackaged Activity that comes on the XO, you can get the same behavior by modifying one line of one file.

Start a Terminal Activity, and change directory to Activities/Gmail.activity/, like this:

cd Activities/Gmail.activity/

Now edit the gmailactivity.py file with nano.

nano -w gmailactivity.py

Scroll down until you find the _GMAIL_PATH variable, which is preset to ‘http://gmail.com’. Edit that to the link I gave you above, so the whole line looks like this.

_GMAIL_PATH = 'https://mail.google.com/mail/h/'

Now press CTRL+X to close nano, save the file and stop the Terminal Activity. When you press the GMail icon in the Activity Bar, you should go straight to the same login page, but your inbox and the entire interface will be the Basic HTML version.

As one last note, this only works the first time you open that link. If you log out and then log back in to the same account or another one, you’ll go back to the advanced interface. That’s because GMail’s logout link takes you back to the top login page, not to the nested, HTML login page.

So if you have more than one GMail account, like me, you’ll probably want to close each Activity between logins, and start fresh ones each time.

About these ads

1 Response to “Howto: Default the XO’s GMail Activity to Basic HTML”


  1. 1 Jeff Flowers 2008/01/23 at 12:06 AM

    This also works for Google Apps For Domain. Here is how it looks:

    http://mail.google.com/a/example.com/h/

    Thanks for the tip!!


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s




Welcome!



Visit the Wiki!

Some recent desktops


May 6, 2011
Musca 0.9.24 on Crux Linux
150Mhz Pentium 96Mb 8Gb CF
 


May 14, 2011
IceWM 1.2.37 and Arch Linux
L2300 core duo 3Gb 320Gb

Some recent games


Apr. 21, 2011
Oolite on Xubuntu 11.04
L2300 core duo 3Gb 320Gb

Enter your email address to subscribe to this blog and receive notifications of new posts.

Join 405 other followers

License

This work is licensed under the GNU Free Documentation License. Please see the About page for details.

Blog Stats

  • 3,958,625 hits

Archives


Follow

Get every new post delivered to your Inbox.

Join 405 other followers

%d bloggers like this: