10.10: shell script

Asked by peter

Hi

I have the following shell script:

echo 'firestarter'
echo '-----------'
echo ' '
sudo firestarter
read i

I created a launcher and I get the firestarter. But if I close the terminal also the firestarter will gone.

What do I have to do, that the firestarter lasts on the desktop? Thanks in advance.
Peter

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu bash Edit question
Assignee:
No assignee Edit question
Solved by:
peter
Solved:
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

I think the command you need in your script is something like

...
nohup gksudo firestarter &
...

But why don't you just put firestarter directly in the launcher without a script?

Revision history for this message
peter (peter-neuweiler) said :
#2

Directly in the launcher nothings happens. It doesn't open.
Peter

Revision history for this message
peter (peter-neuweiler) said :
#3

solved