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