views:

16

answers:

0

Is there a way to define a logout script for the Cygwin/X X Server? I'm looking for something like .bash_logout, but only run when the Cygwin/X X Server shuts down. I'm using .startxwinrc to start programs when the X server starts, but I haven't found something similar for when it shuts down. Any ideas?