cht電腦資訊gcin
adm Find login register

im-config 的訊息

alan

joined: 2007-09-25
posted: 134
promoted: 7
bookmarked: 1
1subject: 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

joined: 2007-09-25
posted: 1859
promoted: 111
bookmarked: 33
2subject: Promote 0 Bookmark 02011-12-28quote  

freelan:

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

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

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

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

-------------------------------------------------------------------
好用的gcin連結:

edited: 1
alan

joined: 2007-09-25
posted: 134
promoted: 7
bookmarked: 1
3subject: 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

joined: 2007-09-25
posted: 134
promoted: 7
bookmarked: 1
4subject: Promote 0 Bookmark 02011-12-30quote  

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

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
5subject: Promote 0 Bookmark 02011-12-31quote  

在 ubuntu 也是用 im-switch,不支援 im-config。

這兩個寫入的 file 不一樣。

alan

joined: 2007-09-25
posted: 134
promoted: 7
bookmarked: 1
6subject: Promote 0 Bookmark 02011-12-31quote  

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

eliu

joined: 2007-08-09
posted: 11478
promoted: 617
bookmarked: 187
新竹, 台灣
7subject: Promote 0 Bookmark 02011-12-31quote  

我不清楚 debian 要用那一個,只看到 Ubuntu 設定介面需要用 im-switch 才會顯示正確。

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