|
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 |
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.
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.
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.
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
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
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.
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
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
This plugin was originally created by Alex Launi.
© GNOME Do Developers. All rights reversed. Contact us.