Ubuntu resolution settings

Source: Internet
Author: User
I have an 11-inch netbook with ubuntu installed. A 19-inch display has been added. The resolution can only be 1024x768 at most. Unknown display is displayed in display settings. Run the following command to view the video card information: $ lspci | grepVGA00: 02.0vgacompatiblecont..my 11-inch netbook is installed with ubuntu. A 19-inch display has been added. The resolution can only be 1024x768 at most. "Unknown" display is displayed in the display settings.
Run the following command to view the video card information:
$ Lspci | grep VGA
. 0 VGA compatible controller: Intel Corporation Mobile 945GME Express Integrated Graphics Controller (rev 03)
 
I always thought that the graphics card driver was not properly installed, so I downloaded the source code of the intel graphics card linux driver and spent a few days compiling (during which N packages were installed on it ), in the end, Xorg was not installed successfully. The system has been reinstalled. In fact, the driver for intel integrated graphics card has been installed, and the command sudo apt-get install xserver-xorg-video-intel can also be installed.
Then, you can see solutions such as modifying/etc/X11/xorg. conf on the Internet. I am getting bigger.
Finally, we found the solution: xrandroid command.
First, run xrandroid to view the resolution:
$ Xrandroid
Screen 0: minimum 320x200, current 1280x1024, maximum 4096x4096
LVDS1 connected (normal left inverted right x axis y axis)
1024x600 60.0 +
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1280x1024 + 0 + 0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0 *
800x600 60.3 56.2
848x480 60.0
640x480 59.9
The line of the star number is the resolution I am using.
The following uses the cvt command to generate a modeline to prepare for subsequent resolution addition:
$ Cvt 1440 900
#1440x900 59.89Hz (CVT 1.30MA) hsync: 55.93 kHz; pclk: 106.50 MHz
Modeline "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909-hsync + vsync
Run xrandroid -- newmode to create a resolution mode. use the content after "Modeline" (-- rmmode to delete this mode ):
$ Xrandroid -- newmode "1440x900_60.00" 106.50 1440 1528 1672 1904 900 903 909-hsync + vsync
Then, use xrandroid -- addmode to add this mode to the display (-- delmode to remove this mode from the display ):
$ Xrandroid -- addmode VGA1 "1440x900_60.00"
Finally, apply this mode:
$ Xrandroid -- output VGA1 -- mode "1440x900_60.00"
At this point, my screen looks much refreshed.
Use xrandroid to check:
$ Xrandroid
Screen 0: minimum 320x200, current 1440x900, maximum 4096x4096
LVDS1 connected (normal left inverted right x axis y axis)
1024x600 60.0 +
800x600 60.3 56.2
640x480 59.9
VGA1 connected 1440x900 + 0 + 0 (normal left inverted right x axis y axis) 0mm x 0mm
1024x768 60.0
800x600 60.3 56.2
848x480 60.0
640x480 59.9
1440x900_60.00 59.9 *
After the settings are complete, my screen shows about 5 pixels to the left, which can be raised directly on the display (hardware.
Reference: https://wiki.ubuntu.com/X/Config/Resolution
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.