desktop exit signals



Hi,

I was wondering which signal I need to intercept if I want to know when the desktop exits while my application is still open. I tried catching SIGHUP, SIGTERM and SIGKILL but no luck so far. (The obvious purpose of this is to save the state of the application before it exits.)

I know this has been discussed before and the "right" way to do this would be using gnome session. The problem is that I do not want to depend on gnome libs unless really necessary.

Thanks,

-- Jaap <pardus cpan org>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]