use ibus on debian12 for input chinese

250611-install_ibus-libpinyin

eton@250611-install_ibus-libpinyin 因为debian12默认使用gnome 桌面环境,gnome默认采用IBUS作为输入法 input method Framework. 这里将安装中文输入法的方法进行记录;

eton@250730 add the switch shotcut, and solution for ms-edge cannot input chinese with ibus-libpinyin;

Contents:

整个过程相对简单,涉及三个步骤,但是后面的因为涉及必须使用GUI操作所以无法完全自动化;

1. input packages

apt install ibus-libpinyin
ibus restart //this make the ibus framework can find the new installed engine;
ibus engine libpinyin

2. change default IMF to ibus

im-config 

//gui operation

3. set in gnome

gnome-control-center keyboard

//gui中添加input source : intelligent pinyin;

all done.

windows + space will switch input methods;

4. bugfix for cannot activate the libpinyin on edge browser:

microsoft-edge-stable/stable,now 138.0.3351.109-1 amd64

  • fix method:
export GTK_IM_MODULE=ibus

then restart edge. it fixed.

ibus exit will make ibus stop, ibus-daemon -v will start ibus again in verbose mode;

250611-install_ibus-libpinyin.end

posted on 2025-07-30 22:40  Eton..Bee  阅读(39)  评论(0)    收藏  举报