Hello. I used uim on Ubuntu without a problem but had issue working on
OpenSuSE 11.1. Thanks in advance for help.

Problem:

Short:

    the system behave as if there is no input method installed.


Long:

    Start either a gtk application (gedit I tested) or X application
    (xterm I tested), press input method toggle key, nothing happens on
    the screen. Go on typing, either after "Shift -Space" or before
    using "Shift-Space", letters appear as-is, instead of ideographs, as
    if no input method has been installed.

Background information:

I added Control Space as input method toggle key by using uim-pref-gtk,
because after tried all possible ones without luck, I could not find the
default "Meta - Space" maps which key on my iBook key to Meta Key.

Although not mentioned by the official document, I also tried to add
uim-toolbar-gtk to X session start script (on openSuSE is ~/.xim) to see
if it helps. It resulted a tiny tool-bar of a size if a single ideograph
with only one un-clickable button on it. The button has a "X" on it as
if it is the "close" button. In general adding the toolbar does not
alter system behavior and the tool bar appear during session start, last
a few seconds, and disappears (or covered) when gnome-panel showed itself.
 
The other system information are attached below:

ar...@jamaica:~> locale
LANG=zh_CN.UTF-8
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
ar...@jamaica:~> export | grep uim
declare -x GTK_IM_MODULE="uim"
declare -x XMODIFIERS="@im=uim"
ar...@jamaica:~> grep uim /etc/gtk-2.0/gtk.immodules 
"/usr/lib/gtk-2.0/2.10.0/immodules/im-uim.so" 
"uim" "uim" "uim" "/usr/share/locale" "ja:ko:zh:*" 
ar...@jamaica:~> cat /etc/issue
Welcome to openSUSE 11.1 - Kernel \r (\l).


ar...@jamaica:~> ps ax | grep uim
 4104 ?        S      0:00 uim-xim
 4105 ?        S      0:00 uim-toolbar-gtk
 4114 ?        S      0:00 /usr/lib/uim/uim-helper-server
 5060 ?        S      0:00 /usr/lib/uim/uim-candwin-gtk
 6148 pts/1    S+     0:00 grep uim

ar...@jamaica:~> rpm --query uim
uim-1.2.1-276.18

ar...@jamaica:~> cat .xim
#!/bin/bash
#!/bin/sh
export XMODIFIERS="@im=uim"
export GTK_IM_MODULE=uim
#export UIM_CANDWIN_PROG=uim-candwin-gtk
uim-xim &
uim-toolbar-gtk &

As mentioned before, ~/.xim is sourced during X session start.


You might ask why don't I use system input method management offered by
the distribution, in case of OpenSuSE the sysconfig tool of YAST. Answer
is it doesn't work: after I set uim to be default system wide input
method, it doesn't even set environmental variables, as if I did not set
any system wide input method.

-- 
Google Groups "uim-en" group
uim-en@googlegroups.com
http://groups.google.com/group/uim-en/about

Reply via email to