How to fix X settings in Ubuntu

Choose from grub to start computer in “Recovery Mode” and in the next menu choose “Fix X” in order to reset system in the default X settings.

It is that simple