Hi Jyun-Yi,

I am using bash.
And XMODIFIERS, GTK_IM_MODULE and QT_IM_MODULE variables are all set to the values you wrote.
But in QT applications the prompt window doesn't pop up as in GTK ones.

I am not setting any of LANG/LC_ALL/LC_CTYPE to Chinese.
This may be related to the problem.
When I set all of those to zh_TW.UTF-8 gcin begins to pop up the prompt window from QT applications just like from GTK. But after selection the word doesn't appear 9in the editbox. But I don't want to use Chinese locale since this makes all applications speak Chinese. And I only want to be able to type Chinese words.

Do you know how to achieve this?


Jyun-Yi Liou wrote:
Hi Yuri,
First of all, You do not specify what shell you are using. TCSH or BASH?
Second, waht DE you using too?

for TCSH, it should be this in your ~/.xinitrc
setenv XMODIFIERS='@im=gcin'
setenv GTK_IM_MODULE=gcin
setenv QT_IM_MODULE=gcin

I guess you are using TCSH not BASH.
gcin can let you type chinese in GTK apps without set GTK_IM_MODULE

You can check the SHELL VARIABLE that is set or not after logged-in X.


freebsd-questions@freebsd.org mailing list
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to