Power button shuts down brutally when KDE 4.2 running

Bug #346439 reported by Swâmi Petaramesh
2
Affects Status Importance Assigned to Milestone
acpid (Ubuntu)
New
Undecided
Unassigned

Bug Description

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)

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.