Friday, May 3, 2024
15
rated 0 times [  15] [ 0]  / answers: 1 / hits: 5652  / 2 Years ago, sat, june 4, 2022, 3:38:00

Possible Duplicate:

How to clean launch a GUI app via the Terminal (so it doesn't wait for termination)?






If I have a terminal open in X-window, I can start a GUI app from the terminal. If I give Ctrl+C, the GUI app closes and you get back the prompter in the terminal so you can write commands again.



For example: If I run gedit, it starts but it doesn't return control to that console so I cannot reuse it for other commands, If I want to regain control I need to do Ctrl+C, but that closes the GUI app. I need the GUI app to keep running but also to use further the console to start other apps or run other commands.



How to start a X-window app from terminal console, without leaving that console occupied solely by that app?


More From » command-line

 Answers
0

Simply add & to your call to start it as background process.



Example:




gedit sometext.txt &

[#35083] Sunday, June 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
uccase

Total Points: 473
Total Questions: 100
Total Answers: 110

Location: Anguilla
Member since Sun, Jan 29, 2023
1 Year ago
;