I'm on Ubuntu 16.04 using a Nvidia GTX 950. How would I set up a script to run every time my display turns on or wakes up?
-
You don't mean when lid open? right? So by "turns on" what do you mean? or wakeup?– αғsнιηMar 31, 2018 at 16:17
-
When I turn my monitor on. If it were a laptop then yeah, every time the lid opens. I don't know if there's a technical difference between pressing the power button or just waking it up by moving my mouse around after it's gone to sleep, would it affect the script?– lightspectraMar 31, 2018 at 16:26
-
Maybe this Stack Overflow question will help.– deviusMar 31, 2018 at 16:51
-
This might be related to run a script when HDMI screen is plugged or unplugged: askubuntu.com/questions/874506/…– WinEunuuchs2UnixMar 31, 2018 at 17:16
Add a comment
|