Taken from Raspberry Pi 2 User Guide by Vilros
If you connect your Pi to a television using an HDMI cable, Raspbian automatically selects a screen size that it decides will be the best for your setup. However, this is not always the highest resolution.
The configuration setting that controls how Raspbian selects the screen size is in the file /boot/config.txt
and you can adjust this setting with a text editor:
-
On the Application Launcher, click LXTerminal.
-
Type the following command and then press Enter: