GNOME Bugzilla – Bug 755165
Shutdown when power key is pressed in VM
Last modified: 2015-11-10 13:00:02 UTC
Bug 753713 hard-coded what power/standby/etc. buttons do, but in virtual machines, you usually want the VM to initiate a clean shutdown when the "power off" menu item is pressed, rather than suspending the machine. As we can detect whether or not we're in a VM already, do that to initiate a clean shutdown.
Created attachment 314830 [details] [review] media-keys: Shutdown when power key is pressed in VM
Attachment 314830 [details] pushed as 3295949 - media-keys: Shutdown when power key is pressed in VM