mirror of
https://github.com/protesilaos/dotfiles.git
synced 2026-09-10 07:16:20 -04:00
emacs: update the path to the emacslient binary in the .desktop entry
This commit is contained in:
parent
91135aac55
commit
ab15540c61
|
|
@ -3,7 +3,7 @@ Name=Prot Emacsclient
|
|||
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++;x-scheme-handler/org-protocol;
|
||||
Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec /usr/bin/emacsclient --alternate-editor="emacs" --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec /usr/bin/emacsclient --alternate-editor="emacs" --create-frame; fi" sh %F
|
||||
Exec=sh -c "if [ -n \\"\\$*\\" ]; then exec /usr/local/bin/emacsclient --alternate-editor="emacs" --display=\\"\\$DISPLAY\\" \\"\\$@\\"; else exec /usr/local/bin/emacsclient --alternate-editor="emacs" --create-frame; fi" sh %F
|
||||
Icon=emacs
|
||||
Type=Application
|
||||
Terminal=false
|
||||
|
|
@ -14,7 +14,7 @@ Actions=new-window;new-instance;
|
|||
|
||||
[Desktop Action new-window]
|
||||
Name=New Window
|
||||
Exec=/usr/bin/emacsclient --alternate-editor="emacs" --create-frame %F
|
||||
Exec=/usr/local/bin/emacsclient --alternate-editor="emacs" --create-frame %F
|
||||
|
||||
[Desktop Action new-instance]
|
||||
Name=New Instance
|
||||
|
|
|
|||
Loading…
Reference in a new issue