From 901dedbc9e581e9c5d958b3c68a04150b5918e16 Mon Sep 17 00:00:00 2001 From: syui Date: Fri, 1 Nov 2024 08:24:31 +0900 Subject: [PATCH] fix --- content/blog/2024-10-29-archlinux.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/blog/2024-10-29-archlinux.md b/content/blog/2024-10-29-archlinux.md index 796e34f..86f5c74 100644 --- a/content/blog/2024-10-29-archlinux.md +++ b/content/blog/2024-10-29-archlinux.md @@ -74,3 +74,10 @@ PasswordAuthentication no $ systemctl restart sshd ``` +## 蓋を閉じてもsleepしないようにする + +```sh:/etc/systemd/logind.conf +HandleLidSwitch=suspend +HandleLidSwitchExternalPower=ignore +HandleLidSwitchDocked=ignore +```