From 38aa2074f84b4aec5ccc3a9b250c0dcee18157f8 Mon Sep 17 00:00:00 2001 From: Peter Oliver Date: Wed, 9 Jun 2021 12:58:39 +0100 Subject: [PATCH] Hide emacs-mail.desktop, emacsclient-mail.desktop from menus MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit These are intended for use as mailto: URL handlers, not for launching directly, so we can reduce clutter by hiding them from a desktop environment’s menus. * etc/emacs-mail.desktop, etc/emacsclient-mail.desktop: NoDisplay=true --- etc/emacs-mail.desktop | 2 +- etc/emacsclient-mail.desktop | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/emacs-mail.desktop b/etc/emacs-mail.desktop index 3a96b9ec8c7..34680335848 100644 --- a/etc/emacs-mail.desktop +++ b/etc/emacs-mail.desktop @@ -5,6 +5,6 @@ Exec=emacs -f message-mailto %u Icon=emacs Name=Emacs (Mail) MimeType=x-scheme-handler/mailto; -NoDisplay=false +NoDisplay=true Terminal=false Type=Application diff --git a/etc/emacsclient-mail.desktop b/etc/emacsclient-mail.desktop index 4df79ed3002..8d51dcdd2fc 100644 --- a/etc/emacsclient-mail.desktop +++ b/etc/emacsclient-mail.desktop @@ -5,7 +5,7 @@ Exec=sh -c 'exec emacsclient --alternate-editor= --display="$DISPLAY" --eval "(m Icon=emacs Name=Emacs (Mail, Client) MimeType=x-scheme-handler/mailto; -NoDisplay=false +NoDisplay=true Terminal=false Type=Application Actions=new-window;new-instance; -- 2.39.2