Linux Command Line resolution Adjustment

Source: Internet
Author: User

Installing Linux on VMWare is a little uncomfortable. To make the virtual machine more authentic, you must adjust many things. Resolution is one of them. We all know that after installing vmware-tools, the graphic interface resolution looks quite comfortable, but it will feel uncomfortable if it is adjusted to the command line. I checked a lot of information on the Internet and found a compromise solution. Although it is not perfect, it can partially solve some problems.

 

In fact, there is a file/boot/GRUB/menu in Linux. LST, this file sets the command line resolution. You can add VGA = 0x *** after the kernel line in this file, so that the resolution will be improved. Of course, you need to restart the operating system after setting.

 

As shown in the following table:

 

# Framebuffer resolution settings

# + ---------------------------------------------------------------- +

# | 640x480 | 800x600 | 1024x768 | 1280x1024 | 1280x800 | 1600x1200

# ---- + -------------------------------------------------------------

#256 | 0x301 = 769 0x303 = 771 0x305 = 773 0x307 = 775 0x31c = 796

#32 k | 0x310 = 784 0x313 = 787 0x316 = 790 0x319 = 793 0x360 = 864 0x31d = 797

#64 k | 0x311 = 785 0x314 = 788 0x317 = 791 0x31a = 794 0x361 = 865 0x31e = 798

#16 M | 0x312 = 786 0x315 = 789 0x318 = 792 0x31b = 795 0x362 = 866 0x31f = 799

 

 

It looks clear to stick to notepad. This is probably the configuration of ubento, so on my machine (I use RedHat, fedora4), the resolution 1280*800 cannot be displayed, this is why I say it is a "compromise" solution. I guess the command line of the older Linux version may not support the 1280*800 compromise wide screen display. I also have a display that is 1440*900, which is naturally not enough, but it is certainly better than the original 640*480.

 

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.