How do you tell if a computer\'s monitor(s) are turned on/off from the command line in Linux? I\'ve traditionally thought of monitors as output-only devices, but I\'ve noticed t
You might want to look at the output of
$ xset -q
I'm not sure if it will work but I think the line " Monitor is (on|off)" should tell you the answer.