set up fcitx5 in Linux

Table of Contents

Main

Fcitx51 is a great input tools for Linux.

Installation

sudo apt install fcitx5
sudo apt fcitx5-rime

then copy the input method files to ~/.local/share/fcitx5/rime

Configuration

autostart

For DE, edit the ~/.xprofile,

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

For WM, edit ~/.xinitrc

# 确保 D-Bus 启动
eval $(dbus-launch --sh-syntax --exit-with-session)

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

fcitx5 &

disable shift switch

in rime schema

switch_key: {Shift_L: noop, Shift_R: noop}

Footnotes: