Emacs background autostart: Revision history

Jump to navigation Jump to search

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

20 November 2024

  • curprev 16:5816:58, 20 November 2024Mwroot talk contribs 679 bytes +679 Created page with "<syntaxhighlight lang="bash"> mkdir -p ~/.config/systemd/user nano ~/.config/systemd/user/emacs.service </syntaxhighlight> <pre> [Unit] Description=Emacs text editor as a daemon Documentation=info:emacs man:emacs(1) [Service] Type=forking ExecStart=/usr/bin/emacs --daemon ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)" Restart=on-failure [Install] WantedBy=default.target </pre> <syntaxhighlight lang="bash"> systemctl --user daemon-reload systemctl --user enable e..."