I am running 12.10. Usually when I am in a hurry I press the shutdown button on the bar and close the lid of my laptop just after that. Often, I observe that instead of shutting down, the system suspends (because I closed the lid right after) and the shut down process resumes after I reopen the lid which wakes it up.
Is there any workaround such that once the shutdown button has been pressed, Ubuntu does not allow "suspension on lid close" and it carries out the shutdown (and not the sleep) even if the lid is pulled down right after the shutdown button is pressed?
Also, I don't want to switch off the "sleep on lid close" feature either.