Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ cat ~/.local/share/applications/emacsclient.desktop
- #!/usr/bin/env xdg-open
- [Desktop Entry]
- Version=1.0
- Name=GNU Emacs 24
- GenericName=Text Editor
- Comment=View and edit files
- 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=/usr/bin/emacsclient -c -a "" %F
- Icon=/usr/share/icons/hicolor/scalable/apps/emacs-snapshot.svg
- Type=Application
- Terminal=false
- Categories=Utility;Development;TextEditor;
- StartupWMClass=Emacs
- Name[en_US]=GNU Emacs 24
- Exec=/usr/bin/emacsclient -c -a "" %F
- Exec=/usr/bin/emacsclient --create-frame --alternate-editor "" %F
- -c, --create-frame Create a new frame instead of trying to
- use the current Emacs frame
- -a EDITOR, --alternate-editor=EDITOR
- Editor to fallback to if the server is not running
- If EDITOR is the empty string, start Emacs in daemon
- mode and try connecting again
- [Desktop Entry]
- Version=1.0
- Name=GNU Emacs 25 (GUI)
- GenericName=Text Editor
- Comment=GNU Emacs is an extensible, customizable text editor - and more
- 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++;
- TryExec=/usr/bin/emacs25
- Exec=/usr/bin/emacs25 %F
- Icon=emacs25
- Type=Application
- Terminal=false
- Categories=Utility;Development;TextEditor;
- StartupWMClass=Emacs
- Keywords=Text;Editor;
Add Comment
Please, Sign In to add comment