((p "Since" " " "there" " " "is" " " "no" " " "such" " " "thing" " " "as" " " "the" " " "one" " " "Linux," " " "there" " " "are" " " "too" " " "many" " " "different" " " "ways" " " "to" " " "automatically" " " "start" " " "Zettelstore.") (ul (li (p "One" " " "way" " " "is" " " "to" " " "interpret" " " "your" " " "Linux" " " "desktop" " " "system" " " "as" " " "a" " " "server" " " "and" " " "use" " " "the" " " (a (@ (href . "00001003600000")) "recipe" " " "to" " " "install" " " "Zettelstore" " " "on" " " "a" " " "server") ".") (ul (li "See" " " "below" " " "for" " " "a" " " "lighter" " " "alternative."))) (li (p "If" " " "you" " " "are" " " "using" " " "the" " " (a (@ (class . "external") (href . "https://www.gnome.org/")) "Gnome" " " "Desktop") "," " " "you" " " "could" " " "use" " " "the" " " "tool" " " (a (@ (class . "external") (href . "https://wiki.gnome.org/action/show/Apps/Tweaks")) "Tweak") " " "(formerly" " " "known" " " "as" " " (@L (@H "“") "GNOME" " " "Tweak" " " "Tool" (@H "”")) " " "or" " " "just" " " (@L (@H "“") "Tweak" " " "Tool" (@H "”")) ")." " " "It" " " "allows" " " "to" " " "specify" " " "application" " " "that" " " "should" " " "run" " " "on" " " "startup" " " "/" " " "login.")) (li (p (a (@ (class . "external") (href . "https://kde.org/")) "KDE") " " "provides" " " "a" " " "system" " " "setting" " " "to" " " (a (@ (class . "external") (href . "https://docs.kde.org/stable5/en/plasma-workspace/kcontrol/autostart/")) "autostart") " " "applications.")) (li (p (a (@ (class . "external") (href . "https://xfce.org/")) "Xfce") " " "allows" " " "to" " " "specify" " " (a (@ (class . "external") (href . "https://docs.xfce.org/xfce/xfce4-session/preferences#application_autostart")) "autostart" " " "applications") ".")) (li (p (a (@ (class . "external") (href . "https://www.lxde.org/")) "LXDE") " " "uses" " " (a (@ (class . "external") (href . "https://wiki.lxde.org/en/LXSession_Edit")) "LXSession" " " "Edit") " " "to" " " "allow" " " "users" " " "to" " " "specify" " " "autostart" " " "applications."))) (p "If" " " "you" " " "use" " " "a" " " "different" " " "desktop" " " "environment," " " "it" " " "often" " " "helps" " " "to" " " "to" " " "provide" " " "its" " " "name" " " "and" " " "the" " " "string" " " (@L (@H "“") "autostart" (@H "”")) " " "to" " " "google" " " "for" " " "it" " " "with" " " "the" " " "search" " " "engine" " " "of" " " "your" " " "choice.") (p "Yet" " " "another" " " "way" " " "is" " " "to" " " "make" " " "use" " " "of" " " "the" " " "middleware" " " "that" " " "is" " " "provided." " " "Many" " " "Linux" " " "distributions" " " "make" " " "use" " " "of" " " (a (@ (class . "external") (href . "https://systemd.io/")) "systemd") "," " " "which" " " "allows" " " "to" " " "start" " " "processes" " " "on" " " "behalf" " " "of" " " "an" " " "user." " " "On" " " "the" " " "command" " " "line," " " "adapt" " " "the" " " "following" " " "script" " " "to" " " "your" " " "own" " " "needs" " " "and" " " "execute" " " "it:") (pre (code "# mkdir -p \"$HOME/.config/systemd/user\"\n# cd \"$HOME/.config/systemd/user\"\n# cat <<__EOF__ > zettelstore.service\n[Unit]\nDescription=Zettelstore\nAfter=network.target home.mount\n\n[Service]\nExecStart=/usr/local/bin/zettelstore run -d zettel\n\n[Install]\nWantedBy=default.target\n__EOF__\n# systemctl --user daemon-reload\n# systemctl --user enable zettelstore.service\n# systemctl --user start zettelstore.service\n# systemctl --user status zettelstore.service")) (p "The" " " "last" " " "command" " " "should" " " "output" " " "some" " " "lines" " " "to" " " "indicate" " " "success."))