DEV Community

Cover image for How to Set Up Wubi98 with IBus + Rime on Linux
TwoMoreSteps
TwoMoreSteps

Posted on Edited on

How to Set Up Wubi98 with IBus + Rime on Linux

🐧 How to Set Up Wubi98 with IBus + Rime on Linux

This guide walks you through installing the Wubi98 input method using Rime (中州韻) with IBus on a Linux system.


πŸ“¦ Step 0: Install IBus and Rime

Ubuntu / Debian:

sudo apt update
sudo apt install ibus-rime
Enter fullscreen mode Exit fullscreen mode

Arch / Manjaro:

sudo pacman -S ibus-rime
Enter fullscreen mode Exit fullscreen mode

Fedora:

sudo dnf install ibus-rime
Enter fullscreen mode Exit fullscreen mode

Then restart IBus:

ibus restart
Enter fullscreen mode Exit fullscreen mode

🌐 Step 1: Add Rime to Your Input Sources

  1. Go to Settings β†’ Region & Language.
  2. Click + to add an input source.
  3. Choose Chinese (Rime) and add it.
  4. Move it to the top of the list or set a hotkey (like Ctrl + Space) to activate it.

πŸ“ Step 2: Access the Rime Configuration Directory

Open a terminal and run:

cd ~/.config/ibus/rime/
Enter fullscreen mode Exit fullscreen mode

If the folder doesn’t exist, switch to the Rime input method once and the folder will be created automatically.


🌐 Step 3: Download the Wubi98 Schema and Dictionary

wget https://raw.githubusercontent.com/arzyu/rime-wubi98/master/wubi98.schema.yaml
wget https://raw.githubusercontent.com/arzyu/rime-wubi98/master/wubi98.dict.yaml
Enter fullscreen mode Exit fullscreen mode

βš™οΈ Step 4: Enable Wubi98 in Rime

Create or edit the default.custom.yaml config file:

vim default.custom.yaml
Enter fullscreen mode Exit fullscreen mode

Paste the following:

patch:
  schema_list:
    - schema: wubi98
Enter fullscreen mode Exit fullscreen mode

Save and exit with:

  • Press Esc
  • Type :wq
  • Hit Enter

πŸ” Step 5: Restart IBus

ibus restart
Enter fullscreen mode Exit fullscreen mode

πŸš€ Step 6: Redeploy and Switch to Wubi98

  1. Switch to the Rime input method (Ctrl + Space by default).
  2. Press Ctrl + \` (Control + backtick).
  3. In the menu:
    • Choose 重新部署 (Redeploy).
    • Then choose εˆ‡ζ’ζ–Ήζ‘ˆ (Switch schema) and select wubi98.

βœ… Done!

You are now typing with the Wubi98 layout using IBus + Rime.

Top comments (0)