4

If I open the gnome-terminal within the gnome-terminal, the newly created terminal automatically gets disowned from the parent.

Opening the gnome-terminal within the gnome-terminal

Some other applications do not.

Opening notepadqq in the gnome-terminal

How to simulate that behavior? How to not disown the new created terminal?

Thanks for your attention.

EDIT: For some reason, if I add the '--disable-factory' flag I get exactly the effect I want to get. Maybe there is something wrong with my config files.

don_crissti
  • 79,330
  • 30
  • 216
  • 245
  • 1
    That is _not_ in fact what GNOME Terminal is doing. https://unix.stackexchange.com/questions/304269/ https://unix.stackexchange.com/questions/226465/ https://unix.stackexchange.com/questions/323663/ – JdeBP Oct 31 '17 at 12:41
  • To simulate that behavior you'll have to [start a new server and create terminals inside the newly created server.](https://unix.stackexchange.com/a/201915/22142) – don_crissti Oct 31 '17 at 12:57
  • cheers for '--disable-factory' making it work. – Eric Blade Dec 19 '18 at 20:55

1 Answers1

-1

I believe what you are looking to do is run the program in the "background". This can be done using the ampersand symbol (&) after the command:

$ notepadqq &
AntumDeluge
  • 225
  • 1
  • 8