255
submitted 1 day ago* (last edited 1 day ago) by bleistift2@sopuli.xyz to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] bleistift2@sopuli.xyz 5 points 1 day ago
[-] ogeist@lemmy.world 2 points 1 day ago* (last edited 1 day ago)

According to the Arch Wiki you need to place the .desktop file in:

~/.config/autostart/*****.desktop

You also need to add the following line to the .desktop file:

X-GNOME-Autostart-enabled=true

But that's probably the hard way to do it, I think the settings panel should also have a Startup Application tab.

[-] bleistift2@sopuli.xyz 2 points 1 day ago

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.

[-] ogeist@lemmy.world 1 points 1 day ago

surprised_pikachu_face.jpeg

Check your journald and/or make your script log it's actions.

Script > ~/script.log
[-] bleistift2@sopuli.xyz 3 points 1 day ago

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

this post was submitted on 24 Dec 2024
255 points (96.0% liked)

Programmer Humor

19821 readers
890 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