this post was submitted on 24 Dec 2024
271 points (96.6% liked)

Programmer Humor

19817 readers
1056 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
271
submitted 3 days ago* (last edited 3 days ago) by [email protected] to c/[email protected]
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 108 points 3 days ago (9 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.

[–] [email protected] 55 points 3 days ago (8 children)

And environment


DISPLAY and PATH in particular.

[–] [email protected] 32 points 3 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.

load more comments (7 replies)
load more comments (7 replies)