• RoyaltyInTraining@lemmy.world
    link
    fedilink
    arrow-up
    59
    arrow-down
    2
    ·
    3 months ago

    Weird that it doesn’t work. The usual way to run scripts on startup is through systemd units though. That has the added benefits of automatically logging all output and letting you control it through commands like systemctl enable <unit name>. It’s a really neat system, and I highly recommend learning it if you see yourself doing this kind of automation more often.

    • MonkderVierte@lemmy.ml
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      3 months ago

      The usual way to run scripts on startup is through systemd units though.

      Even worse than via some utility of your window manager

    • ulterno
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I do that when I want it running with root privileges.
      In case of user privileges though, the autostart is a better idea.

      • dbx12
        link
        fedilink
        arrow-up
        2
        ·
        3 months ago

        You was m can use user units too if you want them scoped to your user.

        • ulterno
          link
          fedilink
          English
          arrow-up
          0
          ·
          3 months ago

          Yeah, I forgot to tell the full thing.
          In case of User Privs and GUI. That is much easier to do by just adding it to Autostart.