I have a script that runs fine from terminal, but gets error when run from desktop shortcut. I am providing three screen shots. Thanks.
UPDATE: I found the error in the launch agent. I changed the lxterminal to mate-terminal
Looks like your desktop shortcut is trying to run the file from a different directory than is shown in the bottom screenshot:
Desktop shortcut: /usr/bin/argonone-config
Actual file location: /bin/argonone-config
Try changing your shortcut to match the path if the actual file location as indicated above.