From: yawnmoth on
If, in Ubuntu, you open a new terminal, do "firefox &" and then close
the terminal Firefox will close, as well. Is there a way to make it
so Firefox would stay open even if the Terminal from which it opened
was closed?
From: unruh on
On 2010-03-16, yawnmoth <terra1024(a)yahoo.com> wrote:
> If, in Ubuntu, you open a new terminal, do "firefox &" and then close
> the terminal Firefox will close, as well. Is there a way to make it
> so Firefox would stay open even if the Terminal from which it opened
> was closed?

use screen

screen
firefox
^Ad

To reattach it
screen -r

man screen
From: Bit Twister on
On Mon, 15 Mar 2010 22:50:30 -0700 (PDT), yawnmoth wrote:
> If, in Ubuntu, you open a new terminal, do "firefox &" and then close
> the terminal Firefox will close, as well. Is there a way to make it
> so Firefox would stay open even if the Terminal from which it opened
> was closed?

Have you tried nohup firefox &
From: Sidney Lambe on
On comp.os.linux.misc, yawnmoth <terra1024(a)yahoo.com> wrote:
> If, in Ubuntu, you open a new terminal, do "firefox &" and then close
> the terminal Firefox will close, as well. Is there a way to make it
> so Firefox would stay open even if the Terminal from which it opened
> was closed?

Screen, as mentioned on this thread, is a wonderful tool. It's
my regular window manager. (Yes, I can run any X app I want
to, though _in_ screen. I control X from screen.)

But it's a big app and very complex and overkill for what you
want to do.

Here's a tiny utility that does just what you want and no more:

http://sourceforge.net/projects/dtach/


Sid


From: Sidney Lambe on
On comp.os.linux.misc, Sidney Lambe <sidneylambe(a)nospam.invalid> wrote:
> On comp.os.linux.misc, yawnmoth <terra1024(a)yahoo.com> wrote:
>> If, in Ubuntu, you open a new terminal, do "firefox &" and then close
>> the terminal Firefox will close, as well. Is there a way to make it
>> so Firefox would stay open even if the Terminal from which it opened
>> was closed?
>
> Screen, as mentioned on this thread, is a wonderful tool. It's
> my regular window manager. (Yes, I can run any X app I want
> to, though _in_ screen. I control X from screen.)

Cripes. I can't ever get it right the first time.

That's "...though not _in_ screen."

Sid


>
> But it's a big app and very complex and overkill for what you
> want to do.
>
> Here's a tiny utility that does just what you want and no more:
>
> http://sourceforge.net/projects/dtach/
>
>
> Sid
>
>