From ed900b058463260ef6785407397aa6a394a2e69d Mon Sep 17 00:00:00 2001 From: Martin Blazik Date: Tue, 25 Aug 2020 08:49:21 +0200 Subject: [PATCH] Power setting --- conf/logind.conf | 38 ++++++++++++++++++++++++++++++++++++++ doc/power.md | 2 ++ 2 files changed, 40 insertions(+) create mode 100644 conf/logind.conf create mode 100644 doc/power.md diff --git a/conf/logind.conf b/conf/logind.conf new file mode 100644 index 0000000..ec4ef14 --- /dev/null +++ b/conf/logind.conf @@ -0,0 +1,38 @@ +# This file is part of systemd. +# +# systemd is free software; you can redistribute it and/or modify it +# under the terms of the GNU Lesser General Public License as published by +# the Free Software Foundation; either version 2.1 of the License, or +# (at your option) any later version. +# +# Entries in this file show the compile time defaults. +# You can change settings by editing this file. +# Defaults can be restored by simply deleting this file. +# +# See logind.conf(5) for details. + +[Login] +#NAutoVTs=6 +#ReserveVT=6 +#KillUserProcesses=no +#KillOnlyUsers= +#KillExcludeUsers=root +#InhibitDelayMaxSec=5 +#HandlePowerKey=poweroff +#HandleSuspendKey=suspend +#HandleHibernateKey=hibernate +#HandleLidSwitch=suspend +HandleLidSwitch=lock +HandleLidSwitchExternalPower=ignore +HandleLidSwitchDocked=ignore +#PowerKeyIgnoreInhibited=no +#SuspendKeyIgnoreInhibited=no +#HibernateKeyIgnoreInhibited=no +#LidSwitchIgnoreInhibited=yes +#HoldoffTimeoutSec=30s +#IdleAction=ignore +#IdleActionSec=30min +#RuntimeDirectorySize=10% +#RemoveIPC=yes +#InhibitorsMax=8192 +#SessionsMax=8192 diff --git a/doc/power.md b/doc/power.md new file mode 100644 index 0000000..32dd6c7 --- /dev/null +++ b/doc/power.md @@ -0,0 +1,2 @@ +Lid behaviour +https://itsubuntu.com/configure-lid-close-behavior-of-your-laptop-with-ubuntu-20-04-lts/