Make Custom Display Resolution Ubuntu

The display resolution is the number of distinct pixels in each dimension that can be displayed. It is usually mentioned as width × height. Screen resolution is the number of horizontal and vertical pixels on a display screen. for example, "1024 × 768" means 1024 horizontal pixels and 768 vertical pixels.

Some most common Screen resolution

1360 × 768 and 1366 × 768 is considered as HD Normal or HD Ready.
1600 × 900 is HD+
1920 × 1080 is Full HD.
3840 × 2160 is 4K.
The aspect ratio is the proportional relationship between the width and height. It is the ratio between width and the height for the screen. The most common aspect ratios are 4:3, 16:10, 16:9 (Mostly Used).

Make Custom Display Resolution Ubuntu-- Resolution Options

How to make Custom Resolution on Ubuntu

We need to add new mode of screen resolution on our computer for that we will use xrandr utility at Ubuntu. To add new mode we need to specify the model using the ModeLine syntax for xorg.conf.
We can create the model structure for our required resolution using the gtf tool. We need to provide the desired horizontal and vertical resolutions and refresh rate (in Hz). Then it will printout for a matching VESA GTF mode.
For the resolution of 1600 x 900 and refresh rate 60 run gtf 1600 900 60

gtf 1600 900 60
119.00  1600 1696 1864 2128  900 901 904 932  -HSync +Vsync
Now we get the output which is the required Model syntax for the tool xrandr. Now run xrandr --newmode "1600x900_60" 119.00 1600 1696 1864 2128 900 901 904 932 -HSync +Vsync and to add this mode xrandr --addmode HDMI-1 1600x900_60 Here 1600x900_60 is the name of the mode.
xrandr --newmode "1600x900_60" 119.00  1600 1696 1864 2128  900 901 904 932  -HSync +Vsync
xrandr --addmode HDMI-1 1600x900_60
Important Remember that the HDMI-1 is for my PC. It may be different for your pc as HDMI1, or you are using VGA port. You can find the currently available Resolution usong xrandr command. You will find your connected monitor there. So if you find some error "xrandr: cannot find output "HDMI-1"" You need to check how your monitor is stated on xrandr.
Again to make things clear. for 1500x844 @ 60 Hz.

gtf 1500 844 60
# 1504x844 @ 60.00 Hz (GTF) hsync: 52.44 kHz; pclk: 104.04 MHz
Modeline "1504x844_60.00"  104.04  1504 1584 1744 1984  844 845 848 874  -HSync +Vsync
xrandr --newmode "1500x844_60" 104.04  1504 1584 1744 1984  844 845 848 874  -HSync +Vsync
xrandr --addmode HDMI-1 1500x844_60


Here we learn how to add out own custom resolution in the display. We can use gtf to create the model required. And provide the model to add new create new model using xrandr and add the newly created model in the dropdown menu.