Ubuntu11.04 change resolution

Source: Internet
Author: User
Just upgraded from Ubuntu10.10 to 11.04, everything went well, but some software had to be reinstalled. But there is a problem, that is, how can I change the screen resolution to 1024*768? I checked some information and finally succeeded. The method is simple as follows: Step 1: Enter the command in the terminal: cvt1024768 ("1024768" is written based on the resolution. Other resolutions include: 600*480, 800*600, 1024*768, 1400x1050, 16

Just upgraded from Ubuntu 10.10 to 11.04, everything went well, but some software had to be installed again, which is nothing.
But there is a problem, that is, how can I change the screen resolution to 1024*768?
I checked some information and finally succeeded. The method is as follows:

Step 1: Enter the command in the terminal: cvt 1024 768

("1024 768" is written based on the resolution. Other resolutions include: 600*480, 800*600, 1024*768, 1400x1050, 1600x1200, 1280x720, and 1920x1080 ). if you want to set the display resolution to 1600*1200, enter the command: cvt 1600 1200

Step 2: Write down the output parameters in the terminal. For example, the parameters displayed after I enter cvt 1024 768 in the terminal.

(Note: The parameters of different monitors are different. Therefore, you must run the first command instead of copying the parameters of other monitors)

#1024x768 59.92Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771-hsync + vsync

Step 3: Enter the command in the terminal: sudo gedit/etc/X11/xorg. conf (case sensitive): enter the password and open a file (if it does not exist, a file will be created ). If the file is blank, add the following content to the file. Replace the parameters in Modeline and Modes. After saving the file, restart the system to change the resolution.

Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
EndSection

Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
EndSection

Section "Device"
Identifier "Configured Video Device"
EndSection

Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0-83.0
VertRefresh 50.0-75.0
Option "DPMS"
Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771-hsync + vsync
EndSection

Section "Screen"
Identifier "Default Screen"
Monitor "Monitor0"
SubSection "Display"
Virtual 1024 768
Modes "1024x768"
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.