Public bug reported:

Binary package hint: acpid

When KDE 4.2 is running, pressing Power Button causes brutal system
shutdown because /etc/acpi/powerbtn.sh doesn't properly recognize KDE
4.2, so it won't result in displaying a KDE shutdown box, but will start
a system shutdown sequence.

/etc/acpi/powerbtn.sh should just do nothing when KDE 4.2 is running,
for KDE's PowerDevil is able to recognize this event and have a
corresponding programmable action.

Proposed fix : Just add the following line close to the beginning of
/etc/acpi/powerbtn.sh :

pidof plasma > /dev/null && exit 0

(Fix tested and working)

** Affects: acpid (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Power button shuts down brutally when KDE 4.2 running
https://bugs.launchpad.net/bugs/346439
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to