Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Chinese Input and Display
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
newtux
n00b
n00b


Joined: 07 Sep 2004
Posts: 4

PostPosted: Mon Jan 17, 2005 10:42 pm    Post subject: Chinese Input and Display Reply with quote

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
View user's profile Send private message
EricHsu
Moderator
Moderator


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Tue Jan 18, 2005 3:03 am    Post subject: Re: Chinese Input and Display Reply with quote

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
View user's profile Send private message
newtux
n00b
n00b


Joined: 07 Sep 2004
Posts: 4

PostPosted: Tue Jan 18, 2005 6:29 am    Post subject: Re: Chinese Input and Display Reply with quote

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 ? :roll: :roll:
Back to top
View user's profile Send private message
EricHsu
Moderator
Moderator


Joined: 03 May 2004
Posts: 591
Location: Aragon Consulting Group, Beijing, China

PostPosted: Tue Jan 18, 2005 8:09 am    Post subject: Reply with quote

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:
Code:

# env-update


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
View user's profile Send private message
kohno
Tux's lil' helper
Tux's lil' helper


Joined: 28 Aug 2004
Posts: 112

PostPosted: Tue Jan 18, 2005 1:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
akar
Moderator
Moderator


Joined: 03 Dec 2004
Posts: 348
Location: HKSAR,China

PostPosted: Sat Jan 22, 2005 2:18 am    Post subject: Reply with quote

View and input Chinese charactors in an English system

http://nic-nac-project.de/~murj/blog/item/view-and-input-chinese-charactors-in-an-english-system

8)
_________________
AKar
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
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