bleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · edit-229 days agoAutostart in Linux Mintsopuli.xyzimagemessage-square21fedilinkarrow-up1187arrow-down18
arrow-up1179arrow-down1imageAutostart in Linux Mintsopuli.xyzbleistift2@sopuli.xyz to Programmer Humor@programming.devEnglish · edit-229 days agomessage-square21fedilink
minus-square𝕸𝖔𝖘𝖘@infosec.publinkfedilinkEnglisharrow-up77·29 days agoI’ve found out the hard way: Running the script during startup, and running it using the proper user authorization, are two different things.
minus-squareqjkxbmwvz@startrek.websitelinkfedilinkarrow-up43·29 days agoAnd environment — DISPLAY and PATH in particular.
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up24·29 days agoYou’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.
minus-squarebleistift2@sopuli.xyzOPlinkfedilinkEnglisharrow-up17·29 days agoKnowing that the environment is finicky, I made sure to only use absolute paths to all files and executables. But thanks for the hint.
I’ve found out the hard way: Running the script during startup, and running it using the proper user authorization, are two different things.
And environment —
DISPLAY
andPATH
in particular.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.
Knowing that the environment is finicky, I made sure to only use absolute paths to all files and executables.
But thanks for the hint.