Skip to content
Chris Feng edited this page Jul 19, 2015 · 1 revision

Configuration

This page assumes you already have EXWM configured according to this example, and a proper default-input-method is selected in you ~/.emacs.

Configure ~/.emacs

First you need to load EXIM:

(add-to-list 'load-path "/path/to/exim/")
(require 'exim)

Make sure you have a key to invoke toggle-input-method. The simplest way is perhaps:

(push ?\C-\\ exwm-input-prefix-keys)

Usually it only makes sense to enable EXIM only when you use EXWM:

(add-hook 'exwm-init-hook 'exim-start)

Configure ~/.xinitrc

Prepend the following lines shall be enough:

export XMODIFIERS=@im=exim
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim
export CLUTTER_IM_MODULE=xim
Clone this wiki locally