Is there a way to query monitor information from command line? For example, get monitor model, similar to e.g. what
lspci does for graphic card info, or whether it's currently on or off, things like that.
If possible, what kinds of basic information such as the above can be easily gathered? For example, is it possible to determine if monitor is in portrait or landscape position? Or if it has built-in speakers or not?
Command line is the preference, but if there's a GUI method, I'd like to hear about it, too.