[Bug 1769372] Re: Prompt the user when the power button is pressed
Daniel van Vugt
daniel.van.vugt at canonical.com
Mon May 7 01:53:48 UTC 2018
Oh! The schema does support it already ("interactive"):
<enum id="org.gnome.settings-daemon.GsdPowerButtonActionType">
<value nick="nothing" value="0"/>
<value nick="suspend" value="1"/>
<value nick="hibernate" value="2"/>
<value nick="interactive" value="3"/>
</enum>
** 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 Ubuntu
Foundations Bugs, which is subscribed to systemd 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
More information about the foundations-bugs
mailing list