Skip to content

Instantly share code, notes, and snippets.

@shui
Last active September 7, 2017 00:35
Show Gist options
  • Save shui/aed55dcb46e8fa973d8e27f2f5cdeadc to your computer and use it in GitHub Desktop.
Save shui/aed55dcb46e8fa973d8e27f2f5cdeadc to your computer and use it in GitHub Desktop.
Fcitx中文输入时“*”变“x”

Fcitx中文输入时输入*会输出x,在写Markdown的时候超级烦,需要不停切换输入法。 修改/usr/share/fcitx/data/punc.mb.zh_CNpunc-ng.mb.zh_CN两个文件中*的映射,重启Fcitx服务(Ref.:ubuntu 搜狗输入法崩溃 fcitx崩溃无痛重启方法)。

  1. 首先top,列出进程表,找到fcitx的pid或者直接pidof fcitx
  2. sudo kill 掉fcitx 以上两步可以直接用:pidof fcitx|xargs kill来使用(或者直接使用fcitx -r)。
  3. fcitx & 这里的意思是后台跑fcitx,回车几次就可以。
  4. sogou-qimpanel & 同样,后台启动搜狗输入法面板。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment