Article 5QZD3 Looking for event based automation that can detect when the OS sleeps and wakes the screen

Looking for event based automation that can detect when the OS sleeps and wakes the screen

by
hawkjm73
from LinuxQuestions.org on (#5QZD3)
Hello!

I am using Zorin OS 16, Ubuntu based with Gnome desktop. My computer display is a large TV screen rather then a monitor. When my system sleeps, the display does not gracefully turn off, and it will not turn back on when the system wakes.

The display does not have very good ip-control but does support hdmi-cec. As my video card does not support cec, I've used an cec injecting adapter and can send on and off commands from the terminal.

What I can't figure out how to do is get the system to send the on/off when it wakes or sleeps the monitor. Is there anything in Linux that listens and reacts to system events like that?latest?d=yIl2AUoC8zA latest?i=l2zGItgXs7c:W6aaxxHg_mk:F7zBnMy latest?i=l2zGItgXs7c:W6aaxxHg_mk:V_sGLiP latest?d=qj6IDK7rITs latest?i=l2zGItgXs7c:W6aaxxHg_mk:gIN9vFwl2zGItgXs7c
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments