分类: LINUX
2011-01-20 16:20:37
|
ibus.el
from ibus-el
package from ibus.el
and byte-compile in a directory that is listed in load-path, and save ibus-el-agent
somewhere in your system.(require 'ibus) (add-hook 'after-init-hook 'ibus-mode-on)
ibus.el
and ibus-el-agent
are saved in different directories, add a setting to the above as follows:(setq ibus-agent-file-name "/PATH/TO/ibus-el-agent")
ppa:irie/elisp
to software sources:sudo add-apt-repository ppa:irie/elisp sudo apt-get update
ibus-el
package:sudo apt-get install ibus-el
(require 'ibus) (add-hook 'after-init-hook 'ibus-mode-on)
ibus.el
can’t work.~/.Xresources
file:Emacs*useXIM: false
xrdb ~/.Xresources
.emacs
file:(require 'ibus) ;; Turn on ibus-mode automatically after loading .emacs (add-hook 'after-init-hook 'ibus-mode-on) ;; Use C-SPC for Set Mark command (ibus-define-common-key ?\C-\s nil) ;; Use C-/ for Undo command (ibus-define-common-key ?\C-/ nil) ;; Change cursor color depending on IBus status (setq ibus-cursor-color '("red" "blue" "limegreen"))
;; Use s-SPC to toggle input status (global-set-key (kbd "s-SPC") 'ibus-toggle)
(ibus-define-common-key ?\C-j t)
(setq ibus-use-kana-onbiki-key t)
(setq ibus-ibus-simultaneous-pressing-time 0.1)