You are not logged in.
First of all, I am aware of the many threads related but I feel my problem is slightly special
My laptop lid close action on BATTERY is "suspend" and my laptop lid close action on AC is "nothing".
Here is my logind.conf
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#Controllers=
#ResetControllers=cpu
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
HandleLidSwitch=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
LidSwitchIgnoreInhibited=noCurrently, when I close my laptop lid when plugged in I get no change on power as intended per gnome tweak tool. I get this same behaviour when my laptop is not plugged in which, in this case, is unintended. I want gnome-tweak-tool to handle this stuff but I can't figure out how to do this logind.conf. I have tried LidSwitchIgnoreInhibnited=off and LidSwitchIgnoreInhibited=off. I get no change. I think HandleLidSwitch=ignore is correct. Any help would most appreciated ![]()
Last edited by quasifilmie (2012-12-22 21:36:19)
Offline
As far as I know the logind.conf file does some basic handling of ACPI events. A DE like Gnome will handle ACPI events on its own. So using logind.conf with gnome might give conflicts. You should disable those options in logind.conf ( Normally when the line is in a comments it defaults to no ). When running a DE I put those lines in comment ( even when running a WM, acpid still seems to do a better job. )
When it still doesn't work it's probably a problem with gnome power manager, can't help you with that ![]()
Last edited by Varg (2012-12-23 07:10:59)
github - tweets
avatar: The Oathmeal
Offline
Thanks for the reply Varg. All those lines were originally in comment. I un-commented LidSwitchIgnoreInhibited to no (there is also an off option??) since it defaults to yes according to the man page. At this point, I am just hoping gnome plays nicer with logind in 3.8 and that logind config becomes intelligible. From what I've read, KDE seems to play nicer with the systemd changes though.
Offline
( Normally when the line is in a comments it defaults to no ).
Logind does not follow that convention, the values on the commented lines are the DEFAULT values.
The options quasifilmie has appear to be correct, but i agree with varg acpid seems to do better.
acpid also has the advantage your settings will be used when not in X.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline