Troubleshooting: config.txt

You may or may not have a black border surrounding your screen. Even if you haven't be sure to install the Pi-Assistant as we will use it later. 

You can edit the config.txt file in two manners; the first one requires a custom-written tool that will launch the built-in text-editor. This first method IS NOT recommended to users who don’t feel at ease without a backup of the config.txt-file.


Method 1: With Pi-Assistant.

  • This method is by far the easiest, but if you follow these steps, you won’t have a backup of your config.txt file. As we haven’t configured our keyboard yet, you will have to pay close attention to what you are typing.
  • Open PiAssistant and click the button that says 'Open config.txt-file'. Editing the config.txt file on the Raspberry Pi.
  • Look for the following line:
    #disable overscan=1
  • Set it to:
    disable overscan=1
    • Do this by removing the '#' in front of the text, be careful not to alter any of the other lines.
  • Save your file by going to 'File' and clicking 'save'
  • Close the config.txt file
  • In Pi-Assistant, click the button that says 'Reboot'.
  • Wait for your Raspberry Pi to reboot, verify if the problem is fixed; if it isn’t, consult the raspbian configuration page.


Method 2: Editing in Windows.

  • This is the safest method as you will have the possibility to make a backup of your config.txt file before you start your editing.
  • First of all you’ll have to shut down your raspberry pi, simply use the start button for this, click “Shutdown” and then click “Shutdown” again.
  • Get the MicroSD-card out of your Pi, and put it in the SD-adapter, put that in your computer and open that drive.
  • Look for the config.txt file, copy the file and save it to a convenient location on your Windowsmachine, this is your backup in case your edit wasn’t done properly. Editing the config.txt file in Windows.
  • Now you can open the config.txt file on your SD-card by right-clicking it, now click ‘edit with Notepad++’, this is one of the programs mentioned in 'What software?'.
  • Look for the following line:
    #disable overscan=1
  • Set it to:
    disable overscan=1
    • Notepad++ numbers your lines, in the September-version of Jessie, you’d want to change line 10.
  • Save your file by pressing Ctrl+S or by clicking the blue saveicon in the top left of your screen.
  • Now you can get the SDcard out of your computer and boot your Raspberry Pi with the modified config.txt file.
  • You can delete the config.txtfile you saved on your computer if everything works.



Next: Configuring the Pi