Dear Daniel! Thank you for replying and for analysis.
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? --- You can see images on my AskUbuntu question ( https://askubuntu.com/q/1032461/66509 ). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on VirtualBox guest To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs