Integrating Gmail into your desktop
So I wrote a little bash script to handle it on my new ubuntu desktop :
#!/bin/bashBasically if you just run it it will open firefox with the gmail website. if you run it with a mailto link or a mail address it will open the gmail compose page with the appropriate address.
#This is a short script to handle mail with Gmail.
#If given without paramaters it will launch Firefox with the gmail page.
#If given with a paramater it will open with a compose page with the paramater as the 'to' part
if [ $1 != "\n" ]; then
tmp=${1#mailto://}
tmp2=${tmp#mailto:}
exec firefox "http://mail.google.com/mail/?view=cm&fs=1&to=$tmp2&su=&body=&cc=&bcc="
else
exec firefox "http:///www.gmail.com"
fi
Gnome can be configured to do this with the following steps :
- in System->Preferences->prefered applications -> internet -> mail reader. you should put the script path and afterwards %s
- run gconf-editor and then in desktop -> gnome -> url-handlers -> mailto put in the command the script and then %s and mark the enabled.
It's also nice with the deskbar-applet where you can just insert a mail address and it will automaticlly open firefox with a compose mail tab with the requested address.

okay
YIKES
sad
Itchy
mellow
determined
a bit tired