If you set a resolution inappropriate for your monitor in the Screen Resolution GUI tool, you can reset it from a terminal by running. $ rm ~/.config/monitors.xml ...
wiki.ubuntu.com