I just installed a commercial DTP program for Linux (Pagestream) and am having a bit of trouble with the launch script. I just don't know how to modify it to work! It launches fine as long as I'm in the directory the program is installed in. What I want to do is put an icon on my desktop that will launch it. I copied the script to my desktop and tried altering it to go the directory, but that's not working. I'm relatively new to Linux, I'm sure someone here can tell me how to fix this easily!
The script that comes with the program:
#!/bin/bash
export PGSPATH=`dirname "$0"`
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PGSPATH/SoftLogik/lib
export PATH=$PATH:$PGSPATH
$PGSPATH/PageStream5
exit 0
I changed the paths to literal, as suggested in a read.me file with the program, but that didn't help. My changes:
#!/bin/bash
export PGSPATH=`dirname "$0"`
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Pagestream5/SoftLogik/lib
export PATH=$PATH:home/Pagestream5
$PGSPATH/home/PageStream5
exit 0
Obviously I'm doing something wrong in the editing. Or should I be going about this a different way and not copying the script to the desktop? I'd also like for this program to show up in the Mint Menu. I'm using Mint 12 and MATE. Right clicking "menu" in the tool bar brings up a menu with "edit menu...", but clicking on "edit menu..." doesn't do anything.






