Ubuntu Change screen resolution

Source: Internet
Author: User

After installing Ubuntu found that the resolution is not appropriate, usually used to look at a smaller text, so search for the screen resolution to modify the command, the specific operation is as follows:

1. First use the xrandr command to see the current system supported resolutions

[Email protected]:~$ xrandrscreen0: Minimum theX $, current1024x768X768, maximum8192X8192VGA-1Connected Primary 1024x768+0+0(normal left inverted right x axis y axis) 0mm x 0mm 1024x76860.00* the0x60060.3256.25848x48060.00 -0x48059.94HDMI-1disconnected (normal left inverted right x axis y axis) HDMI-2Disconnected (normal left inverted right x axis y axis)

The back with the * number is your current resolution

2. I've used the 1440x900 resolution before this screen, so use the CTV command to generate a detailed resolution

1440  the # 144 0x900 59.89 1 55.93 106.50  "1440x900_60.00"106.501440 1528  16721904903909934 -hsync +vsync

3. Then continue to create a new resolution with the Xrandr--newmode command, the newly created resolution is the string following the modeline generated above

" 1440x900_60.00 " 106.50 1440 1528 1672 1904  the 903 909 934 -hsync +vsync

4. Add the new resolution above with the xrandr--addmode command to the resolution list

[Email protected]:~$ xrandr--addmode vga-1"1440x900_60.00"

Note that the following 60 refers to the screen refresh rate

5. Finally output the resolution you want with the Xrandr--output command

[Email protected]:~$ xrandr--output vga-1"1440x900_60.00"

Seems to have succeeded, but when you restart will find that the resolution will revert back to the original, so on the internet search, found the following methods:

In the terminal input command:

$sudo gedit/etc/x11/xorg.conf

Then paste the following script and save

Section"Monitor"Identifier"configured Monitor"Modeline"1024x768_60.00" 63.50 1024x768 1072 1176 1328 768 771 775 798-hsync +Vsyncmodeline"1440x900_60.00" 106.50 1440 1528 1672 1904  the 903 909 934-hsync +vsyncoption"Preferredmode" "1440x900_60.00"endsectionsection" Screen"Identifier"Default Screen"Monitor"configured Monitor"Device"configured Video Device"endsectionsection"Device"Identifier"configured Video Device"endsection

Reboot again is OK!







Ubuntu Change screen resolution

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.