ubuntu display resolution code example Example: what is my monitor resolution ubuntu xdpyinfo | grep dimensions