Hi,

I'm in need of advice.
What the best way to run script on LXDE exit before LXDE starts killing running applications?


The longer version:
I'm running some VirtualBox guests started in LXDE (not headless mode).
I want to shut down those gracefully (I do have script for that) before LXDE exits.

Thanks in advance!

/zubziro