mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-15 09:47:20 +00:00
aea7823a7e
This is necessary to get the Gnome desktop to show “Emacs (Client)” when the user searches for “emacsclient”. * etc/emacsclient.desktop, emacsclient-mail.desktop (Keywords): Add “emacsclient”.
21 lines
630 B
Desktop File
21 lines
630 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
|
|
Keywords=emacsclient;
|
|
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
|