How to configure two monitors on Ubuntu 16.04?

I'm a front-end developer and I work with a laptop running Ubuntu 16.04. Recently, I bought a Full HD monitor in order to better test my applications.

But the main thing I want to do, I hadn't achieved yet, that is write code in my laptop and visualize the result at the same time in my monitor.

In other words... I would have Sublime Text/Terminal opened in the laptop and the browser opened in the monitor.

How can I achieve it? Any help is welcome.


Solution 1:

You should be able to do this quite simply from in the settings

This guide covers it quite well:

https://help.ubuntu.com/stable/ubuntu-help/display-dual-monitors.html (Latest Ubuntu Version)

As an overview you would go to System Settings, then Screen Display where you can turn the monitor on and off. Make sure to not have ticked "Mirror Display"

Hope that helps

Edit: For Ubuntu 16.04 - Copied from the docs (no longer available):

To set up an external monitor with your laptop, connect the monitor to your laptop. If your system doesn't recognise it immediately, or you would like to adjust the settings:

  1. Click the icon at the very right of the menu bar and select System Settings.

  2. Open Screen Display.

  3. Click on the image of the monitor you would like to activate or deactivate, then switch it ON/OFF.

  4. By default, the Launcher only shows on the primary monitor. To change which monitor is "primary", change the monitor in the Launcher Placement drop-down box. You could also drag the Launcher in the preview to the monitor you want to set as the "primary" monitor.

  5. If you want the Launcher to show on all monitors, change Launcher Placement to All Displays.

  6. To change the "position" of a monitor, click on it and drag it to the desired position.

  7. If you would like both monitors to display the same content, check the Mirror displays box.

  8. When you are happy with your settings, click Apply and then click Keep This Configuration.

  9. To close the Displays click on the x in the top corner.