How to change Screen resolution in Ubuntu

This tutorial will explain how to change Screen resolution in Ubuntu and this might work in all ubuntu versions