[Bug 1306912] [NEW] Power button always shuts down the system in Linux Mint 16 KDE

Mauro 1306912 at bugs.launchpad.net
Sat Apr 12 09:37:34 UTC 2014


Public bug reported:

This bug is related to bug #1184831.

In Linux Mint 16 KDE the shutdown button always shuts down the system, instead of respecting what I've chosen in my KDE settings.
The reason is in: /etc/acpi/powerbtn.sh
This scripts tests if there are some daemons running, more or less one for each of the main window managers (Cinnamon, Gnome, Mate, etc.): it it finds one, it doesn't do anything, otherwise it shuts down the system.
In particular it searches for kpower, which I suppose was a KDE daemon related to power management. However in my system I have no kpower at all. So, I added the following line:

PMS="$PMS kdeinit4"

just after the other "PMS=..." definitions and now the system behaves as
expected.

However, I'm not sure if checking for kdeinit4 is the best choice, or if
I should better check for another more appropriate running process.

** Affects: acpid
     Importance: Undecided
         Status: New

** Affects: linuxmint
     Importance: Undecided
         Status: New

** Package changed: acpid (Ubuntu) => linuxmint

** Also affects: acpid
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to acpid in Ubuntu.
https://bugs.launchpad.net/bugs/1306912

Title:
  Power button always shuts down the system in Linux Mint 16 KDE

Status in acpid:
  New
Status in The Linux Mint Distribution:
  New

Bug description:
  This bug is related to bug #1184831.

  In Linux Mint 16 KDE the shutdown button always shuts down the system, instead of respecting what I've chosen in my KDE settings.
  The reason is in: /etc/acpi/powerbtn.sh
  This scripts tests if there are some daemons running, more or less one for each of the main window managers (Cinnamon, Gnome, Mate, etc.): it it finds one, it doesn't do anything, otherwise it shuts down the system.
  In particular it searches for kpower, which I suppose was a KDE daemon related to power management. However in my system I have no kpower at all. So, I added the following line:

  PMS="$PMS kdeinit4"

  just after the other "PMS=..." definitions and now the system behaves
  as expected.

  However, I'm not sure if checking for kdeinit4 is the best choice, or
  if I should better check for another more appropriate running process.

To manage notifications about this bug go to:
https://bugs.launchpad.net/acpid/+bug/1306912/+subscriptions



More information about the foundations-bugs mailing list