Better Chinese Input on Fedora 43
There were always a pain point there when I using Fedora - The Chinese Input , there is one , but hard to use.
One Day a link come from Jianhong Yin,
https://blog.amyinfo.com/2024-12-28-setup-fcitx5-on-fedora/
It is a quite simple article on that page:
- Install fcitx5
sudo dnf install fcitx5 fcitx5-chinese-addons
- Config .xinitrc
cat >> $HOME/.xinitrc <<"EOF" export XMODIFIERS="@im=fcitx" export GTK_IM_MODULE=xim export QT_IM_MODULE=fcitx EOF - Enable fcitx for Gnome
gsettings set org.gnome.settings-daemon.plugins.xsettings overrides "{'Gtk/IMModule':<'fcitx'>}"
After configure with these steps. there are 2 questions come to my mind:
- How could I know which Input method I am using right now?
-
How to determine my Chinese Input is better than the another one?
- How to know which input method I’m using right now?
Before
fan@ffan-thinkpadt14gen5 ~ $ echo $XMODIFIERS
@im=ibus
ffan@ffan-thinkpadt14gen5 ~ $ echo $GTK_IM_MODULE
ffan@ffan-thinkpadt14gen5 ~ $ echo $QT_IM_MODULE
ibus
ffan@ffan-thinkpadt14gen5 ~ $
After
ffan@ffan-thinkpadt14gen5 _posts (main) $ echo $XMODIFIERS
ffan@ffan-thinkpadt14gen5 _posts (main) $ echo $GTK_IM_MODULE
ffan@ffan-thinkpadt14gen5 _posts (main) $ echo $QT_IM_MODULE
ibus
ffan@ffan-thinkpadt14gen5 _posts (main) $
I wonder if it needs a GNOME restart or not
Comments