Quit XFCE->send close to all apps

Olivier Fourdan fourdan at xfce.org
Sat Sep 23 15:47:46 CEST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Harold Aling wrote:
> Gentlemen, gentlewomen,
> 
> Is it possible to send a 'close' action to all opened
> applications/windows upon quitting xfce(-session)? Maybe even with a
> configurable timeout before killing the <not responding/awaiting input>
> application?
> 
> For example: All text-editor applications with unsaved documents will
> ask you to save the document instead of just killing the process and
> losing your work...

This is exactly what the session manager does. Any X Session Management
Protocol (XSMP) compliant application receives a "save yourself" message
upon logout that gives it a chance to save its state.

Cheers,
Olivier.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFFTsCFHBtvh5LRUARAmwAAJ9iWkM4kjpulu4axQX1UKowMyprcgCfSmPg
jJu70R1kR0T5H9XIP08CWbY=
=79GW
-----END PGP SIGNATURE-----



More information about the Xfce mailing list