Recipe: 002-Boot Display

Recipe Card


002 : Boot Display


Recipe Files Ingredients


For the markdown version of this recipe on the Pi-Kitchen GitHub site see:





This recipe places a range of selectable display settings on to the SD-Card.

The config.txt allows you to specify the configuration of the Raspberry Pi on boot (such as the display).

This allows you to specify the specific display you wish to use with the Raspberry Pi when it boots. You can select a particular display within the recipe file as well as change the selected display using the supplied script.

In addition to the display output type you can also specify a number of options to fine tune the display:

  • overscan values for left/right/top/bottom allow you to remove any black boarders/overlap off the screen
  • framebuffer height and width allows adjustment of the screen resolution (useful for small screens)

This is particularly useful if you are using a smaller/custom screen where the output is difficult to read if not configured carefully.

The intention is that if you use a range of different screens you can add your own variants to the supplied configurations. This will allow you to quickly and easily switch between them (as well as apply the settings automatically as part of your Pi-Kitchen installation).

This file can also control more than the display settings (such as codex licensing and overclocking), more details are available here:

Raspberry Pi (elinux) Wiki for RPiconfig.

A fully documented version of the config.txt file is available here:

Documented config.txt

How to use


Enable/Disable by running sudo ./bin/



The ingredient files should be placed in the following location on the NOOBS RECOVERY partition:




This recipe uses the following files:







You can download all the ingredient files, and extracted directly to the NOOBS SD-Card (ensuring you remove the ZIP file’s name from the directory – the files should be extracted to pi-kitchen/002-bootdisplay).

The Recipe Files

Each recipe will use one file for each of the partitions it installs to – boot, root and data).

You will need to suitably rename or copy the content of each of the following files into your recipe files (i.e. RaspbianPiKitchen_root.txt) and place them in your os folder in the NOOBS partition (i.e. os/Raspbian).

For more information see the Pi-Kitchen: Creating Flavours guide.



#Recipe: 002-bootdisplay

#Configure the boot settings:

#-- Only one config.txt file should be applied at any one time (only comment one out)

#- HDMI Normal - Default setting will detect HDMI connection on power up


#- HDMI Forced - Will always select HDMI output


#- SD PAL - Set composite video output to PAL


#- SD NTSC - Set composite video output to PAL



#Add switchdisp files:

../../pi-kitchen/002-bootdisplay/hdminormal/config.txt /display/hdminormal

../../pi-kitchen/002-bootdisplay/hdmiforced/config.txt /display/hdmiforced

../../pi-kitchen/002-bootdisplay/sdtvpal/config.txt /display/sdtvpal

../../pi-kitchen/002-bootdisplay/sdtvntsc/config.txt /display/sdtvntsc



#Recipe: 002-bootdisplay

#Add switchdisp files:

#- should be set as executable

../../pi-kitchen/002-bootdisplay/ /home/pi/bin +x

Enjoy baking your Raspberry Pi SD-Card fresh from the Pi-Kitchen.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.