ubuntu通过scim安装中文输入法
程序员文章站
2022-04-24 14:32:01
...
1. 验证是否安装scim
scim
2.安装scim
sudo apt install -y scim
3.安装chinese
sudo apt-get install scim-chinese
失败的话也没关系,直接执行下面的
sudo apt-get install scim scim-pinyin scim-tables-zh im-switch scim-gtk-immodule
4.安装gedit
sudo apt install -y gedit
sudo gedit /etc/X11/Xsession.d/95xinput
然后把下面的内容粘贴进去
/usr/bin/scim -d
XMODIFIERS="@im=SCIM"
export XMODIFIERS
export GTK_IM_MODULE=scim
5.重启后生效
- ctrl+space切换输入法
转载于:https://my.oschina.net/seosite/blog/3048805