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...")
 
(→‎In case of Wayland: Update Install method)
Line 27: Line 27:


=== In case of Wayland ===
=== In case of Wayland ===
Add
Create a file containing: 
<pre>
<pre>
INPUT_METHOD DEFAULT=fcitx5
export INPUT_METHOD=fcitx5
GTK_IM_MODULE DEFAULT=fcitx5
export GTK_IM_MODULE=fcitx5
QT_IM_MODULE DEFAULT=fcitx5
export QT_IM_MODULE=fcitx5
XMODIFIERS   DEFAULT=\@im=fcitx5
export XMODIFIERS=im=fcitx5
</pre>
</pre>
to <code>~/.pam_environment</code>, or any place that will be sourced during your login.
to <code>/etc/profile.d/fcitx5.sh</code>, or any place that will be sourced during your login.


and run <code>ln -s /usr/share/applications/fcitx5.desktop ~/.config/autostart/</code>
and run <code>ln -s /usr/share/applications/fcitx5.desktop ~/.config/autostart/</code> to make fcitx5 start with your login.


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

Revision as of 14:18, 4 September 2020

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

Main program and config tool

  • fcitx5
  • fcitx5-configtool

IM modules

  • fcitx5-qt
  • fcitx5-gtk

Language support

  • fcitx5-chinese-addons
  • fcitx5-rime
  • fcitx5-skk
  • fcitx5-chewing
  • fcitx5-kkc

Addon engine

  • fcitx5-lua

Installation

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

Configuration

In case of X11

If you are using X11, see $XDG_SESSION_DESKTOP run sudo alternatives --config xinputrc and choose fcitx5, and relogin, it is done.

In case of Wayland

Create a file containing:

export INPUT_METHOD=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XMODIFIERS=im=fcitx5

to /etc/profile.d/fcitx5.sh, or any place that will be sourced during your login.

and run ln -s /usr/share/applications/fcitx5.desktop ~/.config/autostart/ to make fcitx5 start with your login.

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