You are not logged in.
Pages: 1
I am running the latest Arch (pacman -Suy executed on 2013-07-07, kernel 3.9.9.1) with OpenBox on a Samsung 900X4C.
No acpid installed.
When I press the power key/button the system gets shut down all right (I can see some log messages).
My question is WHY?!
As I understand https://wiki.archlinux.org/index.php/Sy … management, /etc/systemd/logind.conf controls
what happens when the power key is pressed. Here is mine:
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
HandlePowerKey=ignore
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=suspend
#PowerKeyIgnoreInhibited=no
PowerKeyIgnoreInhibited=yes
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=yes
#IdleAction=ignore
#IdleActionSec=30min
So, unless there is a systemd-ghostd handling the power key (and possibly also ignoring the lid switch), I'd expect
NOTHING to happen on keydown for the power button.
What IS the real "chain of command" here?
Thanks a lot for your help,
André
Last edited by andy4712 (2013-07-07 10:33:59)
Offline
my logind.conf and my laptop doesn't shut down
[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
HandlePowerKey=ignore
HandleSuspendKey=ignore
HandleHibernateKey=ignore
HandleLidSwitch=ignore
PowerKeyIgnoreInhibited=ignore
SuspendKeyIgnoreInhibited=ignore
HibernateKeyIgnoreInhibited=ignore
LidSwitchIgnoreInhibited=ignore
#IdleAction=ignore
#IdleActionSec=30min
I don't know if this is perfect, but it works
Offline
Pages: 1