Adjust the resolution of LinuxCLI

Source: Internet
Author: User
Adjust the resolution of LinuxCLI-general Linux technology-Linux technology and application information. The following is a detailed description. A few days ago, the command line interface (CLI) of Linux suddenly came up with an idea, and set the display resolution of the terminal. The default resolution is too unsatisfactory.

In general, it is quite easy to adjust the resolution of the CLI, that is, you need to modify the parameters, but you cannot modify the parameters at will. You still need to study the modification before making the changes.

We all know that the resolution of a display is represented by vertical resolution X horizontal resolution, but the concept is color depth ). I'm afraid I know a lot about this concept. In fact, there is nothing. Simply put, the color depth can represent the number of colors, indicating that a pixel on the screen is represented by several binary bits. For example, if the color depth is 8, the color of each pixel is represented by 8 binary bits. In this way, the total number of colors that can be expressed is the 8th power of 2, that is, 256. of course, the greater the color depth value, the more colors it can represent and the more colorful it can be displayed.

Next, go to the topic.

In linux, you can set the CLI color by passing kernel parameters. In other words, relevant parameters are passed to the kernel during system boot. The task of passing parameters is completed by the bootstrap loader. Generally, the bootstrap loader is lilo or grub.

Compare the resolution and color depth with the corresponding Kernel Parameters
QUOTE:
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.