Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Creating Launcher in Jaunty

  • 18-05-2009 03:10PM
    #1
    Registered Users, Registered Users 2 Posts: 279 ✭✭


    Has anyone had any trouble creating launchers in ubuntu 9.04?

    I'm trying to create a launcher for an application located in /home/username/JSMS/JSMS.sh

    If I navigate to the folder and run the script file ( ./JSMS.sh or sh JSMS.sh) it works fine. But if i try and do it using the full path in the terminal/ the run gui thing (alt+F2) or using a launcher it doesnt work.


    Anyone have any ideas cus I'm stumped?


Comments

  • Registered Users, Registered Users 2 Posts: 3,579 ✭✭✭BopNiblets


    Ah yes, I had this problem a while ago but got it workin thuswise:
    sudo gedit /home/username/JSMS/JSMS.sh

    then add in the line
    cd /home/username/JSMS
    before the java line, and save, then your launcher should work.

    The launcher needs to go to the right directory before running the right thing. ;)


  • Registered Users, Registered Users 2 Posts: 279 ✭✭velocirafter


    cheers, I'll give it a shot when I get home this evening


Advertisement