How to react to laptop lid events?
134738
Writing a systemd service to be executed at resume
59228
Acting as though the laptop Fn key is pressed
69583
Responding to click event of element added to document after page load
95462
C# - How to detect a Windows shutdown/logoff and cancel that action (after asking the user)
47386
How can I tell if my computer went to sleep?
43780
How to detect when the mouse leaves the form?
100484
Laptop surface vibrating because of ungrounded adapter
66722
Is there any way to detect the monitor state in Windows (on or off)?
66671
With Ubuntu 16.04 laptop doesn't suspend when lid is closed
30789
Window close events in a winforms application
6155
Detect browser or tab closing
62988
Mousing over to external display
75859
How can I observer the desktop GUI interacting with the shell?
52216
How to stop the pointer jumping around due to the touchpad?
94308
How to ignore lid switch action?
102982
How can I prevent my computer from waking up accidentally?
49963
My Laptop randomly goes to sleep while working maybe because of malfucntioning lid sensor. How to solve it?