Which one should you use on Ubuntu: ibus-bamboo or fcitx5-unikey?
If you are on Ubuntu and just want the least painful answer to "which Vietnamese input method should I install", the choice mostly depends on your GNOME version and the apps you type in every day. ibus-bamboo fits Ubuntu 24.04 + GNOME 46 well. fcitx5-unikey is usually the safer choice on Ubuntu 24.10+, KDE, or Electron-heavy workflows like VS Code, Slack, and Discord.
This guide starts with that decision, then covers installation and the most common failure modes.
Quick Comparison
| ibus-bamboo | fcitx5-unikey | |
|---|---|---|
| Framework | IBus | Fcitx5 |
| GNOME | Good (Ubuntu 24.04) | Needs extra setup |
| KDE Plasma | Okay | Better |
| Electron apps | Occasional issues | Generally more stable |
| Predict bar (GNOME 47+) | Buggy | Not affected |
| Setup complexity | Simple | More involved |
Choose ibus-bamboo if: You're on Ubuntu 24.04 with GNOME 46.
Choose fcitx5-unikey if: You're on Ubuntu 24.10+, KDE, or frequently type in Electron apps (VS Code, Slack, Discord).
Installing ibus-bamboo
Requirements
- Ubuntu 20.04 or later
- GNOME desktop (recommended with Ubuntu 24.04)
Step 1: Add the PPA and install
sudo add-apt-repository ppa:bamboo-engine/ibus-bamboo
sudo apt update
sudo apt install ibus-bamboo -y
Step 2: Set as default engine
env DCONF_PROFILE=ibus dconf write /desktop/ibus/general/preload-engines "['BambooUs', 'Bamboo']"
ibus restart
Step 3: Add to Settings
- Go to Settings → Keyboard → Input Sources
- Click + → select Other → search for Vietnamese (Bamboo)
- Add it to your list
- Use
Super + Spaceto switch input methods
Step 4: Choose your input style
Right-click the keyboard icon in the taskbar → Preferences:
- Input method: Telex or VNI
- Output charset: Unicode (default)
- Disable Show candidate window if a predict bar keeps appearing
Test it
Open a text editor and type: viet nam (Telex) or viet6 nam1 (VNI) — you should get việt nam.
Installing fcitx5-unikey
Requirements
- Ubuntu 22.04 or later
- Works well on both GNOME and KDE
Step 1: Install fcitx5 and unikey
sudo apt update
sudo apt install fcitx5 fcitx5-unikey -y
Step 2: Set fcitx5 as the default input method
im-config -n fcitx5
Or open Input Method Configuration from the app menu and select fcitx5.
Step 3: Add environment variables
Open /etc/environment:
sudo nano /etc/environment
Add these lines at the end:
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
Save with Ctrl + O, Enter, Ctrl + X.
Step 4: Add Unikey to fcitx5
- Log out and log back in to load the environment variables
- Open Fcitx5 Configuration from the app menu
- Go to the Input Method tab → click +
- Uncheck Only Show Current Language → search for Unikey
- Add it and click Apply
Step 5: Configure Unikey
In Fcitx5 Configuration → Input Method → Unikey → Settings:
- Input method: Telex or VNI
- Output charset: Unicode
- Check Process W at word begin if using Telex (so
wtypesư)
Step 6: Set the toggle shortcut
Under Global Options → Trigger Input Method: defaults to Ctrl + Space. You can change it to Super + Space to match GNOME's convention.
Test it
Restart fcitx5:
fcitx5 &
Open a text editor and try typing Vietnamese.
Troubleshooting Common Issues
ibus-bamboo: Predict bar appears while typing
This happens on GNOME 47+ (Ubuntu 24.10 and later). Two options:
Option 1: Disable it in ibus-bamboo settings:
gsettings set org.freedesktop.ibus.engine.bamboo show-preedit-text false
Option 2: Switch to fcitx5-unikey (recommended if you're on Ubuntu 24.10+).
fcitx5: Can't type in some apps
Check whether the environment variables are actually loaded:
echo $GTK_IM_MODULE
echo $QT_IM_MODULE
If these return empty, the variables haven't been applied. Log out and back in, or reboot.
fcitx5: Doesn't start with the system
Add fcitx5 to autostart:
cp /usr/share/applications/org.fcitx.Fcitx5.desktop ~/.config/autostart/
Both: Can't type Vietnamese in VS Code
VS Code (Electron) sometimes doesn't pick up input methods properly. Add these flags to ~/.config/code-flags.conf:
--enable-features=UseOzonePlatform
--ozone-platform=wayland
Or add them directly to the VS Code .desktop launcher file.
Uninstalling if You Want to Switch
Remove ibus-bamboo
sudo apt remove ibus-bamboo -y
sudo add-apt-repository --remove ppa:bamboo-engine/ibus-bamboo
sudo apt autoremove -y
Remove fcitx5
sudo apt remove fcitx5 fcitx5-unikey -y
sudo apt autoremove -y
im-config -n ibus
Also remove the lines you added to /etc/environment, then reboot.
Summary
Neither option is universally better — it depends on your setup:
- Ubuntu 24.04 + GNOME 46 → use ibus-bamboo — quick to install, works out of the box
- Ubuntu 24.10+ or KDE → use fcitx5-unikey — avoids the GNOME 47+ predict bar bug
- Heavy VS Code or Electron app usage → fcitx5-unikey is more reliable
If you're on Ubuntu 24.04 and unsure where to start, go with ibus-bamboo. It's simpler to set up and works well on that version without any extra tweaking.
Read next:
- How to Install Ubuntu Desktop 24.04 LTS — Complete Guide — full step-by-step installation guide if you haven't set up Ubuntu yet