Is there any way to execute something when closing the laptop's lid?
Posted
by Matias
on Super User
See other posts from Super User
or by Matias
Published on 2010-05-28T23:55:59Z
Indexed on
2010/05/29
0:02 UTC
Read the original article
Hit count: 293
I'm wondering if there is any way to execute a program, run some command or anything else when closing the laptop's lid.
My question aims to be generic, both for Windows and Linux. Something useful should be locking the laptop when closing the lid (Win + L in windows), or running expensive processes such as antivirus analysis etc. without doing it manually before closing the lid.
© Super User or respective owner