how to know monitor sizes in ubuntu code example Example: what is my monitor resolution ubuntu xdpyinfo | grep dimensions