aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-02-25 11:25:40 +0200
committerDavid Bremner <david@tethera.net>2017-03-01 19:33:52 -0400
commit4f2a7993a54dacbe5699f3d6195e13de2c1af2b5 (patch)
treea68000024878685ba83e40bf4d04ca7ccdf5ed4c
parent97f3d55ad9d7b897b22ea14ddf6a5dbd79277929 (diff)
emacs/desktop: update to use notmuch-emacs-mua and handle mailto
With the mailto: handling in notmuch-emacs-mua, we can update the desktop file to advertize we can be set as the default application to handle email. While at it, add GenericName and Comment to be more informative. With --hello, notmuch-emacs-mua will run (notmuch) if mailto: url is not given.
-rw-r--r--emacs/notmuch-emacs-mua.desktop5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs/notmuch-emacs-mua.desktop b/emacs/notmuch-emacs-mua.desktop
index f1600473..0d9af2a4 100644
--- a/emacs/notmuch-emacs-mua.desktop
+++ b/emacs/notmuch-emacs-mua.desktop
@@ -1,6 +1,9 @@
[Desktop Entry]
Name=Notmuch (emacs interface)
-Exec=emacs -f notmuch
+GenericName=Email Client
+Comment=Emacs based email client
+Exec=notmuch-emacs-mua --hello %u
+MimeType=x-scheme-handler/mailto;
Icon=emblem-mail
Terminal=false
Type=Application