Linux change lid closure behaviour

/etc/systemd/logind.conf

HandleLidSwitch=lock – lock when lid closed
HandleLidSwitch=ignore = do nothing
HandleLidSwitch=poweroff – shutdown
HandleLidSwitch=hibernate – hibernate ubuntu

restart machine

Was this article helpful?

Related Articles

Leave A Comment?