FCITX installation (FCITX can be well supported wine)

Source: Internet
Author: User

please open the terminal and execute the following command

In order to prevent SCIM and FCITX conflict, if you install the SCIM, you'd better uninstall the SCIM (once my fcitx inexplicably can't screen, uninstall off on the normal):
sudo apt-get purge SCIM

 

sudo add-apt-repository ppa:wengxt/fcitx-nightly #最新的版本都不需要
sudo apt-get update
sudo apt-get install FCITX FCITX-CONFIG-GTK Fcitx-sunpinyin
sudo apt-get install Fcitx-table-all #同时安装其他码表
Im-switch-s fcitx-z default  #设为默认输入法, usually not required unless the system has multiple input methods
Configuration Tool

configuration file in

Local: ~/.config/fcitx/config or ~/.fcitx/config
global:/usr/share/fcitx/data/config
        /usr/share/fcitx/data/ Tables.conf


If Fcitx-config is installed, right-click the input method-configure FCITX.
about the candidate word display as a box is what everyone said garbled

This is because the correct Chinese fonts are not set, please find the Chinese fonts installed on your computer by fc-list:

Fc-list |grep Wen

I choose Wenquanyi Micro hei this font to open ~/.config/fcitx/config:

[Procedure]
Display Font (medium) =wenquanyi Micro Hei
Simple fan switch

the commonly used Chinese input method to simplify the switch is the shortcut key CTRL+SHIFT+F,FCITX not so. FCITX 4 Traditional switch shortcut keys c11> common shortcut keys

English language users (En.utf8) English under GTK module settings
For GTK programs, you only need to modify/etc/gtk-2.0/gtk.immodules or/usr/lib/gtk-2.0/2.10.0/immodule-files.d/libgtk2.0-0.immodules to:
 "Xim" "x Input Method" "Gtk20" "/usr/share/locale" "Ko:ja:th:zh"
after this line, add "en", that is, change to:
 "Xim" "x Input Method" " Gtk20 "/usr/share/locale" "En:ko:ja:th:zh"
can be successfully used in English environment under the FCITX.

Similarly, if you want to use SCIM in an English environment, simply
 change to: "SCIM" "SCIM Input Method" SCIM "/usr/share/locale" "Ja:ko:zh"
to: "
 scim" "Scim Input Method" "Scim" "/usr/share/locale" "En:ja:ko:zh"

can be.
The settings that other systems may require _xmodifiers

for some systems (such as Arch Linux), You may also need to do some xmodifiers settings:

  * Open ~/.BASHRC or ~/under your home folder (/home/$HOME). XINITRC file, add the following lines:  
  ~/.bashrc  
                             strong> #setup XIM Environment, Needn ' t if use SCIM as Gtk-immodules #export lc_ctype= "En_us.utf8" #It should be the same as Locale-gen. #export xim= "FCITX" Export xmodifiers= @im =FCITX export Gtk_im_module=xim exp ORT Qt_im_module=xim fcitx&  

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.