Re: [dev] [dwm] Setting up XIM/SCIM

From: Alex Matviychuk <>
Date: Tue, 9 Mar 2010 10:43:27 +0900

Hi Benito,

I use UIM for Japanese input in dwm on a daily basis. I have
shift+space mapped to toggle between Japanese and English input. It
was fairly painless to setup, just had to add this to my .xinitrc:

export GTK_IM_MODULE='uim'
export QT_IM_MODULE='uim'
uim-xim &
export XMODIFIERS=@im='uim'

I can use the gtk panel too under dwm if I need to mess with settings just fine.

I'm not as familiar with SCIM, but maybe this wiki can offer some help
(lots of distro agnostic info can be gleaned from there):

Hope that helps!


On Tue, Mar 9, 2010 at 8:49 AM, Benito Cachinero
<> wrote:
> I've gleefuly merged from Gnome + Metacity to a plain X session with dwm on
> top.  No complaints, and it has done everything I need it to, but I'm
> stumbling on getting a XIM/SCIM toolbar to work for an IME.  I need to use
> CJK characters on a daily basis, so I find myself popping back into Gnome
> with dwm on top in order to do this.  It does work in Gnome, but I have no
> idea what differs in that setup to enable it to launch.
> Here is the relevant part of my .xinitrc where I am starting to launch SCIM:
> Based on the log, the SCIM daemon is indeed successfully loading in the
> background:
> But the keys assigned to pulling it up don't do anything.  I first thought
> that maybe dwm was stealing input with its own modkeys, so I mapped the SCIM
> launching (in scim setup) to different keys, but this didn't work.
> I'm wondering if this has something to do with the fact that the panel is
> designed for use in GTK and has been configured as part of Gnome and its
> keybindings.
> Does anyone have experience running an IME like scim-anthy (which is more
> than a key overlay - it needs a dictionary of words for word completion from
> Japanese syllabary to kanji) in dwm?
> I didn't find any relevant help online, perhaps because XIM/SCIM is a
> perennial problem regardless of environment.
> Thanks in advance.
> Benito Cachinero
Received on Tue Mar 09 2010 - 01:43:27 UTC

This archive was generated by hypermail 2.2.0 : Tue Mar 09 2010 - 01:48:03 UTC