Ubuntu Chinese Input: IBus vs Fcitx5 Setup
Linux input method frameworks have matured significantly over the past few years. Ubuntu offers two solid options: IBus (integrated into GNOME by default) and Fcitx5 (more feature-rich and actively maintained). This guide covers both approaches and helps you choose the right one for your setup.
IBus: Quick Setup for Basic Use
IBus comes pre-installed on most Ubuntu systems and requires minimal configuration.
- Open Settings → Keyboard → Input Sources
- Click the + button and search for “Chinese (Intelligent Pinyin)”
- Add it to your input sources
- Switch between input methods using Super + Space (or configure a custom shortcut in Input Sources)
IBus works adequately for basic typing but lacks predictive features and customization options. If you need more power, skip to Fcitx5.
Fcitx5: The Recommended Approach
Fcitx5 offers better predictive text, cloud pinyin support, superior Wayland compatibility, and active development. Most users who work regularly with Chinese text prefer it.
Installation
First, update your package manager and install the core components:
sudo apt update
sudo apt install fcitx5 fcitx5-chinese-addons fcitx5-frontend-gtk3 fcitx5-frontend-qt5
For GNOME desktop, also install the input method panel extension:
sudo apt install gnome-shell-extension-kimpanel
Configuration
Set Fcitx5 as your default input method:
- Open Settings → Language Support (if not present, run
sudo apt install language-support-zh) - Set “Keyboard input method system” to Fcitx 5
- Log out completely and log back in — a GNOME Shell restart is insufficient
After logging back in, switch input methods using Ctrl + Space. Access configuration via:
fcitx5-configtool
Customizing Fcitx5
Appearance Settings
Edit the configuration file directly:
nano ~/.config/fcitx5/conf/classicui.conf
Common customizations include font size, theme selection, and candidate window position. After making changes, reload Fcitx5:
fcitx5-remote -r
Enabling Cloud Pinyin
Cloud pinyin provides real-time word suggestions for improved accuracy with modern terminology and proper nouns:
- Open Fcitx5 Configuration Tool (
fcitx5-configtool) - Navigate to the Add-ons tab
- Enable Cloud Pinyin
- Choose your provider (Baidu or Sogou are common options)
Note that cloud pinyin requires an active internet connection and depends on your chosen provider’s availability in your region.
Alternative Input Methods
For Cantonese (Jyutping), Wubi, Five-stroke, or other schemes:
sudo apt install fcitx5-table fcitx5-table-other
Then add them via the configuration tool:
- Open
fcitx5-configtool - Click Add Input Method
- Select your desired scheme (Cantonese Jyutping, Wubi, Five-stroke, etc.)
- Click Add
Wayland Compatibility
Modern Ubuntu versions default to Wayland. Both IBus and Fcitx5 support it, but with different characteristics:
- IBus: Works reliably in GNOME but may have issues with X11 applications running under XWayland
- Fcitx5: More consistent Wayland support, including better integration with Flatpak applications
Check your current session:
echo $XDG_SESSION_TYPE
For Flatpak applications, install the official Fcitx5 Flatpak runtime for seamless integration:
flatpak install flathub org.fcitx.Fcitx5
For individual Flatpak apps, grant filesystem access:
flatpak override --user --filesystem=xdg-config/fcitx5 com.example.app
Troubleshooting
Input method not appearing after installation
Ensure you’ve logged out completely (not just locked the screen). A full system reboot is the safest approach:
sudo reboot
Fcitx5 not responding in specific applications
Check if the application is running under XWayland:
ps aux | grep -E "Xwayland|application-name"
For Flatpak apps, verify Fcitx5 integration or use the Fcitx5 Flatpak as described above.
Cloud pinyin not working
Verify internet connectivity and check Fcitx5 logs:
journalctl --user -u fcitx5 -f
Confirm that your chosen cloud provider (Baidu, Sogou) is accessible from your network and not blocked by local firewall rules.
IBus and Fcitx5 conflicts
If you’ve already installed IBus and want to switch to Fcitx5, remove IBus to avoid conflicts:
sudo apt remove ibus ibus-libpinyin ibus-libzhuyin
sudo apt autoremove
Then reconfigure language settings as described above.
Input method stops working after system updates
Fcitx5 occasionally requires reinitialization after kernel or desktop environment updates. Try reloading it:
fcitx5-remote -r
Or log out and back in. If problems persist, reset Fcitx5 to defaults:
rm -rf ~/.config/fcitx5
sudo apt reinstall fcitx5 fcitx5-chinese-addons
This preserves configuration templates while clearing any corrupted state.

Hi Anonymous,
What exactly is an input method? And what is framework? Does method refer to the language I wish to type, or is it a programing issue? Or does “method” refer to the version of characters I wish to use, such as Hong Kong traditional, Taiwan traditional, or simplified. I wish to input Taiwan traditional.
I’m also not familiar with writing instructions to the computer. What “window”/page should I open to write the instructions provided above? Then I wouldn’t know exactly how to proceed from beginning to end. Do I just type that line, then press enter? And all is finished?
After reading the instructions again, I guess method means pinyin vs. radical whereas each letter is associated with one or more components of characters. If that’s the case I would like to install that one too. Please help. Thanks
Steven
Hi Steven,
you have to use the “Terminal” to install the input method.
Check the basic ubuntu manuals, like this:
https://tutorials.ubuntu.com/tutorial/command-line-for-beginners#0