this post was submitted on 24 Dec 2024
248 points (97.0% liked)
Programmer Humor
19821 readers
848 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
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Knowing that the environment is finicky, I made sure to only use absolute paths to all files and executables.
But thanks for the hint.
What are you using as a Desktop Environment? Certain with DEs the Autostart programs need to be added in the config file.
Cinnamon.
Which config file?
According to the Arch Wiki you need to place the .desktop file in:
You also need to add the following line to the .desktop file:
But that's probably the hard way to do it, I think the settings panel should also have a Startup Application tab.
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.surprised_pikachu_face.jpeg
Check your journald and/or make your script log it's actions.
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