I am running Manjaro GNOME and I was wondering what the best way start a script on startup is. I’ve spent around an half hour trying different methods and googling only to have nothing that I tried worked so I figured I would ask the experts.
A side note is that the way I used to add startup applications on Ubuntu with the “startup applications” app doesn’t seem possible since I get an error when I try to enable the gnome extension that is responsible for that.
Have you had a look at the general structure of a .desktop file?
In /usr/share/applications are more than 100 examples …
The “Exec=…” is the full path to your script
If you have it in your $PATH then just the name will be enough.
I also used chmod +x ./startup.sh to “make it executable” as you said.
I just run everything inside of that startup script that that links to, it’s not perfect but it works. I still wish there was a GUI for Manjaro to do all this like in Ubuntu though xD