Setup: The Resolution

One thing that is a bit annoying when you start up your Raspberry Pi for the first time is that you’ll notice a black border around the screen.  Even though the output is HD it still dosen’t look like it.

This is easy to fix.

The setting that makes this happen is called overscan and by default it is turned on in Rasbian.  Edit the config.txt file in the /boot directory.

sudo nano /boot/config.txt

In the third paragraph you will see the instructions.

# uncomment this if your display has a black border of unused pixels visible

# and your display can output without overscan

# disable_overscan=1

Delete the # in front of disable_overscan=1 to uncomment it.  This will enable the disable overscan feature and set it to a value of 1, or turn it on.  It should look like this.

# uncomment this if your display has a black border of unused pixels visible

# and your display can output without overscan

disable_overscan=1

Exit and save the file by pressing Ctrl x, then y, then Enter.

If you get an error when saving, it will be because you don’t have permission to edit the file.  So use sudo before the nano command when editing the file.

Reboot your Raspberry Pi for the changes to take effect and you will see the resolution fits the screen perfectly.

sudo reboot now

 

Advertisements