pressing (laptop) power button should show shutdown dialog on kde4
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
acpid (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: acpid
When the power button on the laptop is pressed, the notebook running Kubuntu Jaunty (alpha 3) shuts down immediately. I think that pressing that button, a logout/
Why (because I know from earlier similar bugreports, that some users want/like the contrary):
* It was like that in Kubuntu releases before Intrepid (I mean before KDE4 arrived)
* If I remember correctle , it is the same in Opensuse (not a real argument, I know)
* The power button is on notebooks next to the other special buttons (email button, wifi on/off button) , so a random press can occur
* As some developer stated in other ancient bugreport, "All actions, that can make some data loss, should be approved by user"
The problem is in the file '/etc/acpi/
Current code (line 20):
if ps -Af | grep -q '[k]desktop' && pidof dcopserver > /dev/null && test -x /usr/bin/dcop ; then
Workaround (calling it workaround, because it is a quick fix, maybe not yet in an acceptable shape yet) :
if ps -Af | grep -q 'startkde' > /dev/null && test -x /usr/bin/dcop ; then
With this changed line, the shutdown/
This bug is also present in Intrepid, but I hope at least for Jaunty to be fixed.
Have a nice day, bq
-----
root@paon:
Description: Ubuntu jaunty (development branch)
Release: 9.04
------
acpid 1.0.6-9ubuntu4
------
The proposed line is not a final solution, because the detection of the KDE3 session should be preserved too.