Comment 19 for bug 553557

Revision history for this message
Manuel Bärenz (turion) wrote :

I checked it a few more times with different settings and found out, that it actually kind of works:
When I disable the powerbtn.sh, the system still shuts down without asking, but it seems to log out from the kde session at least. This holds for the kde setting "Shut down on power button pressed".
If I change the kde setting to e.g. "logout", it correctly shows the logout screen.

If I now enable the script handicapped, to say with the shutdown command replaced by "touch sometestfile", the file sometestfile is produced every time I press the power button, of course regardless of the kde setting. This is the expected buggy behaviour.
I have, by the way, lucid running on an Compaq nx6325 with an AMD64 processor.

So in conclusion, my situation: The bug is there, it's in the script powerbtn.sh, as described by previous. However, kde in some way watches separately if the power button pressed and interprets it correctly according to the settings.
So why is the script still kept? My workaround is disabling it.