Modify tty resolution in Ubuntu

Source: Internet
Author: User
Recently, I had a whim and wanted to write code under tty2, so I was searching for information on the Internet. The methods for modifying tty under Ubuntu seem quite a lot, but many of them are repeated. Xy is used to deciding which method to use after comparing the various tutorials. This modification focuses on modifying the kernel Parameter of menu. list of grub. Many networks provide the specific value of this vga parameter, but xy is a notebook with a resolution of 1280*800. Therefore, xy needs to be viewed through a program named hwinfo.

Recently, I had a whim and wanted to write code under tty2, so I was searching for information on the Internet. The methods for modifying tty under Ubuntu seem quite a lot, but many of them are repeated. Xy is used to deciding which method to use after comparing the various tutorials.

This modification focuses on modifying the kernel Parameter of menu. list of grub. Many networks provide the specific value of this vga parameter. However, xy is a notebook with a resolution of 1280*800, so xy needs to use a program named hwinfo to view the vga parameters of his notebook. Finally, check that 8bits is 0x360, and 24bits is ox361, the specific modification is to add

Java code
Vga = 0x360

Let's just look at 8bits for xy first, because there is not much color in tty. There is basically no problem after the restart, but when it is turned off, I feel that the Ubuntu icon has changed to 8bits. Okay, I changed it to 24 bits.

Change the method xy to 24bits. You can modify the VGA parameter. Then, when Ubuntu is shut down, the icon will not change to 8BITS. However, when switching to TTY, you will feel that the screen is not obviously flushed. Although it is unclear that FRAMEBUFFER is a relatively low-level thing, consider it, delete the VGA parameter. However, this is a joke. The resolution of 640*480 does not affect much.

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.