1. On clean installation on physical hardware the behavior of Power Button is as follows:
* on console ttys system shutdowns
* on the GDM system goes to sleep (suspends)
* in GNOME session it asks what to do if run `gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive` manually (no GUI option - it is a bug 1769614 )
So seems to be expected behavior.
2. But if I run Ubuntu as VirtualBox 5.1 guest (this bug report):
* all settings are ignored (both `logind.conf` and `gsettings`).
* I do not have "When the Power Button is pressed" in `gnome-control-center power`
How to debug this? Should I report special bug to upstream?
Dear Daniel!
Thank you for replying and for analysis.
1. On clean installation on physical hardware the behavior of Power Button is as follows: settings- daemon. plugins. power power-button-action interactive` manually (no GUI option - it is a bug 1769614 )
* on console ttys system shutdowns
* on the GDM system goes to sleep (suspends)
* in GNOME session it asks what to do if run `gsettings set org.gnome.
So seems to be expected behavior.
2. But if I run Ubuntu as VirtualBox 5.1 guest (this bug report): control- center power`
* all settings are ignored (both `logind.conf` and `gsettings`).
* I do not have "When the Power Button is pressed" in `gnome-
How to debug this? Should I report special bug to upstream?
---
You can see images on my AskUbuntu question ( https:/ /askubuntu. com/q/1032461/ 66509 ).