How do I determine the state of my Monitor in Ubuntu 11.04. I've seen a lot of stuff regarding dpms, but for what ever reason, I don't have the dpms module running on my ubuntu install and I'd really rather not go messing with my xorg.conf file if I can help it.
migrated from stackoverflow.com Jul 27 '11 at 15:08
This question came from our site for professional and enthusiast programmers.
If I understand your question, you are probably looking for xranr:
will give you a list of connected monitors with spec info.