You are not logged in.

#1 2012-02-19 10:37:32

ShwangShwing
Member
Registered: 2011-04-20
Posts: 17

KDE 4.8: Power button not working

Hello,
I've always had a strange behaviour in KDE when it comes to the power button. I've set "When power button is pressed" in energy saving settings to be "Prompt log out dialog". It used to behave like this: I press the power button and the dialog appears with a delay of 1 minute. Since my last update the power button doesn't show the dialog at all. How can I get it to work?

Offline

#2 2012-02-19 11:15:21

toad
Member
From: if only I knew
Registered: 2008-12-22
Posts: 1,775
Website

Re: KDE 4.8: Power button not working


never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::

Offline

#3 2012-02-19 17:28:56

ShwangShwing
Member
Registered: 2011-04-20
Posts: 17

Re: KDE 4.8: Power button not working

@toad the link you posted says:
KDE 4
As of KDE 4.4, you can still use dcop as shown above.
Alternatively, you can use PowerDevil:
Delete (or comment out) /etc/acpi/events/power.
Open System Settings.
Go to Advanced>>Power Management.
Select "Edit Profiles" and choose the current profile. (In KDE 4.4, the default profile is "Powersave.")
Select "Shutdown" as the action for "When power button is pressed."
Press Apply.

1. I don't have /etc/acpi/events/power. I miss the wholl /etc/acpi directory.
2. in system settings there is no Advance section. There is Hardware section where Power Management is located.
3. I've already set "when power button is pressed" to "Prompt log out dialog" as I've already said. I want it that way. For the record setting it to "Shutdown" doesn't work either.
It worked before (although there was 1 minute delay). Now it doesn't without me changing any settings.

Offline

#4 2012-05-20 21:46:06

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: KDE 4.8: Power button not working

I too have set "Prompt log out dialog" in both AC and Battery profiles and have the same problem: when I press the power button in KDE SC 4.8.3-1 the system will halt and power off instead showing the power down dialog.

@ShwangShwing: while the files layout have changed, you'll find is very easy to understand them and make the changes you need smile


* UPDATE *
Finally solved: to let KDE SC handle the power button the line 15 "poweroff" in /etc/acpi/handler.sh must be commented, a full explanation here: https://wiki.archlinux.org/index.php/Acpid (green rectangle)

Last edited by msx (2012-09-02 07:47:08)


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

Board footer

Powered by FluxBB