LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 03-27-2006, 12:30 PM   #1
Steve Riley
Member
 
Registered: Jan 2005
Location: Dallas
Distribution: Suse
Posts: 94

Rep: Reputation: 15
launcher button and terminal window


I have a small script that is started by clicking on a launcher button on the desktop.

In the script I echo a few lines. When I created the launcher I clicked "Run in terminal". Great - but the terminal window closes as soon as the script finishes.

How can I get the terminal window to stay open?

Thanks,

SR
 
Old 03-28-2006, 05:14 AM   #2
zeitounator
Member
 
Registered: Aug 2003
Location: Montpellier, France, Europe, World, Solar System
Distribution: Debian Sarge, Fedora core 5 (i386 and x86_64)
Posts: 262

Rep: Reputation: 30
A quick and dirty solution: at the end of your script, add
Code:
read -p "Press enter to exit..."
 
  


Reply



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
how to make a su terminal launcher? logosys Linux - General 2 10-24-2005 08:04 PM
Window Maker: making a launcher hamish Linux - Software 1 03-24-2005 05:57 AM
open new firefox window from launcher (using tabbrowser extensions) captain-cat Linux - Software 1 06-27-2004 08:02 AM
gnome-terminal launcher script Mur Linux - Software 0 04-26-2004 10:43 AM
Is there a way to get a 'new terminal' button on the panel? Tyir Linux - General 4 11-02-2003 12:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 11:00 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
Open Source Consulting | Domain Registration