Add Custom Resolution with xrandr

 

Run “xrandr” to view display details

 

Run “cvt 1920 1080” to get a modeline such as below:

 

“1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync

 

Then add the above line to the –newmode command, example “sudo xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync”

 

Then add mode “sudo xrandr –addmode DVI-0 “1920x1080_60.00″”

 

To ensure the change is persistent, add the last two commands to ~/.profile (“sudo nano ~/.profile”) example:

xrandr –newmode “1920x1080_60.00” 173.00 1920 2048 2248 2576 1080 1083 1088$

xrandr –addmode DVI-0 “1920x1080_60.00”

Sidebar