I have emacs daemon launching on startup and I have no idea where it is being launched. I've checked systemd and I don't have a service neither in /etc/systemd/system nor in /usr/lib/systemd/system. I've also checked ~/.config/autostart, .xinitrc, and .xprofile without success, nowhere the daemon is being called. I have also grepped /usr and /etc.
How can I find the script that launches the daemon. Or more general: How can I find all user scripts that are launched on startup?
Edit: I'm running Arch Linux with Gnome.
/etc/init. – itsok-dontworry Mar 07 '16 at 15:19