![]() |
Launching applications in xterm
I've search around and looked at the man page but can't seem to figure this out.. using fluxbox one can click an application in the menu and it opens without a supporting terminal. However, if I open xpdf in the terminal, xpdf launches and the terminal waits for it to exit... my question is, what is the command to hide the terminal and just launch the application?
Thanks |
The trick is to append the & sign to the end of the command to free up the terminal when the app starts.
xpdf & |
bigrigdriver is correct, however, some programs give a lot of output which might be inconvenient, one way to get rid of this is to use "&> /dev/null" at the end, or alternatively use a log file instead of /dev/null, if so desired.
|
Quote:
Anyway, when you run a command like "cp" in a terminal and it takes a long time, the prompt doesn't return until cp finishes. Why would xpdf be any different? Anyway, there are two ways to do this: Code:
nohup xpdf &Code:
xpdf & |
Quote:
Quote:
|
Quote:
The "nohup" and "disown" commands I suggested make it so that the program is not a child of the terminal anymore, so that the program will keep running even if you close the terminal. Quote:
|
| All times are GMT -5. The time now is 11:42 PM. |