SCIM Smart Pinyin disappearing or can't be selectable.

If you use SCIM Smart Pinyin (智能拼音), you’ll know that every now and then it decides to stop working for no apparent reason. It happens frequently enough to be a pain, but not frequently enough that you remember how to fix it quickly.

The symptoms are:

  • Smart Pinyin disappears from the SCIM pop-up menu.
  • Smart Pinyin settings are still visible in SCIM settings, and the package scim-pinyin is installed.
  • Smart Pinyin is not selectable as an input system for Chinese.

So it’s not that Smart Pinyin is missing, it’s just that SCIM refuses to use it for some reason.

The only solution I’ve come across is right at the end of this thread on Ubuntu forums:SCiM Smart Pinyin. The solution there is:

1. Completely uninstall SCIM

sudo apt-get remove --purge scim

This should uninstall all the packages associated with SCIM as well (scim-pinyin, scim-m17n etc.)

2. Remove SCIM data

The overall aim here is to take off and nuke the site from orbit (it’s the only way to be sure). We’re just removing anything to do with SCIM to ensure we get rid of whatever caused the error.

sudo rm -rf /etc/scim

sudo rm -rf ~/.scim

Be extremely careful with the above commands. Check and double check them before you hit enter in terminal. If you type the wrong directory you can easily delete loads of important stuff.

3. Reinstall SCIM and SCIM Smart Pinyin etc.

And now we do a fresh new install of SCIM:

sudo apt-get install scim scim-m17n scim-pinyin

And that should get Smart Pinyin working again. This method is a real pain though, mostly because it destroys all of your table data – the words and phrases you’ve taught SCIM. Every time I do this I have to re-teach it loads of stuff, usually starting with my Chinese name (葛修遠).

If anyone is aware of a better method for restoring SCIM Smart Pinyin input then please share it in the comments, as I can’t believe this is the best way to do it.

If you wanna know more details please reffer:http://eastasiastudent.net/3622/china/mandarin/cmn-writing/scim-smart-pinyin/


Using Ctrl+Space to switch between CN and EN.

To create file: /etc/X11/Xsession.d/95xinput

To append the fellowing few lines to this file:

export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d


  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值