From 50f80e9e06d7a7c2d4fc405f2c6cb3622cd3148a Mon Sep 17 00:00:00 2001 From: Lucas Hoffmann Date: Sun, 30 Sep 2018 17:20:24 +0200 Subject: Use different desktop file for menus and mailto: links The handling of mailto links need not be presented in desktop menus and the entry in desktop menus on the other hand should not use the compose subcommand but the normal initial_command. Documentation of the Keys is at https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-1.0.html#recognized-keys --- extra/alot-mailto.desktop | 10 ++++++++++ extra/alot.desktop | 3 +-- 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 extra/alot-mailto.desktop (limited to 'extra') diff --git a/extra/alot-mailto.desktop b/extra/alot-mailto.desktop new file mode 100644 index 00000000..ca62c554 --- /dev/null +++ b/extra/alot-mailto.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=alot +Categories=Office;Email;ConsoleOnly; +GenericName=Email client +Comment=Terminal MUA using notmuch mail +Exec=alot compose %u +Terminal=true +Type=Application +MimeType=x-scheme-handler/mailto; +NoDisplay=true diff --git a/extra/alot.desktop b/extra/alot.desktop index b94e7b9c..b7c445a3 100644 --- a/extra/alot.desktop +++ b/extra/alot.desktop @@ -3,7 +3,6 @@ Name=alot Categories=Office;Email;ConsoleOnly; GenericName=Email client Comment=Terminal MUA using notmuch mail -Exec=alot compose %u +Exec=alot Terminal=true Type=Application -MimeType=x-scheme-handler/mailto; -- cgit v1.2.3