I'm using Pop!_OS on a ThinkPad T480 and want the laptop to ignore lid actions completely, only sleeping and waking it with the power button. I have TLP installed, and I'm wondering if it's interfering with the power settings. I've edited the settings in /etc/systemd/logind.conf and they currently look like this: HandleLidSwitch=ignore, HandleLidSwitchExternalPower=ignore, HandleLidSwitchDocked=ignore, and LidSwitchIgnoreInhibited=no. I need some advice on whether I'm missing something, especially whether I should run `systemctl daemon-reload` and if the last setting should be yes or no.
2 Answers
Have you tried running `systemctl daemon-reload` after making those changes? If you haven't, that might be the key step you're missing. Also, after that, restart `systemd-logind` so it picks up the new configuration. As for `LidSwitchIgnoreInhibited`, it should generally be set to 'no' if you want to ensure lid actions are ignored.
Just to add to what Tom said, make sure you’re restarting `systemd-logind` after the changes too. And you don't necessarily need to change all four lines unless you have a specific configuration. Setting `LidSwitchIgnoreInhibited` to 'no' is usually correct for your goal.
Related Questions
Can't Load PhpMyadmin On After Server Update
Redirect www to non-www in Apache Conf
How To Check If Your SSL Cert Is SHA 1
Windows TrackPad Gestures