I wrote a program in Go and I am trying to add a launcher to the program in my taskbar. I can start the program without a problem from the terminal, regardless of if I am in the actual folder or in any other folder. If I instead try to start it using a Cinnamon launcher, the program does not start. I have tried
Launch in terminal but that does not help.
There are no obvious clues in journalctl or xsession-errors. I am sure this is simple thing that I have still not understood about Linux, and I know that I have had this problem before, but I don’t see why. Any ideas?