Adding a higher resolution for an external monitor in Ubuntu

in #linux7 years ago

I recently installed Ubuntu Budgie 17.10 on my laptop and for the most part the experience has been awesome.

<p dir="auto">The only thing I've had to 'fix' was when I plugged my external monitor into my laptop's VGA port and it was restricted to 1024 x 768. This was really easy to resolve. Here's what I did. <h2>Open a terminal window <p dir="auto">What application you use will vary depending upon which version of linux you use but in Ubuntu, all you have to do is press CTRL + ALT + T to open a terminal window. <h2>Get the technical details for the resolution <p dir="auto">In the terminal window, type the following command (replaced 1920 and 1200 with your own resolution) <p dir="auto"><code>cvt 1920 1200 <p dir="auto">The details will be displayed for the resolution. You'll need to copy everything after the word Modeline to paste into the next step (see screenshot below) <p dir="auto"><img src="https://images.hive.blog/768x0/https://steemitimages.com/DQmPnNdQmdfD9gEK9rvtxJcT79M42MNYuS2eVScw4pWw1vH/Screenshot%20from%202018-02-04%2012-38-55.png" alt="Copy the text after the word, "Modeline"" srcset="https://images.hive.blog/768x0/https://steemitimages.com/DQmPnNdQmdfD9gEK9rvtxJcT79M42MNYuS2eVScw4pWw1vH/Screenshot%20from%202018-02-04%2012-38-55.png 1x, https://images.hive.blog/1536x0/https://steemitimages.com/DQmPnNdQmdfD9gEK9rvtxJcT79M42MNYuS2eVScw4pWw1vH/Screenshot%20from%202018-02-04%2012-38-55.png 2x" /> <h2>Add the new mode to your system using the text you just copied <p dir="auto">Type <code>xrandr --newmode followed by the text that you copied in the previous step. This will define the new mode so it will be available to your display. Here's the text I used (yours will depend upon what you copied in the previous step) <p dir="auto"><code>xrandr --newmode "1920x1200_60.00" 193.25 1920 2056 2256 2592 1200 1203 1209 1245 -hsync +vsync <h2>Assign the new mode to your external display <p dir="auto">You'll need to know the name of your external display (as far as Linux is concerned). To find this out, just type xrandr on its own. This will list all the displays the system knows about and more importantly, their names. You'll want the second display in the list as the first one will most probably be your laptop's panel (the primary display). <p dir="auto">In the screenshot below, I've selected the name of my external display so you know what to look for. You should be able to see it's called <strong>VGA-1 <p dir="auto"><img src="https://images.hive.blog/768x0/https://steemitimages.com/DQmVezkDsorWhttqmSekHcpB9k2MznLXMc4qHz5yve7G45p/Screenshot%20from%202018-02-04%2012-47-18.png" alt="Identify your display's name" srcset="https://images.hive.blog/768x0/https://steemitimages.com/DQmVezkDsorWhttqmSekHcpB9k2MznLXMc4qHz5yve7G45p/Screenshot%20from%202018-02-04%2012-47-18.png 1x, https://images.hive.blog/1536x0/https://steemitimages.com/DQmVezkDsorWhttqmSekHcpB9k2MznLXMc4qHz5yve7G45p/Screenshot%20from%202018-02-04%2012-47-18.png 2x" /> <h2>Use the display's name to add the new resolution <p dir="auto">Type the following command, using the name of your display and the output text from the first command (just the part with the double quotes). Again, look at the screenshot below if you're not sure what you're looking for. <p dir="auto"><code>xrandr --addmode VGA-1 1920x1200_60.00 <p dir="auto"><img src="https://images.hive.blog/768x0/https://steemitimages.com/DQmS5GZF1v2UnFg3hcmRCjmDGdVmSy5RqhHyakkNQLrtSsF/Screenshot%20from%202018-02-04%2012-51-24.png" alt="Screenshot from 2018-02-04 12-51-24.png" srcset="https://images.hive.blog/768x0/https://steemitimages.com/DQmS5GZF1v2UnFg3hcmRCjmDGdVmSy5RqhHyakkNQLrtSsF/Screenshot%20from%202018-02-04%2012-51-24.png 1x, https://images.hive.blog/1536x0/https://steemitimages.com/DQmS5GZF1v2UnFg3hcmRCjmDGdVmSy5RqhHyakkNQLrtSsF/Screenshot%20from%202018-02-04%2012-51-24.png 2x" /> <h2>Select the new resolution in the display panel <p dir="auto">Open the display configuration applet from the menu (Preferences > Displays), select the monitor by clicking on it (for an external monitor, that will usually be the one on the right) and then select the new resolution. Click Apply and you're done. The monitor should be set to the new, higher resolution and a confirmation box will be shown, given you a chance to back out, just in case something went wrong. <p dir="auto"><img src="https://images.hive.blog/768x0/https://steemitimages.com/DQmQdDnrqhr7xvSuucEcEwWftPSvwYjVvWZntQFFEGQF8GR/Screenshot%20from%202018-02-04%2012-54-18.png" alt="Screenshot from 2018-02-04 12-54-18.png" srcset="https://images.hive.blog/768x0/https://steemitimages.com/DQmQdDnrqhr7xvSuucEcEwWftPSvwYjVvWZntQFFEGQF8GR/Screenshot%20from%202018-02-04%2012-54-18.png 1x, https://images.hive.blog/1536x0/https://steemitimages.com/DQmQdDnrqhr7xvSuucEcEwWftPSvwYjVvWZntQFFEGQF8GR/Screenshot%20from%202018-02-04%2012-54-18.png 2x" />