[PATCH 2/2] notmuch.desktop: update to use notmuch-emacs-mua and handle mailto

Jani Nikula jani at nikula.org
Wed Nov 2 14:10:32 PDT 2016


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.
---
 notmuch.desktop | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/notmuch.desktop b/notmuch.desktop
index f1600473bf60..6498b74c763d 100644
--- a/notmuch.desktop
+++ b/notmuch.desktop
@@ -1,7 +1,10 @@
 [Desktop Entry]
 Name=Notmuch (emacs interface)
-Exec=emacs -f notmuch
+GenericName=Email Client
+Comment=Emacs based email client
+Exec=notmuch-emacs-mua %u
 Icon=emblem-mail
+MimeType=x-scheme-handler/mailto;
 Terminal=false
 Type=Application
 Categories=Network;Email;
-- 
2.1.4



More information about the notmuch mailing list