Preface
I recently upgraded my ThinkPad T570 to Ubuntu 26.04 (habitually abbreviated as Ubuntu 26), which uses Wayland by default. As a Wubi user, my top priority is mixed Wubi-Pinyin input—using Wubi normally, and switching to Pinyin directly when I forget a code. After trying out IBus, Sogou, and Fcitx5, I ultimately settled on Fcitx5 + the built-in Wubi-Pinyin, and resolved the annoying issue of the input method icon failing to appear after a reboot. Below, I share the entire troubleshooting and resolution process according to the timeline of my screenshots, as a reference for anyone facing the same struggle.
1. Identifying the Problem: The Input Method Icon Disappeared
After installing the system, along with fcitx5 and fcitx5-chinese-addons, I changed the keyboard input method system to fcitx5 in “Language Support” and was able to type normally. However, after rebooting the computer, the top-right corner was completely blank (see Figure 1).

When I opened the Fcitx Configuration tool, a red prompt popped up: “Cannot connect to Fcitx via DBus. Is Fcitx running?” (see Figure 2). Clearly, Fcitx5 hadn’t started at all.

I had to click “Run Fcitx 5” to start it manually. Once started, the input method icon appeared in the top-right corner, and clicking it revealed the “Pinyin” and “Wubi-Pinyin” options (see Figure 3). I could type normally at this point, but having to run it manually after every reboot was too cumbersome.

2. Checking the Framework Configuration: im-config Shows Normal
First, I suspected the input method framework wasn’t switched correctly. I opened the terminal and ran im-config, with the output shown in Figure 4. The Active configuration shows 'fcitx5', indicating that the framework setting is correct.

When proceeding to the next step, im-config popped up a dialog asking whether to specify user settings (see Figure 5). I selected “Yes”.

Then, the interface for selecting the input method framework appeared (see Figure 6), listing ibus, fcitx5, none, and xim. I confirmed that fcitx5 was already selected, so there was no issue.

Since the framework configuration was correct, the problem likely lay in auto-start or tray icon support under Wayland.
3. Solution: A Three-Step Complete Fix
1. Add Auto-Start on Boot
Ubuntu’s “Startup Applications” tool allows you to add auto-start entries. I opened the system menu (see Figure 7)—should I log out and back in first? No, configure auto-start first.

Specific steps:
- Press the
Superkey to search for “Startup Applications” and open it. - Add an entry: Name
Fcitx5, Commandfcitx5. - Alternatively, do it directly via the command line (in one step):
mkdir -p ~/.config/autostart
cp /usr/share/applications/org.fcitx.Fcitx5.desktop ~/.config/autostart/2. Enable the AppIndicator Extension Under Wayland
Because Ubuntu 26 uses Wayland by default, and system tray icons under Wayland require GNOME Shell extension support. Execute:
gnome-extensions enable ubuntu-appindicators@ubuntu.comThen log out and log back in.
3. Configure Environment Variables
Edit ~/.pam_environment, and add:
GTK_IM_MODULE DEFAULT=fcitx
QT_IM_MODULE DEFAULT=fcitx
XMODIFIERS DEFAULT=@im=fcitx
INPUT_METHOD DEFAULT=fcitx
SDL_IM_MODULE DEFAULT=fcitxSave the file, then log out and log back in.
After completing these three steps, log out and back in. The input method icon will appear automatically in the top-right corner, and Wubi-Pinyin can be switched normally. At this point, the problem is solved. See Figure 10.

4. Why I Didn’t Choose Sogou Input Method
During this process, I also checked the official Sogou website for the Linux version (see Figure 8). The latest version, v4.2.1, was released in 2023 (see Figure 9) and supports Ubuntu 20.04/18.04/16.04; its compatibility with a new system like 26.04 is unknown. Furthermore, Sogou is based on the older Fcitx 4, which is incompatible with Fcitx 5. Forcing an installation is prone to crashes. Considering stability, I set it aside for now.


If Sogou officially releases a new version based on Fcitx 5 one day, I might give it another try.
5. Comparison of Input Method Solutions (Personal Subjective Evaluation)
| Solution | Mixed Wubi-Pinyin | Dictionary Richness | Stability (Ubuntu 26) | Cloud Sync | Recommendation |
|---|---|---|---|---|---|
| Fcitx5 + Wubi-Pinyin | ✅ | Medium (sufficient) | ⭐⭐⭐⭐⭐ | ❌ | ⭐⭐⭐⭐⭐ |
| IBus + ibus-libpinyin | ❌ | High | ⭐⭐⭐⭐ | ❌ | ⭐⭐ (no Wubi) |
| IBus + ibus-table-wubi | ❌ (pure Wubi) | Medium | ⭐⭐⭐⭐ | ❌ | ⭐⭐ (no mixed input) |
| Sogou Input Method Linux | ✅ | Very high | ⭐⭐ (prone to crashes) | ✅ | ⭐⭐ |
| Fcitx5 + Rime | ✅ (requires configuration) | Customizable | ⭐⭐⭐⭐ | ❌ (manual sync possible) | ⭐⭐⭐⭐ (for tinkerers) |
6. Next Steps: Tinkering with Rime
Although the Wubi-Pinyin bundled with Fcitx5 is stable, its dictionary isn’t “smart” enough, and it lacks cross-device syncing. Rime (Zhongzhouyun) is a highly customizable input method engine that supports mixed Wubi-Pinyin input and can import Sogou cell dictionaries. I am already planning to:
- Install
fcitx5-rimeon Fcitx5. - Configure the “Rime Ice” (雾凇拼音) schema (an excellent Rime configuration set).
- Try importing my own dictionaries to achieve a memory effect similar to Sogou’s.
Once I succeed in setting it up, I’ll write another detailed blog post about configuring Rime.
7. Summary
If you also encounter the issue of Fcitx5 failing to start and its icon disappearing after a reboot on Ubuntu 26.04, check the following in order:
- Verify the input method framework: Set
im-configto fcitx5, and click “Apply to Entire System” in “Language Support”. - Add auto-start on boot: Copy the
.desktopfile to~/.config/autostart/. - Enable the AppIndicator extension under Wayland:
gnome-extensions enable ubuntu-appindicators@ubuntu.com. - Configure environment variables (optional, but helps with compatibility): Edit
~/.pam_environment.
After doing this, log out and log back in, and everything should work normally. I hope this record, written in the order of the screenshots, helps you if you’ve been similarly stuck.

