Created
February 15, 2014 07:27
-
-
Save cldotdev/9015681 to your computer and use it in GitHub Desktop.
Support Chinese input method (hime) in Emacs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # ~/.xprofile | |
| # | |
| # sourced by /etc/lxdm/Xsession | |
| # | |
| if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then | |
| eval "$(dbus-launch --sh-syntax --exit-with-session)" | |
| fi | |
| # Environment variables | |
| # | |
| export GTK2_RC_FILES="$HOME/.gtkrc-2.0" | |
| # Support Emacs | |
| export LC_CTYPE=zh_TW.UTF-8 | |
| export XMODIFIERS="@im=hime" | |
| export GTK_IM_MODULE=hime | |
| export QT_IM_MODULE=hime | |
| hime & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment