Sunday 16 September 2018

Using Desktop Raspbian with a second screen or projector

After various dalliances with Mint, Mate, Elementary and vanilla Ubuntu, we've decided to standardise on the Desktop version of Raspbian for the "club" laptops that we have available at CoderDojo Ham,

There's a couple of reasons for this. Firstly it installs easily and quickly, and runs well on old, low.  powered devices (most of our laptops are donated or re-furbished) . Secondly, it comes with loads of great educational software and editors installed be default, which saves time in preparing the machines for use.

An important part of our Dojo is the show-n-tell at the end, where the keen youngsters show off their amazing projects on the big screen. This is always hugely popular and we normally have a long queue of patient coders to get through.

One thong we hadn't thought about when selecting Desktop Raspbian as our operating system of choice was using the club machines with the AV desk and getting them to display on the Kingston University STEM centre's excellent big screens. The first time we connected the VGA cable to the port on one of the laptops, nothing appeared to happen, and none of the menu setting within Raspbian seemed to help. Obviously the look and feel of Raspbian is geared towards the Raspberry Pi, so using multiple displays is not a common configuration.

After some messing around we discovered that reboot the laptop allowed the projector to be detected, although the default setting seemed to be for 2 screens rather than having the second mirror the first.

This is OK, but rebooting takes up precious time (remember the big queue) and having two windows can be confusing for the youngsters.

So a bit a experimentation revealed a better, simpler command line solution.

  1. Connect the second display
  2. Open a Terminal Window 
  3. Type xrandr --auto

This should automatically detect the new output device and set-up mirroring.

Some other useful commands

xrandr --listmonitors 

(this lists all the detected monitors)

xrandr --output <laptop monitor name> --same-as <projector name> 

(this forces mirroring - you can also add in other parameters, for example if the aspect ratios of the two screens were very different).


  1. Nice post. It is really interesting. Thanks for sharing the post!
    Digital Marketing Services in India

  2. GB Instagram, OG Instagram, Instagram plus, and other mods are excellent to download the videos, stories and photos from Instagram. I have downloaded the Instagram mod from GB Instagram by Insta Mods, which is the original site that has fully featured mods of Instagram.

  3. สล็อต ออนไลน์ เป็นแบบเกม เว็บไซต์สล็อต สล็อตออนไลน์ ยอดนิยมแล้วก็เป็นที่ชอบใจอย่างยิ่งสำหรับผู้เล่นเกมสล็อตออนไลน์ขณะนี้ด้วยต้นแบบเกมส์ มาแรงและแตกดี แตกง่ายที่สุด ของเรา พีจีสล็อต

  4. สล็อต PGSLOTแตกง่าย เล่นง่ายได้เงินจริงผู้ให้บริการเกมสล็อต pg slot ออนไลน์บนโทรศัพท์เคลื่อนที่ที่มีเกมนานาประการให้เลือก เป็นเกมรูปแบบใหม่ที่ทำเงินให้ผู้เล่นได้เงินจริง 

  5. สล็อต เครดิต ฟรี เป็นเครดิตเงินในเกมสล็อตออนไลน์ได้เสริมเติมเครดิตเงินสำหรับ เพื่อการเล่นสล็อตฟรีให้ผู้เล่นโดยที่ผู้เล่นนั้นไม่ต้องเสียเงินจ่ายซึ่งสามารถเล่นเครดิตฟรีเกมพีจีสล็อตได้

  6. Terimaksih Telah Membagikan Artikel ini Ke Audiens Anda Sukses Terus Sewa Proyektor Pekanbaru Terdekat