I have a program (ML Donkey) that needs to be run from a specific directory where it reads (or creates if they are not there) some configuration files.
For that reason, I cannot add a regular Launcher to my GNOME bar. So I wrote this script:
Because I want the terminal window to close, I didn't set is as executable but rather execute it by "source mllauncher.sh" In this way, I added a Launcher in my GNOME bar with the command "source mllauncher.sh" (Run in Terminal selected). But it doesn't work.
The terminal window opens and closes and MLDonkey never launches. On the other hand, if I run the SAME command I wrote in the GNOME bar in a terminal, it closes itself and launches the program, which is what I expect the script to do.,
What am I doing wrong? Thanks a LOT for your freedback.