Sunday, June 13, 2010

Integrate thunderbird into indicator applet

After installing back the gnome indicator applet, I want to have an option of composing messages and contacts book. I tried the method used in my old post, it doesn't work. I tried the following tedious way.

Copy file:/usr/share/applications/thunderbird.desktop to /usr/share/applications/thunderbird-mailto.desktop
Copy file:/usr/share/applications/thunderbird.desktop to /usr/share/applications/thunderbird-contact.desktop

Compose new message
Edit the file:/usr/share/applications/thunderbird-mailto.desktop
change the line:Name=Thunderbird... to Name=Compose New Message
Exec=thunderbird %u to Exec=thunderbird %u mailto:
create a file in /usr/share/indicator/messages/thunder-mailto, and add the line:
/usr/share/applications/thunderbird-mailto.desktop

Address Book
Edit the file:/usr/share/applications/thunderbird-contact.desktop
change the line:Name=Thunderbird... to Name=Address Book
Exec=thunderbird %u to Exec=thunderbird %u -addressbook
create a file in /usr/share/indicator/messages/thunder-contact, and add the line:
/usr/share/applications/thunderbird-contact.desktop

update: The address book method can't work.