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 f1600473bf60..0d9af2a4cf39 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.1.4 _______________________________________________ notmuch mailing list notmuch@notmuchmail.org https://notmuchmail.org/mailman/listinfo/notmuch