GMail Contacts Plugin

Personal tools
From GNOME Do Wiki
(Redirected from GMailContacts Plugin)
Jump to: navigation, search

You can add, remove, or configure this plugin in the latest versions of Do by clicking the arrow at the upper right corner of Do's window and selecting Preferences.

Contents

GMail Contacts Plugin

Description

The GMail Contacts plugin for Do indexes your GMail contacts for easy access. To get the most out of this plugin, you may want to set GMail as your default email client.

Usage

Be sure to setup your account
Be sure to setup your account

Setup: Open Do's preferences window by clicking the upside-down triangle. Navigate to the Plugins tab, select GMail Contacts, and click Configure. Enter your username (including @gmail.com) and your password, after your account validates, you may close the window, and you are now ready to use GMail Contacts plugin

Emailing a contact: Simply type your contacts name and he, she, or they will appear in the pane with Email as the action. Hit enter to have your default email client open a new message to your contact. If you'd like to view more information about your contact, type his or her name, and when they're selected hit the right arrow key. This will reveal alternate email addresses, phone numbers, and postal addresses.

Set Gmail as Preferred E-mail Client

Gnome-do uses the system wide preferred email client (evolution or kmail) and not gmail. This can be fix with a perl script. Under System>Preferences>Preferred Applications set the mail option to custom. Place this command in the space provided

Please be aware that this is one line, but has been broken up in the interest of readability.

To load only the compose editor

 perl -MURI::Escape -e '$to= shift;if ($to =~ /^([^\?]+)\?(.*)$/){$to=$1;$args="&".$2;$args=~s/\&subject=/&su=/};$to =~
 s/^mailto://i;exec("firefox","https://mail.google.com/mail/?view=cm&fs=1&tf=1&cmid=22&to=".URI::Escape::uri_escape($to).$args);' %s

To load full gmail with the compose editor (old version of gmail - without labs)

perl -MURI::Escape -e '$to= shift; if ($to =~ /^([^\?]+)\?(.*)$/){$to=$1;$args="&".$2;$args=~s/\&subject=/&su=/};$to =~ 
 s/^mailto://i; exec("firefox","https://mail.google.com/mail/?ui=1&view=cm&to=".URI::Escape::uri_escape($to).$args);' %s

To load full gmail with the compose editor (new version of gmail - including labs)

perl -MURI::Escape -e '$to= shift; if ($to =~ /^([^\?]+)\?(.*)$/){$to=$1;$args="&".$2;$args=~s/\&subject=/&su=/};$to =~ 
s/^mailto://i; exec("firefox","https://mail.google.com/mail/?ui=2&fs=1&view=cm&to=".URI::Escape::uri_escape($to).$args);' %s

Now when an e-mail link is pressed firefox will open with a gmail compose dialog.

NOTE This will make gmail the default handler for any and all mailto links.

Thanks to Andrew Cheong on HOWTOGEEK.

Set Google Apps For Your Domain mail as Preferred E-mail Client

If you use mail provided by Google Apps For Your Domain, you can still use the above code snippets: just replace mail.google.com/mail/ with mail.google.com/a/yourdomain.com - for example

To load full Google Apps mail with the compose editor

perl -MURI::Escape -e '$to= shift; if ($to =~ /^([^\?]+)\?(.*)$/){$to=$1;$args="&".$2;$args=~s/\&subject=/&su=/};$to =~ 
s/^mailto://i; exec("firefox","https://mail.google.com/a/yourdomain.com/?ui=2&fs=1&view=cm&to=".URI::Escape::uri_escape($to).$args);' %s

Author

This plugin was originally created by Alex Launi.


Do things as quickly as possible (but no quicker) with your files, applications, contacts and more!

© GNOME Do Developers. All rights reversed. Contact us.