LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   prevent accidental closing of a window (https://www.linuxquestions.org/questions/linux-general-1/prevent-accidental-closing-of-a-window-739497/)

manoj_isi 07-12-2009 12:51 AM

prevent accidental closing of a window
 
Hi all,
I am running a program in gnome-terminal window (using metacity window manager) which will take many hrs to complete.
I was wondering if there is some way to "lock" that window, so that accidental closing of that window is prevented.

karamarisan 07-12-2009 12:56 AM

Not that I know of. In the future, use a program called screen for tasks like this - if the terminal emulator is closed, the screen session is just detached and continues running, and can be reattached at any time later.

manoj_isi 07-12-2009 02:32 AM

thanx.. i knew about this tool... but never knew that this is so powerful

karamarisan 07-12-2009 03:51 AM

It's a fantastic piece of software and one of the first things I install on any new machine. It's also great if you want to leave a CLI application running remotely - back in the day, I couldn't do any torrenting from where I was, so I had a server in another state that had rtorrent (command-line client) running in a perpetual screen session. I'd used screen before for the multiplexing feature, but I really gained something the day I figured that one out. : )


All times are GMT -5. The time now is 03:46 AM.