| View previous topic :: View next topic |
| Author |
Message |
wildleaf n00b

Joined: 12 Oct 2004 Posts: 71
|
Posted: Sat Dec 18, 2004 7:34 am Post subject: Gentoo chinese problem |
|
|
| 有没有人写一个HOWTO? 如何在gentoo下安装Fonts? |
|
| Back to top |
|
 |
ts Tux's lil' helper

Joined: 15 Dec 2004 Posts: 97
|
Posted: Sat Dec 18, 2004 7:49 am Post subject: Re: Gentoo chinese problem |
|
|
| wildleaf wrote: | | 有没有人写一个HOWTO? 如何在gentoo下安装Fonts? |
please provide more details: chinese menu, chinese supported base, or chinese fonts only, or chinese folder name?
for chinese menu:
add this to /etc/make.conf
then
Now, you will see chinese menu
for chinese supported base:
you need add "cjk unicode nls" to your /etc/make.conf
| Code: | | USE="cjk nls unicode" |
then
| Code: | emerge system
emerge world |
for chinese fonts:
if you need other fonts
just run
| Code: | | emerge search fonts |
you will get information
Last edited by ts on Sat Dec 18, 2004 7:57 am; edited 2 times in total |
|
| Back to top |
|
 |
Hauser l33t


Joined: 27 Dec 2003 Posts: 650 Location: 4-dimensional hyperplane
|
|
| Back to top |
|
 |
wildleaf n00b

Joined: 12 Oct 2004 Posts: 71
|
Posted: Sat Dec 18, 2004 7:56 am Post subject: Thanks. |
|
|
| I'm using english, but need to read chinese. Not necessary to have a chinese menu....I'm installing arphifonts right now, hope it works. Do I need to set LANG=zh_CN.UTF-8 or leave it as en_US.UTF-8? |
|
| Back to top |
|
 |
wildleaf n00b

Joined: 12 Oct 2004 Posts: 71
|
Posted: Sat Dec 18, 2004 8:03 am Post subject: |
|
|
| It works! Thanks. What do you guys use for input chinese? |
|
| Back to top |
|
 |
ts Tux's lil' helper

Joined: 15 Dec 2004 Posts: 97
|
Posted: Sat Dec 18, 2004 8:03 am Post subject: Re: Thanks. |
|
|
| wildleaf wrote: | | I'm using english, but need to read chinese. Not necessary to have a chinese menu....I'm installing arphifonts right now, hope it works. Do I need to set LANG=zh_CN.UTF-8 or leave it as en_US.UTF-8? |
What will you use to read chinese? xterm or internet browser?
It's better to add
| Code: |
zh_CN.gb2312
zh_CN.UTF-8/UTF-8
|
to your /etc/locales.build
It's not neccessary to set LANG. |
|
| Back to top |
|
 |
ts Tux's lil' helper

Joined: 15 Dec 2004 Posts: 97
|
Posted: Sat Dec 18, 2004 8:04 am Post subject: |
|
|
| wildleaf wrote: | | It works! Thanks. What do you guys use for input chinese? |
| Code: | | emerge scim-chinese |
|
|
| Back to top |
|
 |
wildleaf n00b

Joined: 12 Oct 2004 Posts: 71
|
Posted: Sat Dec 18, 2004 8:24 am Post subject: !! |
|
|
| Nice...finally can input chinese now. You guys really help me out. Thanks. |
|
| Back to top |
|
 |
panyo Tux's lil' helper

Joined: 02 Jan 2004 Posts: 86
|
Posted: Wed Jan 05, 2005 4:11 am Post subject: Re: !! |
|
|
| wildleaf wrote: | | Nice...finally can input chinese now. You guys really help me out. Thanks. |
I have not been able to get scim-chinese to emerge for months. I get
| Code: | Connecting to freedesktop.org[131.252.208.82]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
20:19:47 ERROR 404: Not Found |
How did you do it? |
|
| Back to top |
|
 |
jannis Guru

Joined: 05 Dec 2004 Posts: 310 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Thu Jan 20, 2005 8:05 pm Post subject: |
|
|
maybee specifie another mirror in your /etc/make.conf ?
or if you use mirrorselect, re-run it |
|
| Back to top |
|
 |
deathmask n00b

Joined: 06 Sep 2005 Posts: 2
|
Posted: Fri Sep 16, 2005 9:33 pm Post subject: Re: Thanks. |
|
|
[quote="ts"][quote="wildleaf"]I'm using english, but need to read chinese. Not necessary to have a chinese menu....I'm installing arphifonts right now, hope it works. Do I need to set LANG=zh_CN.UTF-8 or leave it as en_US.UTF-8?[/quote]
What will you use to read chinese? xterm or internet browser?
It's better to add
[code]
zh_CN.gb2312
zh_CN.UTF-8/UTF-8
[/code]
to your /etc/locales.build
It's not neccessary to set LANG.[/quote]
I'm using english too, but I want to read and input chinese both in xterm and browser.
Now I have added zh_CN/GB2312 in my locales.build, and I can read it in brower but not in xterm.
I've emerged fcitx, how can I start it to input chinese?
Thanks a lot!! |
|
| Back to top |
|
 |
citizen428 Retired Dev


Joined: 10 Jun 2002 Posts: 317 Location: Vienna, Austria
|
Posted: Sat Sep 17, 2005 10:29 pm Post subject: Re: Thanks. |
|
|
| deathmask wrote: | I've emerged fcitx, how can I start it to input chinese?
|
Make sure you have exported the necessary env vars:
export XIM_PROGRAM=fcitx
export XIM=fcitx
export XMODIFIERS=@im=fcitx
export LC_CTYPE="zh_CN.gb2312"
Now if you start an app, hitting Ctrl+Space activates fcitx. |
|
| Back to top |
|
 |
|