Comment 6 for bug 754321

Revision history for this message
Jérôme Poulin (jeromepoulin) wrote :

Don't forget to add the MimeType.

Example file, opens GMail but ignores the mailto: content :-/

[Desktop Entry]
Encoding=UTF-8
Name=Desktop Webmail
GenericName=Email
Comment=Compose email in browser
Comment[de]=EMail in Browser schreiben
Exec=desktop-webmail %s
Icon=desktop-webmail
Terminal=false
Type=Application
StartupNotify=true
Categories=Application;Network;Email
MimeType=x-scheme-handler/mailto
X-Ayatana-Desktop-Shortcuts=Compose

[Compose Shortcut Group]
Name=Compose New Message
Exec=desktop-webmail mailto:
TargetEnvironment=Messaging Menu;Unity