Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

Creating Launcher in Jaunty

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