Question: how to connect two monitors in ubuntu?
Answer: Open the Activities overview and start typing Displays.
Click Displays to open the panel.
In the display arrangement diagram, drag your displays to the relative positions you want. ... 
Click Primary Display to choose your primary display. ... 
Select the orientation, resolution or scale, and refresh rate.
Click Apply.