Comment 24 for bug 138194

Revision history for this message
Adam Porter (alphapapa) wrote : Re: [Bug 138194] Re: Closing lid during initial shutdown causes notebook to suspend

I think it might be simple to implement. A patch to KDE's and GNOME's
session managers to touch a file in /var/run or somewhere, and a patch
to the suspend scripts to check for that file. Three small patches?
Four if you include LXde?

2011/1/16 Chris Wilson <email address hidden>:
> I think a solution to this would be to set a flag to a particular state
> when shutdown commences, which will then hold up all operations that
> attempt to execute, including suspend. On some versions of Windows, I've
> been presented with an error message when I try to do something when the
> shutdown button has been hit.
>
> This would not be simple to implement, so this is not a paper cut.
>
> ** Changed in: hundredpapercuts
>       Status: Incomplete => Invalid
>
> --
> You received this bug notification because you are a direct subscriber
> of the bug.
> https://bugs.launchpad.net/bugs/138194
>
> Title:
>  Closing lid during initial shutdown causes notebook to suspend
>