How to configure two or more monitors in Linux Mint from the terminal

You can run various tasks from the Linux terminal. One of them consists of configuring several monitors in the Linux Mint distribution, as long as we can access tools such as “ARandR”. In this sense, we recommend you read this article where you will learn How to configure two or more monitors in Linux Mint from the terminal

What is Linux Mint?

Linux Mint is a practical and stable distribution of GNU / Linux. It has a well-known version called “Cinnamon” and it has an elegant and practical interface. Linux Mint is designed for modern computers with excellent performance.

One of the attributes of Linux Mint is its stability and long-lasting support. Also, they highlight the speed of the system and a desktop based on GNOME 2.0 that consumes few resources. If you don’t already own this distribution, go to the Linux Mint website to download and install Linux Mint in the “Cinnamon”, “Mate” or “Xfce” version.

What is ARandR?

ARandR is graphical software derived from XRandR . This program allows the configuration of the monitor and the edition of multiple graphic functions by means of commands. In addition, ARandR makes it easy to control the position and rotation of the image and save the changes to preserve the settings from the application.

The ARandR program is available for Linux repositories so it is possible to download it from the system terminal. Also, users can find this tool on different websites.

How to configure two or more monitors in Linux Mint from the terminal

It is possible to configure two or more monitors in Linux Mint from the terminal. For this, it is convenient to learn to use the Linux terminal and the basic commands . In this way, it will be easier to use the ARandR tool, especially if you follow the procedure that we explain below.

Connect the monitors

The first step is to connect the monitors to your computer’s graphics card . Make sure to use a suitable and good cable to make the connection successfully.

Also, check the compatibility of the video slots between the monitors and your graphics card. In any case, you can choose to use an adapter.

Install the graphics card driver

If you still don’t have the driver for your PC’s graphics card, it is advisable to go to the repository and download it. To do this, access the Linux terminal using the “Ctrl + Alt + T” keys. In the command window type apt-get install nvidia-settings if your device belongs to the manufacturer “Nvidia” and press “Enter”.

Set up the monitors

The monitors can be configured from the graphics card software . To do this, go to “System” and select “Administration”. Then go to “NVIDIA X Server Settings”. Choose the “Detect Display” option. Click on “Configure” and choose “TwinView.” Locate “Save to X Configuration File” and select “Desktop.” Finally, save your changes.

Download the ARandR tool

The process to download packages and programs from the terminal is very simple. In fact, you can use “ARandR” from the Linu repository after accessing the terminal with the “Ctrl + Alt + T” keys. In the terminal, type the following command line: sudo apt upgrade and press “Enter.” In this way, you can update the packages in the repository .

Then, write the syntax: sudo apt-get install arandr and press the “Enter” key for the system to proceed to locate and download the ARandR program .

 Open ARndR to configure the two monitors in Linux Mint

Once you have downloaded the program, you can run it from the terminal. To do this, type arandr and press the “Enter” key. A graphical interface will open with which you can configure the monitors by placing one screen next to the other and saving the new configuration.

Subsequently, press the button (with the down arrow) and check if the second monitor is an extension of the content that your main screen presents.

Modify the screen resolution from the terminal

You can change the screen resolution from the terminal. For example, if you want to set a frequency of 60 Hz, you can write the following syntax: gtf 1366 768 60 and press the “Enter” key. With the command “gtf” you can manage the main monitor and its extensions

 

Leave a Comment