Ubuntu uses the cvt command to generate the screen resolution and refresh rate under xorg. conf.

Source: Internet
Author: User
Ubuntu uses the cvt command to generate the screen resolution and refresh rate of xorg. conf to generate 1024x768. Refresh 75Hzluther @ gliethttp :~ $ Cvt102476875 #1024x76874.90Hz (CVT0.79M3) hsync: 60.29 kHz; pclk: 82.00 MHzModeline "1024x768_75.00" 82.00 & n

Ubuntu uses the cvt command to generate the screen resolution and refresh rate under xorg. conf.

Generate 1024x768 refresh 75Hz
Luther @ gliethttp :~ $ Cvt 1024 768 75
#1024x768 74.90Hz (CVT 0.79M3) hsync: 60.29 kHz; pclk: 82.00 MHz
Modeline "1024x768_75.00" 82.00 1024 1088 1192 1360 768 771-hsync + vsync
Generate 1280x600 refresh 75Hz
Luther @ gliethttp :~ $ Cvt 1280 600 75
#1280x600 74.76Hz (CVT) hsync: 47.03 kHz; pclk: 78.25 MHz
Modeline "1280x600_75.00" 78.25 1280 1344 1472 1664 600 603 613-hsync + vsync

Set screen resolution

Luther @ gliethttp :~ $ Sudo cp/etc/X11/xorg. conf/etc/X11/xorg. conf. raw
Luther @ gliethttp :~ $ Sudo vim/etc/X11/xorg. conf
Section "Monitor"
Identifier "Configured Monitor"
Modeline "1024x768_75.00" 82.00 1024 1088 1192 1360 768 771-hsync + vsync
Modeline "1280x600_75.00" 78.25 1280 1344 1472 1664 600 603 613-hsync + vsync
Option "PreferredMode" "1024x768_75.00"
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Configured Monitor"
Device "Configured Video Device"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.