11-25-2020, 05:56 PM
(This post was last modified: 11-26-2020, 03:32 PM by ab1jx.
Edit Reason: missing /
)
I'm not sure it's actively used, this is in the mrfixit stretch, but see /etc/systemd/logind.conf. There's even a logind.conf man page.
Fairly simple, looks like:
I haven't really explored it yet but you can change what happens on PowerKey, SuspendKey (which is what?) and all that stuff. Usually in this format the commented-out entries are the defaults.
Fairly simple, looks like:
Code:
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#HandlePowerKey=poweroff
#HandleSuspendKey=suspend
#HandleHibernateKey=hibernate
#HandleLidSwitch=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#UserTasksMax=33%
I haven't really explored it yet but you can change what happens on PowerKey, SuspendKey (which is what?) and all that stuff. Usually in this format the commented-out entries are the defaults.