Tested on:RPi3B, Raspbian Buster
Prerequisites:Raspberry Pi with Raspbian Jessie and internet connection (see steps 1-7 in the Introduction)
Hardware:Official RPi touchscreen
HDMI screen

Easy Raspberry Pi dual screen setup with touchscreen and Django as UI

Just a little while ago, it was difficult setting up two screens with one Raspberry Pi. Better support for two heads is now integrated into the kernel, and this tutorial shows how to do that. This setup was done on a RPi3, but it should work with the RPi3B+ and RPi4B as well.
This is perfect for RPi devices that use Django as user interface and one screen for user input and the other as display.

Connect the official RPi touchscreen and the HDMI screen with the RPi and boot it.

Go to Advanced Options, then GL Driver and select Fake KMS.

Multiple browser windows

Organize the screens like this:

arandr setup

arandr setup

Then press the green checkmark.

Now, you can start two browser instances on the screens and access different Django sites on them:

Knight of Pi

Johannes Bergs aka Knight of Pi. Diploma in Bioinformatics, some Webdesign and Python coding then. Living in the beautiful city of Vienna.


Time limit is exhausted. Please reload CAPTCHA.