Ubuntu 12.04 Precise 英文版本
1. 安装ibus/安装ibus-table-wubi
http://wiki.ubuntu.org.cn/IBus
其中im-switch命令要在普通用户上使用,即不带sudo
2.修改locale
关于locale:
http://wiki.ubuntu.org.cn/Locale
(关键point:如果你只想要一个可以输入中文的环境,而保持菜单、标题,系统信息等等为英文界面,那么只需要设定LC_CTYPE=zh_CN.XXXX)
修改locale:
http://wiki.ubuntu.org.cn/%E4%BF%AE%E6%94%B9locale
sudo gedit /etc/default/locale
添加:
LC_CTYPE="zh_CN.UTF-8"
3.安装emacs
sudo apt-get install emacs
4.Disabling XIM
http://www.emacswiki.org/emacs/IBusMode
- If XIM is enabled, key events are directly handled by IBus so
ibus.el
can’t work. - To disable XIM in Emacs, put the following in
~/.Xresources
file:
Emacs*useXIM: false
- and restart X session or execute a shell command:
xrdb ~/.Xresources
重新注销登入,即可用Ctrl+space切换五笔。