• bleistift2@sopuli.xyzOP
    link
    fedilink
    English
    arrow-up
    21
    ·
    3 days ago

    Knowing that the environment is finicky, I made sure to only use absolute paths to all files and executables.

    But thanks for the hint.

    • ogeist@lemmy.world
      link
      fedilink
      arrow-up
      6
      ·
      3 days ago

      What are you using as a Desktop Environment? Certain with DEs the Autostart programs need to be added in the config file.

        • ogeist@lemmy.world
          link
          fedilink
          arrow-up
          2
          ·
          edit-2
          3 days ago

          According to the Arch Wiki you need to place the .desktop file in:

          ~/.config/autostart/*****.desktop
          

          You also need to add the following line to the .desktop file:

          X-GNOME-Autostart-enabled=true
          

          But that’s probably the hard way to do it, I think the settings panel should also have a Startup Application tab.

          • bleistift2@sopuli.xyzOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            3 days ago

            Thanks for looking that up. That’s where my desktop file is located. And it has the X-GNOME-Autostart-enabled=true line. The settings panel does have a Startup Application tab, and that’s what I used. It created the .desktop file in the appropriate location.

            • ogeist@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              3 days ago

              surprised_pikachu_face.jpeg

              Check your journald and/or make your script log it’s actions.

              Script > ~/script.log
              
              • bleistift2@sopuli.xyzOP
                link
                fedilink
                English
                arrow-up
                3
                ·
                3 days ago

                Thank for your help. Upon looking at it again I noticed the one filepath that relied on my profile being loaded. Corrected that. Works now.

                Trés stupide