Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 510970 - sys-power/acpid-2.0.20 - powerbtn.sh does not recognize kde power manager
Summary: sys-power/acpid-2.0.20 - powerbtn.sh does not recognize kde power manager
Status: RESOLVED DUPLICATE of bug 511084
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Michal Hrusecky (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-21 18:43 UTC by Thorsten
Modified: 2014-05-23 10:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thorsten 2014-05-21 18:43:42 UTC
I have KDE 4.13.1 installed and when I press the power button the operating system shuts down, regardless of what I set in KDE as an action for pressing the power button.

The problem is the /etc/acpi/actions/powerbtn.sh script and there specifically the pidof kded4 command that comes back empty. However, the kde deamon is running:

ps axwww |grep kded
 2827 ?        Sl     0:01 kdeinit4: kded4 [kdeinit]

This causes the script to call shutdown. If I comment this command out the system does not shutdown as expected.

Reproducible: Always

Steps to Reproduce:
1. Disable power button handling in KDE (set to ignore in power management)
2. Press power button.
Actual Results:  
System shuts down

Expected Results:  
Nothing happens

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde/systemd, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i5-3320M_CPU_@_2.60GHz-with-gentoo-2.2
KiB Mem:     7859924 total,   4487452 free
KiB Swap:   10485756 total,  10485756 free
Timestamp of tree: Tue, 20 May 2014 20:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-java/java-config:     2.2.0
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/cmake:           2.8.12.2
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2014-05-23 10:08:04 UTC

*** This bug has been marked as a duplicate of bug 511084 ***