[Desktop Entry] Type=Application Name=Emacs GenericName=Emacs Editor Icon=emacs Comment=Open an emacs frame through the running daemon Exec={{.workspace_bin}} run -privileged emacs %F StartupWMClass=Emacs Version=1.0 Terminal=false Categories=Development;TextEditor;IDE;WebDevelopment;GTK; Keywords=Text;Editor;IDE;scratch; 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++;inode/directory; Actions=NewWindow;NewFile;NewInstance [Desktop Action NewWindow] Name=New Window Exec={{.workspace_bin}} run emacsclient -c %F [Desktop Action NewInstance] Name=New Instance Exec={{.workspace_bin}} run -privileged emacs %F [Desktop Action NewFile] Name=New File Exec={{.workspace_bin}} run emacsclient -c -e '(switch-to-buffer (generate-new-buffer "new"))' %F