How set my monitor resolution? [duplicate]

I have installed Ubuntu on my desktop, but my monitor don't pass more than 800x600 resolution.

My monitor is good at 1360x768. How can I set resolution at 1380x768 ?


I'll show you an example of how you can set your monitor resolution.

Get the Modeline with the following command. 60 is the monitor refresh rate in Hz. You have to know your monitor refresh rate!!!

cvt 1360 768 60

The output looks like this. Copy the modeline after Modeline to use it in the next command.:

# 1360x768 59.80 Hz (CVT) hsync: 47.72 kHz; pclk: 84.75 MHz
Modeline "1360x768_60.00"   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync

Create a new mode with the copied modeline and xrandr.:

xrandr --newmode "1360x768_60.00"   84.75  1360 1432 1568 1776  768 771 781 798 -hsync +vsync

With the following command, you get the connected port.

xrandr --query | grep connected

The output looks like this. As you can see, in my case the connected port is DVI-0.:

HDMI-0 disconnected (normal left inverted right x axis y axis)
DVI-0 connected 1920x1080+0+0 (normal left inverted right x axis y axis) 521mm x 293mm
VGA-0 disconnected (normal left inverted right x axis y axis)

Add the new mode using your connected port.:

xrandr --addmode DVI-0 "1360x768_60.00"

Change the monitor resolution.:

xrandr --output DVI-0 --mode "1360x768_60.00"

You should access System Settings - Display. There you'll see a Resolution drop-down menu. Just click on it an check the resolution you desire, as 1360x768. Then, just click Apply and you should see the changes.

Select System Settings

Select Displays from the list

Change your resolution