Deaktivierung des Standbymodus und Konfiguration der Energieeinstellungen für den Deckel

Debian auf Notebooks und speziellen Geräten wie eingebetteten Systemen, Routern, Set-Top-Boxen, ...
Antworten
AxelMD
Beiträge: 1457
Registriert: 15.03.2009 08:02:11

Deaktivierung des Standbymodus und Konfiguration der Energieeinstellungen für den Deckel

Beitrag von AxelMD » 26.01.2025 15:25:57

Debian 12

Hallo Forum,

Deaktivierung des Standbymodus und Konfiguration der Energieeinstellungen für den Deckel https://www.dell.com/support/kbdoc/de-d ... ll-laptops

"HandleLidSwitch=ignore" wurde in die /etc/systemd/logind.conf

Code: Alles auswählen

cat /etc/systemd/logind.conf
#  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. Local configuration
# should be created by either modifying this file, or by creating "drop-ins" in
# the logind.conf.d/ subdirectory. The latter is generally recommended.
# Defaults can be restored by simply deleting this file and all drop-ins.
#
# Use 'systemd-analyze cat-config systemd/logind.conf' to display the full config.
#
# See logind.conf(5) for details.

[Login]
#NAutoVTs=6
#ReserveVT=6
#KillUserProcesses=no
#KillOnlyUsers=
#KillExcludeUsers=root
#InhibitDelayMaxSec=5
#UserStopDelaySec=10
#HandlePowerKey=poweroff
#HandlePowerKeyLongPress=ignore
#HandleRebootKey=reboot
#HandleRebootKeyLongPress=poweroff
#HandleSuspendKey=suspend
#HandleSuspendKeyLongPress=hibernate
#HandleHibernateKey=hibernate
#HandleHibernateKeyLongPress=ignore
#HandleLidSwitch=suspend
HandleLidSwitch=ignore
#HandleLidSwitchExternalPower=suspend
#HandleLidSwitchDocked=ignore
#PowerKeyIgnoreInhibited=no
#SuspendKeyIgnoreInhibited=no
#HibernateKeyIgnoreInhibited=no
#LidSwitchIgnoreInhibited=yes
#RebootKeyIgnoreInhibited=no
#HoldoffTimeoutSec=30s
#IdleAction=ignore
#IdleActionSec=30min
#RuntimeDirectorySize=10%
#RuntimeDirectoryInodesMax=
#RemoveIPC=yes
#InhibitorsMax=8192
#SessionsMax=8192
#StopIdleSessionSec=infinity

Code: Alles auswählen

systemctl restart systemd-logind
Was sollte ich noch anpassen, wenn das Notebook als Server genutzt wird?

MfG
AxelMD
Zuletzt geändert von AxelMD am 01.02.2025 13:45:06, insgesamt 1-mal geändert.

KP97
Beiträge: 3796
Registriert: 01.02.2013 15:07:36

Re: Deaktivierung des Standbymodus und Konfiguration der Energieeinstellungen für den Deckel

Beitrag von KP97 » 26.01.2025 16:21:23

Es gibt auch noch in /etc/systemd die sleep.conf, da hineinschauen. Und man systemd.special lesen.

Antworten