This or something similar to this existed in Ubuntu 10.04 LTS, and the behavior was spot on.
In 10.04 at the login screen (not sure if it was lightdm back then), when the computer's power button was pressed, a popup was displayed. The popup propmted the user with shutdown options: shutdown, restart, cancel, ... . The popup also contained a 60 second countdown, that when exceeded shutdown the computer. The countdown was benifical on two fronts. The first allowed the user to cancel the shutdown if the computer's power button had been inadverntaly pressed. The second allowed the user to shutdown the system without typing or mouse clicking. The latter is particullay useful if the computer is used primarliy as a server and occasionaly as a desktop. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to lightdm in Ubuntu. https://bugs.launchpad.net/bugs/915382 Title: ACPI events to shutdown/reboot don't generate a popup like after logging in Status in “lightdm” package in Ubuntu: Triaged Bug description: There was a bug against virt-manager* where sending a "reboot" or "shutdown" event to a client seemingly doesn't do anything. Turns out that this only happens on the login screen, inside a session you get a popup asking what to do after the power button has been pushed. So something is wrong on the lightdm session, that prevents the popup from happening. This happens on real hw as well; if you hit the power button while looking at the login screen, nothing happens. * bug 228690 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/915382/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

