Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-08 Thread Edward G.J. Lee
On Sat, Jun 07, 2008, Yuri wrote:
 Hi Jyun-Yi,

 With these environment variables prompt window pops up from QT apps but
 editboxes don't get selected word.
 Also all GTK applications begin to speak Chinese.

  How about,

unset LC_ALL
unset LANG
export LC_CTYPE=zh_TW.UTF-8


Edward
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-08 Thread Yuri

Edward G.J. Lee wrote:


unset LC_ALL
unset LANG
export LC_CTYPE=zh_TW.UTF-8
  


Thank you Edward,

Now gcin menu is shown from QT app and all apps still speak English.
But the problem is that selected Chinese character doesn't appear in the 
editbox in QT applications.


Yuri

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-08 Thread Edward G.J. Lee
On Sun, Jun 08, 2008, Yuri wrote:
 Edward G.J. Lee wrote:
 
  unset LC_ALL
  unset LANG
  export LC_CTYPE=zh_TW.UTF-8
 

 Thank you Edward,

 Now gcin menu is shown from QT app and all apps still speak English.
 But the problem is that selected Chinese character doesn't appear in the
 editbox in QT applications.

  Your qt app and gcin must start via zh_TW.UTF-8 environment.

  We don't have qt immodule in gcin ports yet.



Edward
ps. You need XIM when you use qt app. In ~/.bash_profile,
export QT_IM_MODULE=xim
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-07 Thread Jyun-Yi Liou
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 [EMAIL PROTECTED]:

 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 
 [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-07 Thread Yuri

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?

Yuri

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.

Regards,
jyuny1



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-07 Thread Jyun-Yi Liou
Hi Yuri,
try this below,

export LANG=zh_TW.UTF-8
export LC_CTYPE=zh_TW.UTF-8
export  LC_MESSAGES en_US.ISO8859-1
export  LC_TIME en_US.ISO8859-1

this may let your gcin working and keep your system speak in english

further more, you may want to read this doc
http://chinsan2.twbbs.org/zh-tut/

Regards,
jyuny1

2008/6/7 Yuri [EMAIL PROTECTED]:

 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?

 Yuri


 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.

 Regards,
 jyuny1



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-07 Thread Yuri

Hi Jyun-Yi,

With these environment variables prompt window pops up from QT apps but 
editboxes don't get selected word.

Also all GTK applications begin to speak Chinese.

Yuri


Jyun-Yi Liou wrote:

Hi Yuri,
try this below,

export LANG=zh_TW.UTF-8
export LC_CTYPE=zh_TW.UTF-8
export  LC_MESSAGES en_US.ISO8859-1
export  LC_TIME en_US.ISO8859-1

this may let your gcin working and keep your system speak in english

further more, you may want to read this doc
http://chinsan2.twbbs.org/zh-tut/

Regards,
jyuny1



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Input method doesn't work with QT applications. Anyone able to type Chinese into QT apps?

2008-06-06 Thread Yuri
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 [EMAIL PROTECTED]