Ubuntu TTY Fonts

Source: Internet
Author: User

Purpose: Modify the font size under TTY terminal, Chinese display, font aesthetics problem

Linux version: xubuntu14.04

When switching to TTY terminal mode, Chinese characters are garbled and the fonts are too small to affect reading. Searched the internet for some information and recorded the problem and solution as follows.

The tool used is fbterm

1, install Fbterm

2,fbterm use Help, fbterm configuration file for ~/.FBTERMRC files in home directory

3, root permission must be used to start fbterm

Note: This is only for commands, Fbterm can only be started in a TTY environment.

4, followed by a problem is that the font is larger, but the default font display is missing, because it is a TTY environment, such as the letter m, the effect is to look like N, that is, the right side of a vertical has not, greatly affect the coding mood. The workaround is as follows.

5. Modify the configuration file ~/.fbterm

Default

After modification

6, support for virtual terminal, similar to Byobu

Ctrl Alt C: Create a new virtual terminal

Ctrl Alt D: Exiting the current virtual terminal

Shift left: Move to the previous virtual terminal

Shift right: Move to the next virtual terminal

Ctrl Alt number N: Move to nth virtual terminal

In addition, there is the ability to turn pages:

SHITF PAGE UP: Paging up

SHITF PAGE DOWN: Page Down

7,q&a

1. Why didn't I/dev/fb this file?

First you need to correctly enable Framebuffer support in the kernel, this is not within the scope of this article, Google can find out the detailed configuration method.

If you have enabled Framebuffer or do not have this file, then you can look at the grub has not been added to the correct VGA parameters, if there is/dev/fb0 this file, then build a link/dev/fb-/dev/fb0 on it.

2. Why is fbterm still unable to display Chinese?

First to see whether the ~/.FBTERMRC in the correct configuration of the Chinese font, but also do not forget to set the terminal Locale character set to UTF-8, you can try to export lc_all= "ZH_CN. UTF-8 "Add to your ~/.BASHRC.

Ubuntu TTY Fonts

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.