mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-05 11:45:45 +00:00
38aa2074f8
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
20 lines
578 B
Desktop File
20 lines
578 B
Desktop File
[Desktop Entry]
|
|
Categories=Network;Email;
|
|
Comment=GNU Emacs is an extensible, customizable text editor - and more
|
|
Exec=sh -c 'exec emacsclient --alternate-editor= --display="$DISPLAY" --eval "(message-mailto \"%u\")"'
|
|
Icon=emacs
|
|
Name=Emacs (Mail, Client)
|
|
MimeType=x-scheme-handler/mailto;
|
|
NoDisplay=true
|
|
Terminal=false
|
|
Type=Application
|
|
Actions=new-window;new-instance;
|
|
|
|
[Desktop Action new-window]
|
|
Name=New Window
|
|
Exec=emacsclient --alternate-editor= --create-frame --eval '(message-mailto "%u")'
|
|
|
|
[Desktop Action new-instance]
|
|
Name=New Instance
|
|
Exec=emacs -f message-mailto %u
|