Code: Select all
xed
Code: Select all
xed f.txt
I want to launch it asynchronously. That is, I do not want the command to wait for the GUI application to quit. Once the command launches the GUI application, I want the command to leave the GUI application alone.
By the way, if the Xed application is already open, then executing `xed` on command line opens asynchronously a second tab in the Xed window without waiting for the Xed application to quit.
The situation is the same on both Mint 20.2 MATE and Mint Cinnamon.
The situation is also the same on Ubuntu MATE. `pluma` on command line on Ubuntu MATE launches the text editor "Pluma" synchronously.
Thank you in advance.
---- Update ----
My words were insufficient when I initially wrote the original post, but I now realize that I have to add two more conditions:
- I want the GUI application to stay alive when Terminal is closed.
- As soon as the GUI application is launched, I want the shell prompt to come back and be ready for other commands such as `cd`, `ls -l`, `echo` and so on.
The Xed application launched by `xed &` will be forcefully terminated when the Terminal window (on which `xed &` was executed) is closed.
After `nohup xed &` is issued, nohup lingers forever on Terminal, and prevents the shell prompt from coming back.
Thank you in advance.
----
Note about notation: When I write like `xed &` in text, the backtick quotes are NOT part of the command. I would use $() for command substitution.