Skip to content

Instantly share code, notes, and snippets.

@luckyyang
Last active December 14, 2015 16:38
Show Gist options
  • Save luckyyang/5116266 to your computer and use it in GitHub Desktop.
Save luckyyang/5116266 to your computer and use it in GitHub Desktop.
fcitx configuration
1. 保证可以使用fcitx
在/etc/enviroment中输入(你看你少了什么,就添加什么就是了):
LANG="en_US.UTF-8"
LANGUAGE="en_US:en_GB:en"
LANG="en_US.UTF-8"
LANGUAGE="en_US:en_GB:en"
LC_CTYPE="zh_CN.UTF-8"
XMODIFIERS="@im=fcitx"
这样你就可以在英文界面上使用fcitx了;
2. 打字时出来一个图形界面,可以不设置:
在~/.profile中输入:
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment