Fcitx5

From ArchWiki
Jump to navigation Jump to search

Fcitx5 is the under development successor of Fcitx.

Installation

Install the fcitx5 package.

fcitx5-im group provides fcitx5 ontology, #Configuration tool, and all #Input method module except fcitx5-qt4-gitAUR.

Note: fcitx5 just give a basic framework, it just give a English support, if you want input other language, such Chinese or Japanese, you need a Input method engine.

Chinese

Japanese

  • fcitx5-anthy, a popular Japanese input engine. However, it is not actively developed anymore.
  • fcitx5-mozcAUR, based on Mozc, the Open Source Edition of Google Japanese Input.
  • fcitx5-skk, a Japanese Kana Kanji input engine, based on libskk.

Other languages

Input method module

To obtain a better experience, you should install the following modules as you need, without them, the input method may work on most applications but you may experience input method hang up, preview window screen location error or no preview error.

Tip: Generally, install fcitx5-qt and fcitx5-gtk can handle all the occasion.

Usage

Set environment variables for IM modules

If you want use Fcitx5 normally, you must modify your environment variables, please see Fcitx#Set environment variables for IM modules

Desktop Environment Autostart

If you want fcitx5 autostart when you start your desktop, please see Fcitx#Desktop Environment Autostart

Configuration

Configuration tool

The configuration file of fcitx5 is located at ~/.local/share/fcitx5. Although you can use a text editor to edit the configuration file, it is obviously more convenient to use the GUI configuration. Install the fcitx5-configtool package.

Themes

The warehouse's themes are very less, you can find more theme at GitHub.

Tip: If you are using KCM, then switch themes by: Setting -> Location -> input method -> Configure addons -> Classic user interface -> Theme.

Troubleshooting

Beautiful one-line mode not work in some software

The single-line mode is invalid in WPS and sublime. This is a problem of WPS and sublime itself, not a problem of fcitx5. [2]

The newest wps cannot use fcitx5

See WPS Office#Fcitx5 cannot input Chinese.

Fcitx5 has a error position in intellij IDEs

Some java applications cannot get position exactlly, Fcitx5 cannot fix this problem [3].

Emoji show abnormal at candidate box

1. Confirm you have install a font with Emoji. ( Such as noto-fonts-emoji )

2. Set system font as Noto Sans CJK SC( For Simplified Chinese )

3. Use this command to reboot Fcitx5 :

# kill `ps -A | grep fcitx5 | awk '{print $1}'` && fcitx5&

Tips and tricks

How to view the Unicode encoding of selected characters

  • If you need to view the Unicode encoding of the selected text in the text editor, then directly select the text, and then use the shortcut keys ctrl + alt + shift + u to view the encoding of the selected text.
  • If you need to view the Unicode encoding of the text in the non-editing area (such as this wiki), you need to first copy the text to the clipboard, then click on any editable area (such as the search box), and then use the shortcut keys ctrl + alt + shift + u can view the encoding of the text in the clipboard.

Input special character

In general, for some simple symbols, such as , ā, á, ©, etc., you can enter through Configuring compose key, but for more special symbols, such as , , , etc., you Either customize ~/.XCompose, or use Fcitx5's Unicode function to achieve.

Take as an example:

Position the cursor in any input box, and then press Ctrl + Alt + Shift + U, and then enter circle one, you will see a variety of , other special characters are similar here.