From Fedora Project Wiki

Revision as of 09:48, 11 October 2023 by Yanqiyu (talk | contribs) (→‎KDE Setup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Introduction

Fcitx 5 is the successor of Fcitx 4. Fcitx 5 have many improvements compared to Fcitx 4, for example better Wayland support and the new addon-loader. And from 4 to 5, it isn't a routine update, they have different filesystem structure, different configuration methods and etc., migrating your data from 4 to 5 is not easy right now. So just take Fcitx 5 as a brand new IME.

Packages

Package Usage
fcitx5 Main Program
fcitx5-anthy Japanese IME based on anthy
fcitx5-autostart scripts used for autostart and environment
fcitx5-chewing Zhuyin IME
fcitx5-chinese-addons Chinese IME based on libime
fcitx5-configtool GUI configuration tools
fcitx5-gtk IM modules need by GTK programs
fcitx5-hangul hangul Korean IME
fcitx5-kkc kkc Japanese IME
fcitx5-libthai Thai IME
fcitx5-lua lua addons support
fcitx5-m17n IMEs based on m17n
fcitx5-migrator migration tool for migrating from fcitx4
fcitx5-mozc mozc Japanese input
fcitx5-qt QT support for other components of fcitx5
fcitx5-qt-module QT IM modules for fcitx5
fcitx5-rime rim Chinese IME
fcitx5-sayura Sinhala IME
fcitx5-skk skk Japanese IME
fcitx5-table-extra additional Chinese tables
fcitx5-table-other additional input table for various language
fcitx5-unikey Vietnamese IME
fcitx5-zhuyin Zhuyin IME
kcm-fcitx5 kcm configuration tools

Installation

Install main program and config tool, IM modules, and choose a language engine you like.

Configuration

Make fcitx5 systemwide default IME

Install package fcitx5-autostart. Logout and re-login. Avoid using im-chooser and fcitx5-autostart simultaneously as this will cause log spam.

KDE Setup

You need to select Fcitx 5 as your virtual keyboard. To add the input method of your choice, open System Settings, click on Input Devices, click Virtual Keyboard, click Fcitx 5, and click Apply.

You will also need to set Fcitx 5 as the Input Method Engine in imsettings. To do this, run the im-chooser command in a terminal to open the program. When it opens, select Fcitx 5.

To add the input method of your choice, click on Regional Settings, click on Input Method, and click Add Input Method... Once you've added your input method, click Apply to save the changes.

Log out and log back in again. You can test your new input method by right-clicking the keyboard icon in your system tray and selecting the input method. The keyboard icon will only be displayed if Fcitx 5 is currently running. It's a good idea to test your input method in a few programs like Firefox, Kate, and in your terminal to ensure it is working correctly across programs that use different graphical toolkits.

If you still can't use your new input method and you're certain Fcitx 5 is running, you may need to reboot your computer for the changes to fully take effect.

If you're still facing issues, run fcitx5-diagnose in your terminal. This will detect the most common problems users face with Fcitx and is a good place to start troubleshooting.

Enable specific input method

This can be done with fcitx5-config-qt, which is included in fcitx5-configtool package, simply select a candidate and double-check on it. Or you could edit $XDG_CONFIG_HOME/fcitx5/profile by yourself.

Tips: if you are using Gnome, Gnome extension kimpanel is highly recommended.