Power button always shuts down the system in Linux Mint 16 KDE
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux Mint |
Fix Released
|
Undecided
|
Unassigned | ||
acpid |
New
|
Undecided
|
Unassigned |
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/
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 (Ubuntu) → linuxmint |
It looks ok in Mint 17.
The script uses qdbus and checks for powerdevil.