Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 03-14-2007, 04:14 AM   #1
Agent Orange
LQ Newbie
Registered: Mar 2007
Posts: 2

Rep: Reputation: 0
How do I create a script launcher

Hi, I'm a newbie to linux and I want to create a desktop shortcut to launch a .sh file.
The only reason I want to do this is because the script is a deep subdirectory and it just takes ages navigating to it.
The problem I'm having when trying to launch my script from another script created on the desktop is that the terminal doesn't stay open after launching the target script.
I hope this makes sense.... its a really stupid problem to have =(

Last edited by Agent Orange; 03-14-2007 at 04:15 AM.
Old 03-14-2007, 04:26 AM   #2
LQ Guru
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
Hi and welcome to LQ. What desktop environment are you using? In KDE, when you create a launcher, there is an option to run the application in a terminal. To access the option, you have to click on advanced options when creating the launcher.
Old 03-14-2007, 04:33 AM   #3
Agent Orange
LQ Newbie
Registered: Mar 2007
Posts: 2

Original Poster
Rep: Reputation: 0
hi, sorry I forgot to mention I'm using gnome... I've tried the "Run in terminal" box but when I try to launch the script the terminal opens and then closes again, I need it to stay open to access the menu the script has.
Old 03-15-2007, 02:38 PM   #4
Registered: Oct 2003
Location: King George, VA
Distribution: RHEL/CentOS/Scientific/Fedora, LinuxMint
Posts: 370

Rep: Reputation: 44
symlink it
ln -s /the/path/to/your/script /home/yourname/name of your link


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
create Wine launcher bigalexe Linux - Newbie 2 04-29-2006 05:29 PM
create launcher in gnome innersmile Linux - General 3 06-09-2005 08:57 AM
create launcher in gnome innersmile Linux - Newbie 2 06-09-2005 07:32 AM
How do I create application launcher using bash script msgclb Programming 2 01-30-2005 06:28 AM
Gnome create launcher for binary newbutold Linux - General 5 07-21-2003 01:28 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration