Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jun 2008 16:09:36 +0800
From:      "Jyun-Yi Liou" <7yuny1@gmail.com>
To:        yuri@rawbw.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?
Message-ID:  <81a9e3840806070109g5605ca5ag52382cf100b454e6@mail.gmail.com>
In-Reply-To: <48498735.6030800@rawbw.com>
References:  <48498735.6030800@rawbw.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

Regards,
jyuny1

2008/6/7 Yuri <yuri@rawbw.com>:

> When I am trying to type Chinese characters I can only do this from GTK
> applications.
> Input method doesn't work QT applications for me.
>
> I have the following in my .xinitrc:
> export XMODIFIERS='@im=gcin'
> export GTK_IM_MODULE=gcin
> export QT_IM_MODULE=gcin
>
> I have zh-gcin-1.4.0_1 installed and start it with 'gcin &'.
>
> In GTK apps Alt-Space creates the prompt windows. And in any QT apps -- no
> such box is popping up.
>
> Yuri
>
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?81a9e3840806070109g5605ca5ag52382cf100b454e6>