On Debian 13, edit the following file:
nano /etc/systemd/logind.conf
Add the following lines:
HandleLidSwitch=ignoreHandleLidSwitchExternalPower=ignore
Restart the service:
systemctl restart systemd-logind
On Debian 13, edit the following file:
nano /etc/systemd/logind.conf
Add the following lines:
HandleLidSwitch=ignoreHandleLidSwitchExternalPower=ignore
Restart the service:
systemctl restart systemd-logind