Installation of a small input method under CentOS 7.0

Source: Internet
Author: User

Small input method is also called Yong IME, is a free but not open source Chinese input method, its author for dgod,2008 year release the first version, so far six years time is still in constant update. With one person's power silently maintains a project 6 years time, must let the person admire.

    • Official website: http://yong.dgod.net/
    • : http://yongim.ys168.com/

Once tried to install the input method under CentOS 6.5, but the CentOS 6.5 library version is too low, has not been on. The installation process under CentOS 7.0 is documented below.

    1. Download the latest version of Linux from the official website yong-lin-2.2.0-1.7z .

    2. Decompression. The 7z format of the compressed file needs to be installed P7zip to decompress, the software is available in the Epel source.

    3. Installation

       1234 
        $ 
                  cd  Yong  $  su  #./yong-tool.sh--install64 # installation   #./yong-tool.sh--sele CT # Set as default IME  

      Want to uninstall Yong

       1 
        #./yong-tool.sh--uninstall  
    4. System enable Chinese input source

      "Application", "System Tools", "Region&language" Inpu "T source" to add Chinese input source "Chinese (Yong)". You can also consider deleting the Chinese ( US ) Input method, directly using the Yong features to switch between the English input method.

    5. Appears to require a shutdown restart. After restarting, the Chinese and English IME icons appear in the upper right corner of the desktop.

It is important to note that the installation of Yong is in fact only in the/usr/bin under the establishment of two soft links Yong and yong-config, and under the ${HOME} set up a folder. Yong, which contains the Yong configuration file. Therefore, the Yong folder extracted in the second step cannot be deleted.

The Yong configuration file is located in ~/.yong/yong.ini, can be modified as needed, or can be modified directly with the yong-config command to bring up the graphical interface.

My configuration is as follows:

  • The Input Method status bar main window is located in the lower left corner. Because a dual monitor is used, the default window in the lower-right corner causes the status bar to be located on another monitor. (found in the process of the terminal full screen, the status bar in the lower left corner will block the command of some terminals, there is no appropriate solution.) Maybe you can think of the top center. )

  • Delete the English input in the system input source, leaving only the Chinese Yong as the only input source. Use the default Ctrl+lshift as the shortcut key for switching IME. The toggle shortcut key in English and Chinese is set to Ctrl+space. The default Chinese and English toggle keys are lshift, but because I'm used to using LShift+ letters to temporarily enter uppercase letters, if you use lshift to switch between Chinese and English, it can easily lead to mis-operation.

  • Yong has seven kinds of input methods, I only pinyin input method, so delete other input method, leaving only pinyin input method, and set it as the default value;

  • Small input method support Baidu, Google, Microsoft, QQ and Sogou and other cloud input method, can be configured by themselves. The configuration is as follows:

    1=baiducloud[cloud]name= Baidu Cloud Engine=libcloud.soarg=baidu

    Other cloud IME similar, where ARG can take Baidu, Google, QQ, Sogou, Microsoft and so on (it seems that Sogou and Microsoft are not supported?). )。

  • Default use QQ Cloud Input method, special case switch to Baidu Cloud or Google Cloud. Due to the problem of the domestic connection, the use of Google Cloud when there is a noticeable time delay, not recommended to use.

  • Yong IME also supports customizing skins or using skins designed by others to place downloaded skin files under ~/.yong/skin .

  • One inconvenient point is that the status bar seems unable to show which Chinese input method is currently in use.

  • In the configuration file [IM] Add ABCD= 1, so that in the case of Chinese input method, press SHIFT and the letter will be directly output the corresponding capital letters, no longer have to go through the Chinese input method.

Reference:

    • Http://www.mintos.org/software/xiaoxiao-input.html
    • Http://yong.dgod.net/read.php?tid=5&fid=7
    • Http://yong.dgod.net/read.php?tid=25&fid=7
    • Http://yong.dgod.net/read.php?tid=18&fid=7

To configure the default input method:

Besides, I found out here how to set: http://www.mintos.org/software/xiaoxiao-input.html

Also in my habit, I made a partial excerpt:

To modify the default input method configuration:

Configuration files in: ~/.yong/yong.ini

Also known as a hidden folder in the home directory, the following is my configuration:


[email protected]. yong]$ L Total dosage 4.0k4.0k-rw-r--r--1 Laolang laolang 1.9K December 17:54 yong.ini[[email protected]. yong]$ [[email protected]. yong]$ pwd/home/laolang/.yong[[email protected]. yong]$ L Total dosage 4.0k4.0k-rw-r--r--1 Laolang laolang 1. 9K December 17:54 yong.ini[[email protected]. yong]$ cat Yong.ini      1#!/usr/bin/yong-config     2#yong IME configuration file     3     4[desc]     AA configuration file version     6version=2     7     8     9[im]    10default=0    110=wubi    12#6=pinyin    14#[im]    153default=0    16#0=yong    17#1=wubi    18#2=zhengma    19#3=erbi    20 #4 =english    21#5=GBK    22#6=pinyin
I will not write the following, mainly how to configure the default input method, like a small input method comes with the Code table I do not use.


In my profile I only have Wubi, you can configure it according to your own situation

Installation of a small input method under CentOS 7.0

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.