2025-02-19

input method

this quick guide explains how to set up the input method rime for simplified chinese on arch linux.

1. install package

as root, execute

pacman -S rime-pinyin-simp

2. configure xinitrc

in ~/.xinitrc, add the following:

export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
ibus-daemon -drx

restart xserver.

3. configure rime

in ~/.config/ibus/rime/default.custom.yaml, add:

patch:
  schema_list:
    - schema: pinyin_simp

4. restart ibus

execute

ibus restart

5. open ibus setup

execute

ibus-setup

in the ibus setup window:

  • 'input method' -> add -> chinese -> rime
  • default keybinding for switching layouts is super+space.
  • configure overlay font size and more as needed.