Let the Console mode support wide screen resolution-general Linux technology-Linux technology and application information. The following is a detailed description. On the way to playing Linux, everyone will work more or less in Console mode. The console is rarely used by most end users. However, learning to work in Console mode can still solve many problems.
I used to think that the resolution in Console mode cannot be changed to a wide screen, but it can only be a standard. I did not expect a mistake! The console mode also supports the wide screen!
Please refer to OceanBoo's practices:
If you are familiar with the following sets of numbers, but these numbers do not contain the resolution of the wide screen, there is no way for the wide screen users to continue using the general screen resolution, this causes the font to be blurred in the console.
Reference value for x 640x480x800x600x1024x768x1280x1024x1152x864
8 bit 769 771 773 775 353
15 bit 784 787 790 793 354
16 bit 785 788 791 794 355
24 bit 786 789 792 795
In gentoo, run the following command to install the lrmi (Linux real mode interface) package.
# Emerge-av lrmi
Run the following command:
# Vbetest
The following message is displayed:
VBE Version 3.0
Intel (r) 82945GM Chipset Family Graphics Chip Accelerated VGA BIOS
[352] 1280x800 (256 color palette)
[353] 1280x800)
[354] 1280x800)
[261] 1024x768 (256 color palette)
[279] 1024x768)
[280] 1024x768)
[274] 640x480)
[276] 800x600)
[277] 800x600)
[257] 640x480 (256 color palette)
[259] 800x600 (256 color palette)
[273] 640x480)
We can see that the first column is the required vga value, but this value is not final. We must add 512 to this value, for example, if I want to select the resolution and color depth of [353] 1280x800 (), the vga value is equal to 865 (353 + 512)
Now, we only need to add a line similar to the following in the menu. lst of grub, and the console can perfectly adapt to the wide screen resolution.
If you are using Ubuntu, you can also use the same method to obtain the VGA value. However, the ubuntu source does not seem to have the lrmi package. You can download the source code package and compile it here.
Note:
1. Do not copy this number directly for a wide screen user. Different video cards may have different results and need to be tested by yourself.
2. After testing, the Ubuntu 7.04 splash does not seem to support the wide screen resolution. Therefore, after setting it to the wide screen resolution, the splash will obviously be left and 7.10 has no environment. Some netizens have tried to reply.
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.