this post was submitted on 24 Dec 2024
156 points (100.0% liked)

Programmer Humor

420 readers
33 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] 01189998819991197253@infosec.pub 67 points 3 weeks ago (1 children)

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

[–] qjkxbmwvz@startrek.website 37 points 3 weeks ago (2 children)

And environment


DISPLAY and PATH in particular.

[–] bleistift2@sopuli.xyz 20 points 3 weeks 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.xyz 15 points 3 weeks 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.