[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
This is also affecting Virsh (KVM/QEMU) based virtual machines. Just tested with The latest Focal update (gnome-settings-daemon 3.36.1-0ubuntu1.1) and the machine was turned off without any notifications. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown from shutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
** Tags removed: eoan groovy ** Tags added: hirsute impish -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown from shutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
It is absolutely expected that this bug exists in 20.04 LTS. Will not use GNOME Shell on VirtualBox. ** Tags added: eoan focal groovy -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown from shutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
I am bumping the importance of this bug based on the new test case I added to the GNOME bug today. ** Changed in: gnome-settings-daemon (Ubuntu) Importance: Wishlist => High -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
OK, Jeremy! Thank you! I hope to get this bug will be fixed. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
Norbert, the upstream bug is https://gitlab.gnome.org/GNOME/gnome- settings-daemon/issues/46 Once that issue is fixed in GNOME, it can be fixed in the current development release of Ubuntu and then in Ubuntu 18.04 LTS. Comment #18 here was about something different so you can probably ignore that. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
I do not understand about "confusion" and "intersection". Will this fixed or not in Ubuntu 18.04 LTS? Or GNOME will continue to reinvent of new unique interaction mechanisms between user and desktop? -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on a VM
OK, as is the pattern this week, the confusion here is the intersection of two different bugs. Not one. My gitlab merge request solves a different problem to this bug. ** Summary changed: - Prompt the user when the power button is pressed + Prompt the user when the power button is pressed on a VM ** Changed in: gnome-control-center (Ubuntu) Assignee: Daniel van Vugt (vanvugt) => (unassigned) ** Changed in: gnome-control-center (Ubuntu) Status: In Progress => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on a VM Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
Also, the bug applies to real machines too. So I removed mention of VMs. -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest
Please read: https://gitlab.gnome.org/GNOME/gnome-control- center/merge_requests/39 ** Changed in: gnome-control-center (Ubuntu) Status: Invalid => In Progress ** Summary changed: - Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest + Prompt the user when the power button is pressed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest
I'm closing the gnome-control-center side of this issue since I believe that it's gnome-settings-daemon that is responsible for the different behavior in virtual machines. ** Changed in: gnome-control-center (Ubuntu) Status: In Progress => Invalid -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest Status in gnome-control-center package in Ubuntu: Invalid Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest
Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown fromshutdowns system without prompt. ** Summary changed: - Prompt the user when the power button is pressed on VirtualBox guest + Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest ** Description changed: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns + + Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest + additions and extpack are installed and have corresponding versions). + Ubuntu 16.04.4 LTS amd64 is a host. + + Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive + file=/dev/sdc,format=raw) too. Sending system_powerdown from + shutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on VirtualBox or QEMU-KVM guest Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Note 1: Problem exists with both VirtualBox 5.1.36 and 5.2.10 (guest additions and extpack are installed and have corresponding versions). Ubuntu 16.04.4 LTS amd64 is a host. Note 2: Problem exists if use QEMU-KVM (sudo kvm -m 1536 -drive file=/dev/sdc,format=raw) too. Sending system_powerdown from shutdowns system without prompt. Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to:
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on VirtualBox guest
Upstream bug report - https://gitlab.gnome.org/GNOME/gnome-control- center/issues/85 . -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on VirtualBox guest Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed on VirtualBox guest
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 Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on VirtualBox guest Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
apport information ** Tags added: apport-collected ** Description changed: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) + --- + ApportVersion: 2.20.9-0ubuntu7 + Architecture: amd64 + CurrentDesktop: ubuntu:GNOME + DistroRelease: Ubuntu 18.04 + InstallationDate: Installed on 2018-04-28 (8 days ago) + InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) + Package: gnome-settings-daemon + PackageArchitecture: amd64 + ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 + Tags: bionic + Uname: Linux 4.15.0-20-generic x86_64 + UpgradeStatus: No upgrade log present (probably fresh install) + UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo + _MarkForUpload: True ** Attachment added: "Dependencies.txt" https://bugs.launchpad.net/bugs/1769372/+attachment/5135345/+files/Dependencies.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed on VirtualBox guest Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS as VirtualBox guest 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) --- ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2018-04-28 (8 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) Package: gnome-settings-daemon PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Tags: bionic Uname: Linux 4.15.0-20-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
And a fix for gnome-control-center is here: https://gitlab.gnome.org/GNOME/gnome-control-center/merge_requests/39 -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
More weird; the GUI does contain the feature you want, but upon looking at the source code I found it is just named incorrectly: Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off actually prompts the user. It doesn't "Power Off". So for now set it to "Power Off". ** Changed in: gnome-control-center (Ubuntu) Assignee: (unassigned) => Daniel van Vugt (vanvugt) ** Changed in: gnome-control-center (Ubuntu) Status: Triaged => In Progress ** Description changed: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns - Workaround/fix: - gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive + Workaround/fix (1) + + gsettings set org.gnome.settings-daemon.plugins.power power-button- + action interactive + + Workaround/fix (2) + + Settings > + Power > + Suspend & Power Button > + When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: In Progress Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix (1) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive Workaround/fix (2) Settings > Power > Suspend & Power Button > When the Power Button is pressed = Power Off (actually does prompt the user) ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
We also need a GUI enhancement to gnome-control-center to expose the setting, which already exists. ** Also affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-control-center (Ubuntu) Status: New => Triaged ** Changed in: gnome-control-center (Ubuntu) Importance: Undecided => Wishlist ** Description changed: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key - Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns + + Workaround/fix: + gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: Triaged Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix: gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
Here's a fix :) gsettings set org.gnome.settings-daemon.plugins.power power-button- action interactive It's just not the default. ** Changed in: gnome-settings-daemon (Ubuntu) Status: Fix Released => Triaged ** No longer affects: gnome-control-center (Ubuntu) ** No longer affects: gnome-shell (Ubuntu) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-control-center in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: Triaged Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix: gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
Oh! The schema does support it already ("interactive"): ** No longer affects: systemd (Ubuntu) ** No longer affects: upower (Ubuntu) ** Also affects: gnome-control-center (Ubuntu) Importance: Undecided Status: New ** Changed in: gnome-control-center (Ubuntu) Status: New => Confirmed ** Changed in: gnome-control-center (Ubuntu) Importance: Undecided => Wishlist ** Changed in: gnome-settings-daemon (Ubuntu) Status: Confirmed => Fix Released -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: Triaged Status in gnome-settings-daemon package in Ubuntu: Triaged Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns Workaround/fix: gsettings set org.gnome.settings-daemon.plugins.power power-button-action interactive ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: systemd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Fix Released Status in gnome-shell package in Ubuntu: Confirmed Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1769372] Re: Prompt the user when the power button is pressed
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: upower (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-settings-daemon in Ubuntu. https://bugs.launchpad.net/bugs/1769372 Title: Prompt the user when the power button is pressed Status in gnome-control-center package in Ubuntu: Confirmed Status in gnome-settings-daemon package in Ubuntu: Fix Released Status in gnome-shell package in Ubuntu: Confirmed Bug description: Steps to reproduce: 1. Install Ubuntu 18.04 LTS 2. Login to session 3. Press ACPI Power button/key Expected behavior: * Ubuntu asks user about action Actual behavior: * Ubuntu immediately shutdowns ProblemType: Bug DistroRelease: Ubuntu 18.04 Package: ubuntu-desktop 1.417 ProcVersionSignature: Ubuntu 4.15.0-20.21-generic 4.15.17 Uname: Linux 4.15.0-20-generic x86_64 ApportVersion: 2.20.9-0ubuntu7 Architecture: amd64 CurrentDesktop: ubuntu:GNOME Date: Sat May 5 18:32:06 2018 InstallationDate: Installed on 2018-04-28 (7 days ago) InstallationMedia: Ubuntu 18.04 LTS "Bionic Beaver" - Release amd64 (20180426) SourcePackage: ubuntu-meta UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/1769372/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp