On Sun, May 21, 2006 at 02:09:05PM +0900, AWASHIRO Ikuya wrote:
> On Sat, 20 May 2006 21:30:42 +0900
> Osamu Aoki <[EMAIL PROTECTED]> wrote:
> > Since Ming (SCIM maintainer) tells us to use XIM for stability, I will
> > use 50 for XIM one and other ones being 40.
> I think XIM should be 40.
> Because XIM is very old function and im-module is better for users'
> convenience.
> Of course im-module is enough stability.
> 
> Another major distributions such as Fedora, SUSE and Mandriva are
> im-module by default.

Here are my proposal for 2 configuration choices founf in im-swich for
scim.  Attached.

Osamu

#
# Use "X input Method" for all applications
#
# Per Ming's Documentation in SCIM, XIM Input Method is activated
# not only for old X-applications but also for GTK and QT appplication.
#
# If a user wishi to use, GTK Input Method, (s)he can right-click input 
# area and select "Input Methods" and change from "X input Method" to 
# "SCIM Input Method".
#

XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE=
QT_IM_MODULE=
DEPENDS="scim,scim-gtk2-immodule,scim-anthy|scim-canna|scim-chewing|scim-pynyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"
#
# Use "X Input Method"  only for old applications
# Use "GTK Input Method"     for GTK applications if immodule exists
# Use "GTK Input Method"     for Qt  application if immodule exists
#
# Per Ming's Documentation in SCIM, using X Input Method even for GTK 
# and QT application is better for the system stability.
#
# User can change to GTK Input Method by right-clicking input area and 
# changing "Input Methods" from "X input Method" to "SCIM Input Method".
#
# This configuration may require system adminstrator modification
# to synchronize it with installed version of SCIM programs.
#
# I kept scim_bridge commented out since Debian does not seem shipping it.
##scim_bridge="/usr/lib/gtk-2.0/2.4.0/immodules/im-scim-bridge.so"

im_scim="/usr/lib/gtk-2.0/2.4.0/immodules/im-scim.so"
libqscim="/usr/lib/qt3/plugins/inputmethods/libqscim.so"

##if [ -e "$scim_bridge" ]; then
##        gtkim="scim-bridge"
##elif [ -e "$im_scim" ]; then

if [ -e "$im_scim" ]; then
        gtkim="scim"
else
        gtkim="xim"
fi

if [ -e "$libqscim" ]; then
        qtim="scim"
else
        qtim="xim"
fi

XIM=SCIM
XIM_PROGRAM=/usr/bin/scim
XIM_ARGS="-d"
GTK_IM_MODULE="$gtkim"
QT_IM_MODULE="$qtim"
DEPENDS="scim,scim-gtk2-immodule,scim-anthy|scim-canna|scim-chewing|scim-pynyin|scim-hangle|scim-prime|scim-skk|scim-tables-additional|scim-m17n|scim-uim|scim-tables-ja|scim-tables-ko|scim-tables-zh"

Reply via email to