How can I tell Ubuntu 18.04 to do nothing when I close my laptop lid?
6341
Ubuntu 17.10 and later: Don't suspend when lid is closed, just lock screen
28784
How can I lock down ubuntu?
126995
How to programmatically prevent a Mac from going to sleep?
120773
How to temporarily disable sleep and hibernate from the command line
21768
How to turn off screen rotation in Ubuntu 18.04 LTS?
45033
How to disable boot on MacBook Pro when lid is opened?
131083
Preventing shell from exiting when set -e is turned on?
37495
Disable sleep on laptop lid close in tty1
37017
How can I put the computer to sleep from Command Prompt/Run menu?
114891
MacBook Air/Pro: run script upon lid close?
58181
How to instruct Windows 8 NOT to perform a fast shutdown?
86059
How to set the close-laptop-lid-action?
5901
What exactly happens with the button "Leave Open" (previously "Do Not Close")?
33940
Ubuntu 18.04 - Dell XPS13 9370 no longer suspends on lid close
116036
Can't shutdown and logout from top panel in Ubuntu 14.04 LTS
722
How can I automatically shutdown the system after a specific time?
75552
Why won't closing the lid sleep my MacBook Pro with external monitor attached after upgrading to Lion?