• 𝕸𝖔𝖘𝖘@infosec.pub
    link
    fedilink
    English
    arrow-up
    72
    ·
    29 days ago

    I’ve found out the hard way: Running the script during startup, and running it using the proper user authorization, are two different things.

      • bleistift2@sopuli.xyzOP
        link
        fedilink
        English
        arrow-up
        22
        ·
        28 days ago

        You’re right and I’m dumb. I forgot to absolute-ify one of the paths, which caused the script to be dependent on my user environment, which isn’t loaded by the desktop file.

      • bleistift2@sopuli.xyzOP
        link
        fedilink
        English
        arrow-up
        15
        ·
        29 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.

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

      Indeed, I made this meme from memory and got the extension wrong.

      I corrected the meme. Thanks for pointing out the error

  • mindbleach@sh.itjust.works
    link
    fedilink
    arrow-up
    6
    ·
    29 days ago

    “Can you mount the /media/user/Backup drive on startup?”

    “Sure.”

    “… where is it?”

    “Somewhere else.”

  • majiks@lemm.ee
    link
    fedilink
    arrow-up
    2
    ·
    28 days ago

    gnome-terminal -- sh -c "my_command" This will open that command in new terminal window at login