2

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?

4
  • You don't mean when lid open? right? So by "turns on" what do you mean? or wakeup? 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? Mar 31, 2018 at 16:26
  • Maybe this Stack Overflow question will help.
    – devius
    Mar 31, 2018 at 16:51
  • This might be related to run a script when HDMI screen is plugged or unplugged: askubuntu.com/questions/874506/… Mar 31, 2018 at 17:16

0

You must log in to answer this question.

Browse other questions tagged .