On power button press, system always shuts down when it should ask

Bug #1099106 reported by mtu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Mint
New
Undecided
Unassigned

Bug Description

In Mint 14 MATE, there is a setting in the Power Management Preferences (under the "General" tab) that's called "When the power button is pressed".

When it is set to "Ask me", the system still shuts down when the power button is pressed and doesn't ask, as it should.

Looking at this bug: https://bugs.launchpad.net/ubuntu/+source/acpid/+bug/837266 I determined what the problem is:

In /etc/acpi/powerbtn.sh, the script checks if any power management daemons are running (line 35 onward). If it doesn't find any power management daemon, it just shuts down.

The mate-power-manager is not included in that list, so it is never found, and a shutdown will always occur. The script needs to be adapted to include mate-power-manager.

Revision history for this message
mtu (mtu) wrote :

This patch fixes the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.