Hi Leon,
Easiest way to let the OS do the work of running the correct locale and export the correct variable is to login as the language you want in gdm,
Yes, you are correct.
I performed 2 tests to prove it, login as KDE, Trad Chinese and Simplified Chinese respectively. Input Simplified Chinese was without problem, toggling between English and Pinyin working with [Ctrl+Space]
OOo Writer also worked but I can't do anything on the 4 small parallel retangular boxes, not showing the name of Input Method.
(Remark: on Trad Chinese, only 2 boxes)
or modify your /etc/sysconfig/i18n or ~/.i18n and restart your X.
$ cat /etc/sysconfig/i18n LANG="en_US.iso885915" SUPPORTED="en_US.iso885915:en_US:en" SYSFONT="lat0-sun16" SYSFONTACM="iso15"
$ cat /home/satimis/.i18n XIM=iiimf-le-xcin
What shall I modify? Please advise. TIA
B.R. Stephen
On Fri, 2004-09-03 at 12:14 +0800, Stephen Liu wrote:
Hi Leon,
I made a further test on Simplified Chinese Input
Terminal 1: $ export LANG=zh_CN.UTF-8 $ httx
Terminal 2: $ export LANG=zh_CN.UTF-8 $ export XMODIFIERS=@im=htt $ kedit/mozilla or ~/OpenOffice.org1.1.2/program/swriter
Non of them can work. 'Ctrl+Space' could not
toggle
English/Chinese
$ LANG=zh_CN.UTF GTK_IM_MODULE=iiim gedit 'Ctrl+Space' toggle English/European
$ LANG=zh_CN.UTF GTK_IM_MODULE=iiimf gedit 'Ctrl+Space' no action
$ rpm -qa | grep iiimf iiimf-le-inpinyin-0.3-2 .....
B.R. Stephen
_______________________________________________________________________ Do You Yahoo!? Get your free @yahoo.com.hk address at http://mail.english.yahoo.com.hk