Skip to content

Instantly share code, notes, and snippets.

@jasonm23
Created April 25, 2024 02:50

Revisions

  1. jasonm23 created this gist Apr 25, 2024.
    13 changes: 13 additions & 0 deletions emacs.desktop
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    [Desktop Entry]
    Name=Emacs
    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 -a emacs -n \\"\\$@\\"; else exec emacs; fi" dummy %F
    Icon=emacs
    Type=Application
    Terminal=false
    Categories=Development;TextEditor;
    StartupNotify=true
    StartupWMClass=Emacs
    Keywords=Text;Editor;