I would like to create a shortcut which will cd to a particular directory and then execute a .sh file, thereby opening my application.
At the moment I enter the following into the terminal:
cd /opt/intel/vtune_amplifier_xe_2013
then
source amplxe-vars.sh
and
amplxe-gui
so I create an executable file on the desktop which has:
source /opt/intel/vtune_amplifier_xe_2013/amplxe-vars.sh
amplxe-gui
and set it's properties to be executable. However, when I double click and choose run or run in terminal, it doesnt open the application. However the exact same commands work in terminal?