Ads Top

Add custom Resolution in Ubuntu

When you want to add custom resolution in your system where you want to test for responsiveness of anything or you need to add missing resolution.

Here, what I do when I required add custom resolution.

Follow given steps here,

1. Create New Resolution using below command.
 
Command : 
 
sudo cvt 1920 1080 60
 
Output :
 
# 1920x1080 59.96 Hz (CVT 2.07M9) hsync: 67.16 kHz; pclk: 173.00 MHz
Modeline "1920x1080_60.00"  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
 
2. Declare newly created resolution

Command : 
 
sudo xrandr --newmode "1920x1080_60.00" 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync
 
3. Determine the Display Mode
 
Command : 
 
sudo xrandr -q
  
Output :
 
Screen 0: minimum 8 x 8, current 1366 x 768, maximum 32767 x 32767
eDP1 connected primary 1366x768+0+0 (normal left inverted right x axis y axis) 344mm x 193mm
   1366x768       60.0*+
   1360x768       59.8     60.0  
   1280x720       60.0  
   1024x768       60.0  
   1024x576       60.0  
   960x540        60.0  
   800x600        60.3     56.2  
   864x486        60.0  
   640x480        59.9  
   720x405        60.0  
   680x384        60.0  
   640x360        60.0  
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
  1920x1080_60.00 (0x122)  173.0MHz
        h: width  1920 start 2048 end 2248 total 2576 skew    0 clock   67.2KHz
        v: height 1080 start 1083 end 1088 total 1120           clock   60.0Hz
 
 
4. Add New Resolution Mode to Display Device List
 
Command : 
 
sudo xrandr --addmode VIRTUAL1 1920x1080_60.00
 
 
5. Now you can change your display resolution.

- Open system setting
- Click on Display 
- Select New Resolution 1920x1080 
- Select Apply 
- Click on Keep this Configuration to continue with new resolution
 
Add custom Resolution in Ubuntu Add custom Resolution in Ubuntu Reviewed by Ghanshyam Katriya on 00:08 Rating: 5

No comments