CentOS 7 Installation Chinese Input method

Source: Internet
Author: User
Tags gpg



Reference: HTTP://SEISMAN.INFO/FCITX-FOR-CENTOS-7.HTML#ID10



1. Join the Epel source


 
 
1 $ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-1.noarch.rpm
2 $ sudo rpm -ivh epel-release-7-1.noarch.rpm
3 $ sudo rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7


2. Add Mosquito-myrepo Source



Mosquito-myrepo is a privately made third-party source, which contains the Fcitx input method and the Sogou input method based on FCITX.


1 Yum-config-manager--add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/ Epel-7/mosquito-myrepo-epel-7.repo
    • Project Address: https://copr.fedoraproject.org/coprs/mosquito/myrepo/
    • Supported distributions: Fedora 19/20/21/rawhide and Rhel/centos 7


3. Install Sogou Input Method


1 Yum Install Sogou-pinyin sogou-pinyin-skins


4. Configuration


 
1 $ sudo pkill ibus-daemon
2 $ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
3 $ imsettings-switch fcitx
4 $ fcitx -r; fcitx-configtool
5 $ sogou-qimpanel


After executing the next two commands, you may be able to report some errors that may appear to be free of control. After execution completes, exit the current user and log back in.



5. Install additional input methods


 
1 $ yum install fcitx-googlepinyin fcitx-cloudpinyin # Google Pinyin Input
2 $ yum install fcitx-rime fcitx-cloudpinyin # Zhongzhou rhyme input method
3 $ yum install fcitx-libpinyin fcitx-cloudpinyin # libpinyin input method
4 $ yum install fcitx-sunpinyin sunpinyin-data fcitx-cloudpinyin # sunpinyin input method


The final cleanup:



Mosquito-myrepo is constantly supporting more software, which further causes the software in the repo to conflict with the version of the software in base, Epel, and it is recommended to install Yum's priority plug-in on the Repo Project home page Yum-plugin-priorities, this will alleviate the version conflict problem to some extent, but it can't be avoided fundamentally. Given that multiple repo version conflicts can cause some trouble, the best way to do this is to disable the repo after installing the required software and enable it when needed.



Edit the/etc/yum.repos.d/mosquito-myrepo-epel-7.repoand change theenable=1toenable=0.



Reference: https://copr.fedoraproject.org/coprs/mosquito/myrepo/



CentOS 7 Installation Chinese Input method


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.