Quote:
Originally Posted by cranon
Lets say i opened a terminal and a terminal file manager, what i would like to be able to is navigate down to the content i want to open, open it and have the terminal close itself automaticaly. Is there a program or something that can do this. I would like to be able to do this independently as i have a lot of ideas for where to use this. Thanks
|
You learn something new everyday.
I didn't know that Terminal File Manager's existed. Now I do.
I would think that you would need to grab the source for any given terminal file manager and modify it such that when you open something, be that an executable or a file where it opens a document into a graphical editor, that it will choose to exit the file manager, and close the terminal.
One problem you most likely will run up against is that the file manager is a sibling to the terminal, and whatever you run from the file manager may also be a sibling to both of those. Thus if you kill the terminal, it may kill all children of it. Maybe, maybe not, it depends how the final thing is launched, but I'm pretty sure this isn't a huge deal. I happen to open emacs in graphical form a lot from a terminal and if I happen to CTRL-D out of the terminal, the emacs application doesn't get killed.
Back to my original thoughts, which are that you need to modify source for the file manager to make this happen. At least in my humble opinion.