LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 03-14-2007, 05: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 05:15 AM.
 
Old 03-14-2007, 05:26 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 74
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, 05: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, 03:38 PM   #4
doublejoon
Member
 
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
 
  


Reply


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 06:29 PM
create launcher in gnome innersmile Linux - General 3 06-09-2005 09:57 AM
create launcher in gnome innersmile Linux - Newbie 2 06-09-2005 08:32 AM
How do I create application launcher using bash script msgclb Programming 2 01-30-2005 07:28 AM
Gnome create launcher for binary newbutold Linux - General 5 07-21-2003 02:28 AM


All times are GMT -5. The time now is 03:50 PM.

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