View previous topic :: View next topic |
Author |
Message |
newtux n00b
Joined: 07 Sep 2004 Posts: 4
|
Posted: Mon Jan 17, 2005 10:42 pm Post subject: Chinese Input and Display |
|
|
Hi every one,
I am a new gentoo user. I would like to input and display chinese with my gentoo. Could some one show me how to do so step by step ? Sorry, if this question has been asked many times beore. Thanks a bunch ! |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Tue Jan 18, 2005 3:03 am Post subject: Re: Chinese Input and Display |
|
|
newtux wrote: | Hi every one,
I am a new gentoo user. I would like to input and display chinese with my gentoo. Could some one show me how to do so step by step ? Sorry, if this question has been asked many times beore. Thanks a bunch ! |
hi newtux, this post may be helpful to you
If you have further questions, please feel free to post _________________ - http://nkbit.com
- http://twitter.com/xuyihua |
|
Back to top |
|
|
newtux n00b
Joined: 07 Sep 2004 Posts: 4
|
Posted: Tue Jan 18, 2005 6:29 am Post subject: Re: Chinese Input and Display |
|
|
Thanks for yor reply, Eric.
I did things you and Hauste suggested in the above link, emerged zh-kcfonts arphicfonts twmoefonts, added "cjk" to USE flag and I tried to follow the instructions on
http://dev.gentoo.org/~liquidx/chinese/chinese-v1.html
I use KDE, but I don't understand the instruction on the page mentioned:
"Setting up your environment
Before you choose your XIM server, you will need to place the below piece of code in your user's X startup scripts. If you use GNOME, then this should go in your ~/.gnomerc. If you use KDE, then FIXME."
Which file do I need to edit, in order to set up enviroment for Chinese input ?
Also, I am not able to activate fcitx by pressing ctl+space. Any idea what went wrong ? |
|
Back to top |
|
|
EricHsu Bodhisattva
Joined: 03 May 2004 Posts: 591 Location: Aragon Consulting Group, Beijing, China
|
Posted: Tue Jan 18, 2005 8:09 am Post subject: |
|
|
newtux, here is the gentoo'd way (IMO) of setting up the env vars:
edit /etc/env.d/99local (if no such file, create it), add the following lines to it:
Code: |
LC_ALL=zh_CN
XMODIFIERS="@im=fcitx"
XIM="fcitx"
XIM_PROGRAM="fcitx"
|
please note, the LC_ALL=zh_CN will set your whole system using Chinese...
and, run:
then logout & re-login. to make sure the env vars are correct, pls try to echo them one by one.
anyway, you probably would like to give scim-chinese (emerge scim-chinese) a try, since with scim, you don't have to set those X* env variables
HTH _________________ - http://nkbit.com
- http://twitter.com/xuyihua |
|
Back to top |
|
|
kohno Tux's lil' helper
Joined: 28 Aug 2004 Posts: 112
|
Posted: Tue Jan 18, 2005 1:51 pm Post subject: |
|
|
EricHsu wrote: | newtux, here is the gentoo'd way (IMO) of setting up the env vars:
edit /etc/env.d/99local (if no such file, create it), add the following lines to it:
Code: |
LC_ALL=zh_CN
XMODIFIERS="@im=fcitx"
XIM="fcitx"
XIM_PROGRAM="fcitx"
|
|
我觉得还是用~/.xinitrc来设比较好,这样不同的用户可以有不同的环境变量。 |
|
Back to top |
|
|
akar Bodhisattva
Joined: 03 Dec 2004 Posts: 348 Location: HKSAR,China
|
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|