diff options
Diffstat (limited to 'etc/emacsclient.desktop')
-rw-r--r-- | etc/emacsclient.desktop | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/emacsclient.desktop b/etc/emacsclient.desktop index cd45463093b..1ecdecffafd 100644 --- a/etc/emacsclient.desktop +++ b/etc/emacsclient.desktop @@ -3,14 +3,14 @@ Name=Emacs (Client) GenericName=Text Editor Comment=Edit text 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++; -Exec=sh -c 'if [ -n "$*" ]; then exec emacsclient --alternate-editor= --display="$DISPLAY" "$@"; else exec emacsclient --alternate-editor= --create-frame; fi' placeholder %F +Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" placeholder %F Icon=emacs Type=Application Terminal=false Categories=Development;TextEditor; StartupNotify=true StartupWMClass=Emacs -Keywords=Text;Editor; +Keywords=emacsclient; Actions=new-window;new-instance; [Desktop Action new-window] |