I’m running UB 22.04. I added my Bash script to be auto-started via the “Budgie Desktop Settings” / “Autostart” GUI and it mostly runs fine (for some reason, two script processes are started instead of the expected one). The main problem is, if I log out of the desktop and log back in, the script gets re-run so that the number of processes now running is doubled. Should my script be auto-started by some other means, such as is described in the article linked here?
Incidentally, the script is running netcat, listening on a port… TIA