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