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
  • 82,805

2 Answers2

1

On newer gnome versions (tested on gnome 44), the solution to this is:

gnome-terminal --wait

Zulakis
  • 202
-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 &