Pre-Logout Script

Erik Habicht erik.habicht at gmail.com
Sat Nov 17 21:32:36 CET 2012


Hi List,

is there a way to run a Script before logout?

I use the vmplayer and every time i forget to shutdown or suspend the
virtual machine before logout it get -KILLed. I think it's like turn off
your PC by pulling the power plug.

I wrote a script that send kill -TERM to the vmplayer and wait until the
vmplayer disappear from the process list. Now i need to run the Script
before logout.

Maybe someone can help me with this problem.

Best regards,
   eriK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20121117/4ee43644/attachment.html>


More information about the Xfce mailing list