In Ubuntu, Matlab should be started with the following command: setsid matlab -desktop
Accordingly, I've created such a bash script:
#!/bin/bash
setsid matlab -desktop
and saved it as /usr/bin/launchMatlab.
Now, if I press Alt+F2, type launchMatlab and click Run or press Enter, Matlab is started. However, Gnome Do, though finds the script, only allows to open, reveal, open terminal and copy to clipboard. Execution of the script as a program is allowed.
How to make Do launch the script?