If you are looking for software to use, go to Huajun Software Park! software release
Location: front pageTutorial strategyTutorialComputer software tutorials How to adjust Ub...

How to adjust the resolution and screen refresh rate of Ubuntu system?

Author: dim sum Date: 2017-05-22

After installing the Ubuntu system, I found that the system's default screen resolution was too low. The 1280*1024 monitor displayed only a resolution of 800*600. In fact, in most cases, after reinstalling the system, the screen resolution needs to be readjusted to suit the monitor. So how to adjust the resolution and screen refresh rate of Ubuntu system?

How to adjust the resolution and screen refresh rate of Ubuntu system?

1. Command line: cvt <resolution space you need> <refresh rate>

For example, I want to set 1280*1024 and refresh 75, so I enter cvt 1280 1024 75 and press Enter. The Model information we get is what we need, such as:

root@mypc:~# cvt 1280 1024 75

# 1280x1024 74.90 Hz (CVT 1.31M4) hsync: 80.30 kHz; pclk: 138.75 MHz

Modeline “1280x1024_75.00” 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync

Copy the red line.

2. Command line: sudo gedit /etc/X11/xorg.conf to open the configuration file. It doesn’t matter if you don’t have this file. It will be preserved after modification.

Add the following content to this file:

Section “Monitor”

Identifier “Configured Monitor”

Modeline “1280x1024_75.00” 138.75 1280 1368 1504 1728 1024 1027 1034 1072 -hsync +vsync

Option “PreferredMode” “1280x1024_75.00 ”

EndSection

Section “Screen”

Identifier “Default Screen”

Monitor “Configured Monitor”

Device “Configured Video Device”

EndSection

Section "Device"

Identifier “Configured Video Device”

EndSection

The red ones above are the places that need to be modified according to different configurations. After modification, save and restart. In fact, the important thing is the cvt command.

Adjusting the screen resolution and refresh rate under the Ubuntu system is achieved through the command line. Generally, the cvt command is used to adjust the Ubuntu resolution. If there is no xorg.conf, you can use the second command.

Related articles