Data retention reminder on live CD

Ted Gould ted at ubuntu.com
Tue Mar 4 23:23:14 GMT 2008


On Mon, 2008-03-03 at 15:31 -0800, William Tracy wrote:
> Does Gnome offer any hooks that could be used for an "Are you sure?"
> message on shutdown?
> 
> It would be really nice to have a script that monitors the home
> directory, and reacts to any (non-hidden) saved there. Then, either a
> notification could be launched as soon as the file is saved, or a flag
> is set to ask for an additional conformation on shutdown--or both.

One could create a small script that connected to the session manager
and when asked to shutdown would perform that check.  The session
management protocol allows for prompting the user to cancel shutdown.

		--Ted






More information about the ubuntu-devel mailing list