Closed alexmurray closed 1 year ago
Since snapd rewrites the emacsclient.desktop file instead of the usual Exec line of:
Exec
Exec=sh -c "if [ -n \\" \\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" placeholder %F
This becomes:
Exec=emacs.emacsclient -c "if [ -n \\" \\$*\\" ]; then exec emacsclient --alternate-editor= --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec emacsclient --alternate-editor= --create-frame; fi" placeholder %F
As such emacs doesn't execute the shell commands properly and emacsclient spawns a new frame with this shell code as it's title.
Since snapd rewrites the emacsclient.desktop file instead of the usual
Exec
line of:This becomes:
As such emacs doesn't execute the shell commands properly and emacsclient spawns a new frame with this shell code as it's title.