<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>ozz314 &#187; Google Apps</title>
	<atom:link href="http://ozz314.wordpress.com/tag/google-apps/feed/" rel="self" type="application/rss+xml" />
	<link>http://ozz314.wordpress.com</link>
	<description></description>
	<lastBuildDate>Sun, 08 Jun 2008 06:50:13 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='ozz314.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/20231e50c1a561465e7a5ad5b447b6f5?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>ozz314 &#187; Google Apps</title>
		<link>http://ozz314.wordpress.com</link>
	</image>
			<item>
		<title>Google Apps as Default Email Client in Ubuntu</title>
		<link>http://ozz314.wordpress.com/2008/05/14/google-apps-as-default-email-client-in-ubuntu/</link>
		<comments>http://ozz314.wordpress.com/2008/05/14/google-apps-as-default-email-client-in-ubuntu/#comments</comments>
		<pubDate>Wed, 14 May 2008 07:10:45 +0000</pubDate>
		<dc:creator>ozz314</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computing]]></category>
		<category><![CDATA[Email]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Google Apps]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://ozz314.wordpress.com/?p=36</guid>
		<description><![CDATA[
I have a vanilla install of Ubuntu Hardy Heron.  In Firefox, when I click someone&#8217;s email that uses the mailto link, it opens up the Evolution email client.  This is the suck if you don&#8217;t use a desktop email client which more and more smart people are doing these days.
I use an email [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ozz314.wordpress.com&blog=3526840&post=36&subd=ozz314&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><a href="http://flickr.com/photos/timothymorgan/75699271/"><img src="http://farm1.static.flickr.com/36/75699271_cf18da72a2_s_d.jpg" alt="Email" /></a></p>
<p>I have a vanilla install of <a href="http://en.wikipedia.org/wiki/Ubuntu_(operating_system)">Ubuntu Hardy Heron</a>.  In <a href="http://en.wikipedia.org/wiki/Mozilla_Firefox">Firefox</a>, when I click someone&#8217;s email that uses the mailto link, it opens up the <a href="http://en.wikipedia.org/wiki/Evolution_(software)">Evolution</a> email client.  This is the suck if you don&#8217;t use a desktop email client which more and more smart people are doing these days.</p>
<p>I use an email with my own domain, hosted on <a href="http://en.wikipedia.org/wiki/Google_Apps">Google Apps</a> for all my email needs.  With a little inspiration from <a href="http://www.howtogeek.com/howto/ubuntu/set-gmail-as-default-mail-client-in-ubuntu/">this page</a>, I got Google Apps to be the default email client instead.  Here&#8217;s how&#8230;</p>
<p>- Fire up your favorite text editor<br />
- Copy and paste the following code:</p>
<p><code>#!/bin/sh</code></p>
<p><code>firefox "https://mail.google.com/a/yourdomain.org/mail?view=cm&amp;tf=0&amp;to=`echo $1 | sed 's/mailto://'`"</code></p>
<p>Replace &#8220;yourdomain.org&#8221; with your hosted Google Apps domain</p>
<p>- Save the file with the &#8220;.sh&#8221; extension (example: &#8220;google_apps_mailto.sh&#8221;)<br />
- Use a terminal to make the file executable with the following command:<br />
<code><br />
$ chmod u+x path_to_file<br />
</code></p>
<p>The path_to_file is the location of the script. (example: &#8220;~/google_apps_mailto.sh&#8221;)</p>
<p>- In Firefox, go to Edit &gt; Preferences &gt; Applications &gt; mailto &gt; Use other&#8230;<br />
- Browse to and select the file you just created earlier</p>
<p>Woohoo!  Now when you click a mailto link, it should compose a new email in the browser using Google Apps.  Test it out by emailing me if it worked <a href="mailto:info@ozz314.org">info@ozz314.org</a>.</p>
<p><strong>Update:</strong><br />
Thanks to <a href="http://ozz314.wordpress.com/2008/05/14/google-apps-as-default-email-client-in-ubuntu/#comment-3">this comment</a>, there&#8217;s a more elegant way to do this.</p>
<ol>
<li>In Firefox&#8217;s address bar, copy and paste the following and hit enter:<br />
<code>about:config</code></li>
<li>Click &#8220;I&#8217;ll be careful, I promise!&#8221; when the warning appears</li>
<li>In the &#8220;Filter:&#8221; field, copy and paste:<br />
<code>gecko.handlerService.allowRegisterFromDifferentHost</code></li>
<li>Double click the found result to change the boolean value from false to true</li>
<li>In the address bar, copy and paste the following:<br />
<code>javascript:window.navigator.registerProtocolHandler("mailto","http://mail.google.com/a/yourdomain.org/mail/?extsrc=mailto&amp;url=%s","Google Apps")</code></li>
<li>Replace &#8220;yourdomain.org&#8221; with your own Google Apps hosted domain and hit enter
<li>Click &#8220;Add Application&#8221; when it asks you a question
<li>go to Edit &gt; Preferences &gt; Applications &gt; mailto</li>
<li>Choose &#8220;Use Google Apps&#8221;</li>
</ol>
<p>That&#8217;s it!  Test it out by clicking my email, <a href="mailto:info@ozz314.org">info@ozz314.org</a>.</p>
<p>I wish Firefox had it as a default option instead of the craptastic Yahoo! Mail.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ozz314.wordpress.com/36/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ozz314.wordpress.com/36/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ozz314.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ozz314.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ozz314.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ozz314.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ozz314.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ozz314.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ozz314.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ozz314.wordpress.com/36/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ozz314.wordpress.com/36/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ozz314.wordpress.com/36/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ozz314.wordpress.com&blog=3526840&post=36&subd=ozz314&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://ozz314.wordpress.com/2008/05/14/google-apps-as-default-email-client-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/635c8e0aa5f3bae9233bbef40eba3a77?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">ozz314</media:title>
		</media:content>

		<media:content url="http://farm1.static.flickr.com/36/75699271_cf18da72a2_s_d.jpg" medium="image">
			<media:title type="html">Email</media:title>
		</media:content>
	</item>
	</channel>
</rss>