cht電腦資訊gcin
adm Find login register

im-config 的訊息

alan
1 im-config 的訊息
Promote 0 Bookmark 02011-12-28quote  

debian sid 裝 winlin 的 gcin_2.6.8-0_i386.deb

執行 im-config  出現以下訊息

Current configuration for the input method:
* Active configuration: gcin (normally missing)
* Automatic configuration: gcin (normally ibus or fcitx or uim)
* Number of valid choices: 1 (normally 1)
The configuration set by im-config is activated by re-starting X.
Explicit selection is not required to enable the automatic configuration if the active one is default/auto/cjkv/missing.

winlin
2
Promote 0 Bookmark 02011-12-28quote  

freelan:

這樣的訊息下,gcin還能否正常使用?

沒在用Sid,所以不太清楚目前Sid和Wheezy有哪些差異。小弟剛裝了im-config試了一下debian testing下的結果,好像還OK:

不知道其他比較懂im-config或Sid的前輩能否幫忙看一下?

另外,freelan有試過用Sid編看看嗎?不知是否也有同樣的問題?

edited: 1
alan
3
Promote 0 Bookmark 02011-12-29quote  

目前是用XIM

.xsession-errors

/etc/X11/Xsession: 28: /home/alan/.xinputrc: eval_gettext: not found

gcin 可以正常使用,只是出現跟之前不太一樣的訊息,呵

不知道是不是這檔案裡的路徑有問題?

$ vi /usr/share/im-config/data/50_gcin.rc

# start gcin
# vim: set sts=4 expandtab:

# start gcin daemon
/usr/bin/gcin &

# set variables for the plain XIM
XMODIFIERS=@im=gcin

GTK_IM_MODULE=xim
# use scim immodule only when available for both GTK 2.0 and 3.0
IM_CONFIG_MARKER2=0
for IM_CONFIG_MARKER in /usr/lib/*/gtk-2.0/*/immodules/gcin.so \
/usr/lib/gtk-2.0/*/immodules/gcin.so ; do
if [ -e $IM_CONFIG_MARKER ]; then
IM_CONFIG_MARKER2=1
break
fi
done

# There is no gtk3 module for SCIM for wheezy at this moment.
# This ensures to use xim for wheezy unless this is fixed.
IM_CONFIG_MARKER3=0
for IM_CONFIG_MARKER in /usr/lib/*/gtk-3.0/*/immodules/gcin.so \
/usr/lib/gtk-3.0/*/immodules/gcin.so ; do
if [ -e $IM_CONFIG_MARKER ]; then
IM_CONFIG_MARKER3=1
break
fi
done
if [ $IM_CONFIG_MARKER2 = 1 ] && [ $IM_CONFIG_MARKER3 = 1 ] ; then
GTK_IM_MODULE=gcin
fi

QT_IM_MODULE=xim
# use immodule when available for Qt3
for IM_CONFIG_MARKER in /usr/lib/*/qt3/plugins/inputmethods/libqgcin.so \
/usr/lib/qt3/plugins/inputmethods/libqgcin.so ; do
if [ -e $IM_CONFIG_MARKER ]; then
QT_IM_MODULE=gcin
break
fi
done

# This is placeholder for now.
QT4_IM_MODULE=xim
# use immodule when available for Qt4
for IM_CONFIG_MARKER in /usr/lib/*/qt4/plugins/inputmethods/libqgcin.so \
/usr/lib/qt4/plugins/inputmethods/libqgcin.so ; do
if [ -e $IM_CONFIG_MARKER ]; then
QT4_IM_MODULE=gcin
break
fi
done

# scim has no clutter support
CLUTTER_IM_MODULE=xim

edited: 2
alan
4
Promote 0 Bookmark 02011-12-30quote  

換成 im-switch 一切正常。是im-config的問題。

eliu
5
Promote 0 Bookmark 02011-12-31quote  
alan
6
Promote 0 Bookmark 02011-12-31quote  

了解!我也不知在哪裡看到要改用im-config,或許在gcin 放段說明會好點。

eliu
7
Promote 0 Bookmark 02011-12-31quote  

cht電腦資訊gcin
adm Find login register
views:15826