From Fedora Project Wiki
(Created page with "{{autolang|base=yes}} == 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 ne...")
 
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:


== Packages ==
== Packages ==
=== Main program and config tool ===
{| class="wikitable"
* fcitx5
! Package
* fcitx5-configtool
! Usage
=== IM modules ===
|-
* fcitx5-qt
|fcitx5
* fcitx5-gtk
|Main Program
=== Language support ===
|-
* fcitx5-chinese-addons
|fcitx5-anthy
* fcitx5-rime
|Japanese IME based on anthy
* fcitx5-skk
|-
* fcitx5-chewing
|fcitx5-autostart
* fcitx5-kkc
|scripts used for autostart and environment
=== Addon engine ===
|-
* fcitx5-lua
|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 ==
== Installation ==
Install main program and config tool, IM modules,and choose a language engine you like.
Install main program and config tool, IM modules, and choose a language engine you like.
 
== Configuration ==
== Configuration ==


=== In case of X11 ===
=== Make fcitx5 systemwide default IME ===
If you are using X11, see <code>$XDG_SESSION_DESKTOP</code> run <code>sudo alternatives --config xinputrc</code> and choose fcitx5, and relogin, it is done.
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.


=== In case of Wayland ===
=== Enable specific input method ===
Add
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.
<pre>
INPUT_METHOD  DEFAULT=fcitx5
GTK_IM_MODULE DEFAULT=fcitx5
QT_IM_MODULE  DEFAULT=fcitx5
XMODIFIERS    DEFAULT=\@im=fcitx5
</pre>
to <code>~/.pam_environment</code>, or any place that will be sourced during your login.


and run <code>ln -s /usr/share/applications/fcitx5.desktop ~/.config/autostart/</code>
Tips: if you are using Gnome, Gnome extension kimpanel is highly recommended.


* https://extensions.gnome.org/extension/261/kimpanel/
* https://www.csslayer.info/wordpress/fcitx-dev/
* https://www.csslayer.info/wordpress/fcitx-dev/
* https://wiki.archlinux.org/index.php/Fcitx5
* https://wiki.archlinux.org/index.php/Fcitx5
* https://bugzilla.redhat.com/show_bug.cgi?id=2243053

Latest revision as of 09:48, 11 October 2023

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.