It seems like an simple problem, but I can\'t find the answer: How do you query (via X11) what monitors exist and their resolutions?
xrandr
$ xrandr |grep \* |awk '{print $1}'
Results here in:
1920x1080