I am trying using emacs as a daemon by enabling and starting the systemd service emacs.service. Thus launching the emacsclient via XDG desktop application using the following code:
#!/usr/bin/env xdg-open [Desktop Entry] Name=Emacs (Client) 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=/usr/bin/emacsclient -с -a "" %F Icon=emacs Type=Application Terminal=false Categories=Development;TextEditor;Utility; StartupWMClass=Emacs
However, when I click on the icon "Emacs (Client)" nothing happens. I can start emacsclient from the terminal running 'emacsclient -c -a ""' and it works without issues. I have tried both with and without the xdg-open shebang. Nothing change.
Can you please help me?
Thanks in advance for your time!