From 4f2a7993a54dacbe5699f3d6195e13de2c1af2b5 Mon Sep 17 00:00:00 2001 From: Jani Nikula Date: Sat, 25 Feb 2017 11:25:40 +0200 Subject: [PATCH] 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. --- emacs/notmuch-emacs-mua.desktop | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- 2.43.0