Adjust the screen resolution of a Linux operating system

Source: Internet
Author: User
Article Title: Adjust the screen resolution of the Linux operating system. Linux is a technology channel of the IT lab in China. Including desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic classification run in the command line: gtf 1024 768 60
 
The update rate of my notebook is 60Hz.
 
[Root @ localhost ~] # Gtf 1024 768 60
 
#1024x768 @ 60.00Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
 
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769-HSync + Vsync
 
[Root @ localhost ~] #
 
In the xorg. conf file in/etc/X11, modify Section "Monitor"
 
Section "Monitor"
 
Identifier "Monitor0"
 
VendorName "Monitor Vendor"
 
ModelName "Unknown monitor"
 
# HorizSync 31.5-37.9 [comment out this line]
 
# VertRefresh 50.0-70.0 [comment out this line]
 
Option "dpms"
 
#1024x768 @ 60.00Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
 
Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769-HSync + Vsync
 
EndSection
 
And modify Section "Screen"
 
Section "Screen"
 
Identifier "Screen0"
 
Device "Videocard0"
 
Monitor "Monitor0"
 
DefaultDepth 24
 
SubSection "Display"
 
Viewport 0 0
 
Depth 24
 
Modes "1024x768" "800x600" "640x480"
 
EndSubSection
 
EndSection
 

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.