Re: How to use scim on Terminal? [SOLVED]
Hillman Dai <[email protected]>
| Newsgroups | gmane.linux.suse.m17n |
|---|---|
| Message-ID | <[email protected]> |
I could use scim in other programs now. Thank You! Hillman --- Mike FABIAN <[email protected]> 批捆嚗 > Hillman Dai <[email protected]> > 隞瘞頦鈭撘隞: > > > Hi Mike, > > > > The system is not a fresh install, it is just > upgrade > > from the previous SuSE9.1. I have already set the > > parameter in .xim file. The content is as follow: > > Your .xim is apparently based on an old version of > /etc/skel/.xim.template, i.e. the one from SuSE 9.1 > where > scim was not yet the default. > > On SuSE 9.2, scim is the default for Chinese, i.e. > /etc/X11/xim will > start scim for you unless you have your own ~/.xim. > > That means the easiest way to get it working is just > to delete > your ~/.xim and rely on system default. > > If you want to your own ~/.xim file and always want > to start scim, > it is enough to put only the following few lines > > export XMODIFIERS="@im=SCIM" > export GTK_IM_MODULE=scim > export QT_IM_SWITCHER=imsw-multi > export QT_IM_MODULE=scim > scim -d > > into ~/.xim as explained at the top of /etc/X11/xim > or > /etc/skel/.xim.template (which have the same > contents). > > > ========================== > > zh_*) # Chinese > > case $tmplang in > > zh_TW*) > > tmplang=zh_TW > > ;; > > zh_CN*) > > tmplang=zh_CN > > ;; > > You don't need this "tmplang" stuff either, this was > only for xcin. > > > esac > > #if type -p xcin > /dev/null 2>&1 ; then > > # export XMODIFIERS="@im=xcin-$tmplang" > > # LANG=$tmplang LC_ALL=$tmplang xcin & > > #fi > > export XMODIFIERS="@im=scim" > > You need to write scim in upper case here: > XMODIFIERS=@im=SCIM > > I guess that is the reason why it didn't work for > you. > > It works without that in Qt and GTK2 applications, > because those don't > use XIM. But if XMODIFIERS is not set correctly it > will fail in all > applications using XIM like mlterm, xterm, ... > > > scim -d& > > you don't need the '&' > > > ;; > > ========================== > > > > The locale I use is zh_TW.Big5 > > -- > Mike FABIAN <[email protected]> > http://www.suse.de/~mfabian > 頛餅賢蝪怠銝凋葉瑕镼臬儮 > > _______________________________________________________________________ 啣僑憿蝚砌雿 : 曉啣蝺犖 http://personals.yahoo.com.hk -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]