2020-08-09 13:57:51 +00:00
|
|
|
[Desktop Entry]
|
|
|
|
Name=Emacs (Client)
|
|
|
|
GenericName=Text Editor
|
|
|
|
Comment=Edit text
|
2023-08-23 09:24:18 +00:00
|
|
|
MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++;x-scheme-handler/org-protocol;
|
2022-12-19 15:51:20 +00:00
|
|
|
Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" sh %F
|
2020-08-09 13:57:51 +00:00
|
|
|
Icon=emacs
|
|
|
|
Type=Application
|
|
|
|
Terminal=false
|
|
|
|
Categories=Development;TextEditor;
|
2021-06-22 13:17:28 +00:00
|
|
|
StartupNotify=true
|
2021-06-30 13:01:46 +00:00
|
|
|
StartupWMClass=Emacs
|
2021-07-10 11:01:57 +00:00
|
|
|
Keywords=emacsclient;
|
2021-06-30 13:11:21 +00:00
|
|
|
Actions=new-window;new-instance;
|
|
|
|
|
2021-07-01 10:46:10 +00:00
|
|
|
[Desktop Action new-window]
|
2021-06-30 13:11:21 +00:00
|
|
|
Name=New Window
|
|
|
|
Exec=emacsclient --alternate-editor= --create-frame %F
|
|
|
|
|
|
|
|
[Desktop Action new-instance]
|
|
|
|
Name=New Instance
|
|
|
|
Exec=emacs %F
|