On Tue, 2002-06-04 at 16:49, Michael Adams wrote:
> How does one get a terminal (Konsole window) to open AND start running a 
> script in one action from an icon?
> 
> I can run a script from an icon or i can open a Konsole window from an icon. 
> But i can't get the window to load and run the script from the icon. Heres my 
> sample script.
> 
> -------
> #!/bin/bash
> 
> #Start the client as a background task
> /usr/games/civclient &
> sleep 1
> 
> #Start the server
> /usr/games/civserver --file m.sav.gz
> -------
> 
> This server needs to be run in an interactive terminal to start it. Of course 
> it's for work you understand ;-)
> 
> -- 
> Michael
> 
> ----
Michael,

When you create the icon for your script, (assuming your are using KDE)
click on the Execute tab, and check the box called "Run in terminal". 
That should do it.

HTH
Brian


Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to