diff options
author | Carlos Pita <carlosjosepita@gmail.com> | 2020-08-09 15:57:51 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-08-09 15:57:51 +0200 |
commit | 1a845a672dc73c8e98e6cb9bb734616e168e60ba (patch) | |
tree | 4ba3d685a65661e85b4a8340d917fdcd7754323f /etc/emacs.service | |
parent | 8e82baf5a730ff542118ddba5b76afdc1db643f6 (diff) | |
download | emacs-1a845a672dc73c8e98e6cb9bb734616e168e60ba.tar.gz emacs-1a845a672dc73c8e98e6cb9bb734616e168e60ba.tar.bz2 emacs-1a845a672dc73c8e98e6cb9bb734616e168e60ba.zip |
Improve client/daemon xdg/systemd experience
* Makefile.in: Add emacsclient.desktop generation.
* etc/emacsclient.desktop: Add file, use emacsd as StartupWMClass.
* etc/emacs.service: Run with name emacsd (bug#37847).
Diffstat (limited to 'etc/emacs.service')
-rw-r--r-- | etc/emacs.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/emacs.service b/etc/emacs.service index c99c6779f58..0dc2418269e 100644 --- a/etc/emacs.service +++ b/etc/emacs.service @@ -8,7 +8,7 @@ Documentation=info:emacs man:emacs(1) https://gnu.org/software/emacs/ [Service] Type=notify -ExecStart=emacs --fg-daemon +ExecStart=@emacs emacsd --fg-daemon ExecStop=emacsclient --eval "(kill-emacs)" # The location of the SSH auth socket varies by distribution, and some # set it from PAM, so don't override by default. |