2022-03-25 08:51:09 +01:00
|
|
|
# Configure Lid Switch On Debian
|
|
|
|
|
|
|
|
* edit /etc/systemd/logind.conf and make sure to configure like this\
|
|
|
|
to make the OS ignore the lid being closed
|
|
|
|
```
|
|
|
|
HandleLidSwitch=ignore
|
|
|
|
```
|
|
|
|
|
|
|
|
* reload logind.conf to make your changes go into effect\
|
|
|
|
```
|
2022-04-10 14:21:55 +02:00
|
|
|
sudo systemctl restart systemd-logind
|
2022-03-25 08:51:09 +01:00
|
|
|
```
|