Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

Creating Launcher in Jaunty

  • 18-05-2009 2: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