Ubuntu Display Resolution Problem
Assalamualaikum. In this article, I will share problems that often occur on Linux, is the External Monitor Ubuntu Resolution Stuck at 1024×768, Can’t be Full. even though my external monitor has a resolution higher than that.
Look at the following picture. My external monitor is on number 2 and the Resolution is only 1024×768 and there is no option above it.
Why did it happen and how to fix it? Read the article below carefully.
Ubuntu Missing Resolutions For My Second Monitor
When this article was written, I used an external Flat Panel Monitor from Lenovo, namely the Lenovo D19-10 with the following specifications:
- Resolution is 1366 x 768
- Panel Size 18,5 “
- Connectivity Support is VGA dan HDMI
When this article was written, I used a Lenovo T400 Laptop as the main monitor and a Lenovo D19-10 as an external monitor using a VGA cable. Look at to the following picture:
How to Fix it
1. Check Monitor Name
So that later we can adjust the resolution of our monitor, we must first check the name of our external monitor that is read by the system, the command is:
xrandr -q
The result of the command on my system is:
neon@neon:~$ xrandr -q
Screen 0: minimum 320 x 200, current 1280 x 800, maximum 8192 x 8192
LVDS-1 connected 1280x800+0+0 (normal left inverted right x axis y axis) 303mm x 189mm
1280x800 60.08*+ 59.99 59.97 59.81 50.00 59.91
1280x720 60.00 59.99 59.86 59.74
1024x768 60.04 60.00
960x720 60.00
928x696 60.05
896x672 60.01
1024x576 59.95 59.96 59.90 59.82
960x600 59.93 60.00
960x540 59.96 59.99 59.63 59.82
800x600 60.00 60.32 56.25
840x525 60.01 59.88
864x486 59.92 59.57
800x512 60.17
700x525 59.98
800x450 59.95 59.82
640x512 60.02
720x450 59.89
700x450 59.96 59.88
640x480 60.00 59.94
720x405 59.51 58.99
684x384 59.88 59.85
680x384 59.80 59.96
640x400 59.88 59.98
576x432 60.06
640x360 59.86 59.83 59.84 59.32
512x384 60.00
512x288 60.00 59.92
480x270 59.63 59.82
400x300 60.32 56.34
432x243 59.92 59.57
320x240 60.05
360x202 59.51 59.13
320x180 59.84 59.32
VGA-1 connected (normal left inverted right x axis y axis)
1024x768 60.00
800x600 60.32 56.25
848x480 60.00
640x480 59.94
In the above results, my internal monitor’s name is LVDS-1 and my external monitor is VGA-1.
We will use the name “VGA-1” for the next configuration.
2. Add a Resolution Value
Now, we will use the CVT command to make the resolution. CVT is a utility in Linux to be able to calculate display coordinates.
I want to make the resolution 1366×768, the command is:
cvt 1366 768
*You can replace the value 1366 768 with the maximum resolution of the monitor you are using.
After the command above is executed, later the system will return the parameters according to the resolution that we provide. Examples are as follows:
neon@neon:~$ cvt 1366 768
# 1368x768 59.88 Hz (CVT) hsync: 47.79 kHz; pclk: 85.25 MHz
Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
3. Create a folder “xorg.conf.d”
By default, the xorg.conf.d folder is not available on Linux, so we have to create it using the command:
sudo mkdir -v "/etc/X11/xorg.conf.d/"
After the xorg.conf.d folder has been created, enter the folder with the command:
cd /etc/X11/xorg.conf.d
4. Create a file “10-monitor.conf”
We will create a file named 10-monitor.conf in the xorg.conf.d folder. Where later in this file we will list the resolution we want. This resolution list will appear in the display settings.
The command to create the 10-monitor.conf file is:
touch "10-monitor.conf"
When finished, open the file with the command:
sudo xed 10-monitor.conf
*xed is my text editor. You can replace it with another text editor e.g. gedit, etc.
Fill in the 10-monitor.conf file in the following format:
Section "Monitor"
Identifier "VGA-1"
Modeline "1368x768_60.00" 85.25 1368 1440 1576 1784 768 771 781 798 -hsync +vsync
EndSection
*Identifier is the name of the monitor that is detected on our computer. Currently my monitor name is “VGA-1”
*Modeline is a copy of point 2 above when adding resolution. The different resolutions we add, the different parameters. Please fetch the Modeline parameters from the Terminal.
5. Save & Reboot
After you enter the program line, please save and reboot / restart your linux.
6. Open Display Setting
After completing the reboot, now enter the display settings and you can see that there is already a resolution according to what you want. Please select and press Apply.
Wasn’t what I entered 1366? why is the result 1368? Well, it’s given automatically by the system, so let it be.
We hope that the External Monitor Not Full Linux, Only 1024×768 article is useful.
Read more:
> Types of line-ending serial monitor Arduino
> Install A2DP Ubuntu and get Noise cancelling Work Again
> Display Time Every Second Arduino RTC
Source : Eksternal Monitor Tidak Penuh Linux, Hanya 1024×768