Hi, good to hear from you quickly.

On Sun, May 14, 2006 at 10:01:33PM +0200, Jan Willem Stumpel wrote:
> Osamu Aoki wrote:
> > Hi,
> > 
> > I am not using uim so give me update on this bug.
> > .uim seems right configuration to me per
> >  DOT_UIM file description.
> 
> Where is this description? 

/usr/share/doc/uim-common which is symlinked from /usr/share/doc/uim-gtk2.0 
too.

> It is wrong! If you have a ~/.uim file,
> uim complains (when you try to change the preferences) as follows:
> 
>    The user customize file "~/.uim" is found.
>    This file will override all conflicted settings set by
>    this tool (stored in ~/.uim.d/customs/*.scm).
>    Please check the file if you find your settings aren't
>    applied.
> 
> So uim itself thinks that customisations must be in the directory
> ~/.uim.d, not in the file ~/.uim. Having the file instead of the
> directory may have been right for an older version of uim.

Well please read official wiki at

http://uim.freedesktop.org/wiki/CustomizeUIM

| You can customize the behavior of uim in 2 ways.
| 
|   * GUI tool (uim-pref-gtk or uim-pref-qt)
|   * editing ~/.uim
| 
| uim-pref-* write the configuration into ~/.uim.d/customs/. ~/.uim
| overrides it.  If you use uim-pref-*, make sure the contents of ~/.uim
| doesn't conflict with ~/.uim.d/customs/. 

Thus what we does work.  But it is not elegant enough and is not
compatible with new GUI uim-pref-* tools.

> > Are you still experience problem?  Otherwise it may have been just
> > uim-gtk2.0 problem.
> 
> Yes, this bug (in im-switch) still exists. I just checked it by
> dpkg --purge all anthy, uim, scim, and m17n stuff and reinstalling.

I think it is OK to discuss with us for the design of im-switch here
thus I keep this bug here.  But please understand the actual "buggy"
codes per your assessment are not in this package.  They are example.

> The ~/.uim file is created by im-switch, using a script called
> /etc/X11/xinit/xinput.d/uim_anthy. This script is far too
> complicated. It causes the two problems which I mentioned in my
> bug report. The cure is also in my report. For other set-up notes
> for im-switch, see http://jw-stumpel.nl/stestu, sections 6.4.1 and
> 6.4.2.

This web page is well written, thanks.

You do not need to be root to set up like you did if you are fixing for
one user. im-switch has 2 modes, user and root. In user mode, you copy
uim-anthy to ~/.xinput.d and edit.  Run "im-switch -s uim-anthy" to
point to user one.  New -l comand should tell you did OK.  See my new
documentation in README.Debian(unstable).

I think what Muto-san did with this uim start up code was to chenge
$ENGINE in .uim file.  A bit complicated since he uses TEMPFILE.  If I
were him, I would use "ed" script to do the same.  Either way, it will
be hard to read.

But most elegant solution may be to write schime code which read
im-switch set up from environment variable or a file or use the same
mechanism as new uim-pref-* tools.  Let me think a bit on this.

By the way, as for SCIM, you can narrow down input method choice from
configuration menu (left-click on SCIM tool bar to get it).  Then you
can scroll through IM by pressing shift and ctrol together and release
one of it.  Depending on which key to be released, it rolls through
selection in oposit way.  So if you are chosing Japanese-European only,
you can do it just with this.  I guess, having one selectable main IM
and sub IM will be nice feature.  You may ask upstream for that.

Osamu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to