Archlinux uses fbterm and ucimf as the Chinese Terminal

Source: Internet
Author: User
Archlinux uses fbterm. ucimf, as a Chinese terminal, recently transferred the source program under WIN to linux. it basically works in the console, so garbled code is often encountered, which is disgusting. Today, I finally found my solution to find a Chinese terminal. I can find two options online...
Arch linux uses fbterm. ucimf, as a Chinese terminal, recently transferred the source program under WIN to linux. it basically works in the console, so garbled code is often encountered, which is disgusting. Today, I finally found my solution to find a Chinese terminal. I have found two ways on the Internet: kernel patching, which is difficult and fbterm. I chose fbterm and looked for it. I found that many people sent fbterm + yong input methods, but after I got down yong, I found that archlinux is not supported in his script, it seems that no source code has been released. Fortunately, someone on AUR has put it out, but I tried it and wanted support for gdk and gtk, but after I installed it all, if it is found that it is still unavailable, it indicates that gtk cannot be displayed... Therefore, www.2cto.com can only use the combination of fbterm and ucimf. There are also some problems with this combination. I chose this combination at the beginning, but it took a few hours for some reasons, so I turned around and tried fbterm + yong, as a result, I had to go back and try the combination again. Fortunately, I got it --! First, install two Chinese fonts and an English equal width sudo pacman-S wqy-zenheisudo pacman-S wqy-bitmapfontsudo pacman-S ttf-inconsolata. you can also use AUR to install a ttttf-microsoft- yahei 6.02-2 then install the fbterm-1.7.0-4-i686.pkg.tar.xz via AUR and run fbterm to generate the default configuration file. Www.2cto.com vim. fbtermrcfont-names = Inconsolata, Micosoft Yahei Songcursor-shape = 1 vim. bashrcalias fbterm = 'Lang = zh_CN.UTF-8 fbterm 'and then use AUR to install libucimf2.3.8-1 note that in the makepkg-s step, an error is prompted and you need to manually find the ucimf in the file. cpp is added with a header file # include
Modify PKGBUILD to comment out the line starting with "source" to prevent the next download from overwriting your changes, then makepkg-s will not cause errors. then, you can use AUR to install fbterm-ucimf 0.2.9-2 www.2cto.com. if you enter fbterm, you can display Chinese characters, but VIM is still garbled. A typical phenomenon is to use VIM to open a Chinese File. the following shows three Chinese characters that have been converted, but the file still contains garbled characters. You only need to add the encoding format fileencodeing = ........... You can. However, using ctrl + space at this time will prompt that the execution of IM fails, and I will find it everywhere. Finally, I found that I had to install two in the corner of a web page. Use AUR to install openvanilla-modules 0.9.1-1 and then use AUR to install ucimf-openvanilla 2.10.11-2. at this time, you can switch to fbterm again using ctrl + space input method, but if you press F9, it is locked, and the button www.2cto.com is invalid. Then I found it online and found it everywhere on the ucifm official website. I didn't find any problems. The official archlinux installation is similar to that of me. Then I tried to repeat the previous steps. Then I tried the yong input method, and the result was equally tragic. finally, when I looked at the official images, I found a problem: there were two official pinyin characters displayed on the official list, I am empty. Then I went to the official download link and found two comparable files: ucimf-sunpinyin and ucimf-we ...... the two files, whether in the official installation documentation or on other web pages, have not been mentioned that they need to be installed. However, since the official download is available, I tried it and it is missing. Www.2cto.com pacman-S sunpinyinpacman-S ibus-sunpinyinpacman-S gambas2-gb-db-sqlite3pacman-S gambas3-gb-db-sqlite3aur ucimf-sunpinyin 0.5-2 this time start fbterm again, ctrl + space, you can enter Chinese normally, no problem at all. However, there is also a small problem, that is, when the input method is disabled, there will be two more small characters. However, this does not matter.

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.