--- Iban <[EMAIL PROTECTED]> wrote: > What is the equivalent SIGNAL to "Archive - Quit" of a program > windowed (example: firefox)?? > > I don't want to kill it by brute force. I want a normal exit.
SIGTERM is the best signal to quit, I think. Programs can trap the signal, so sometimes they'll clean up before SIGTERM. SIGKILL, on the other hand, cannot be trapped, so it will always quit the program--useful if the program has frozen and SIGTERM doesn't work. However, if you have unsaved documents in the programs, I don't think any signal will cause the programs to save automatically. Probably the gentlest way to quit the program is to close the window. You can automate this using the 'wmctrl' utility. For example, if you try to close the firefox window with multiple tabs open, a dialog will warn you before actually closing. This happens if you use wmctrl as well. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page