Puppy Can Input Chinese Character

Using applications, configuring, problems
Message
Author
sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#16 Post by sccat »

But there is something strange.

If I want to use fictx(XIM) in leafpad,I must start leafpad in rxvt.
If I start leafpad through menu/Desktop,I can't input chinese.

Why?What's the difference between the 2 methods of starting the promgram?

Chat & abiword also encounter this problem.

Thanks.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#17 Post by GuestToo »

when you start a program from the menu, it is using environmental variables from /etc/profile

for example, in profile, XTERM=linux
in .bashrc, XTERM=xterm

try putting any variables you use, like LANG=... LANGUAGE=... in /etc/profile (or you should be able to put them in /etc/profile.local ... do not forget to export them)

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#18 Post by sccat »

But which XTERM would work.In /etc/profile or in /root/.bashrc?

Thanks.

GuestToo
Puppy Master
Posts: 4083
Joined: Wed 04 May 2005, 18:11

#19 Post by GuestToo »

i do not know if this is the answer to your problem, but some of the environmental variables are different when you run a program from the menu, compared to in a bash script

in particular, XTERM=linux ... which is limited to ascii characters

on my machine, /etc/profile sets:

XTERM=linux

in a bash script, these are set:

COLORTERM=rxvt-xpm
TERM=xterm

so you could try putting this in /etc/profile.local (create the file if it does not exist)

export COLORTERM=rxvt-xpm
export TERM=xterm

and also maybe something like this (use the correct locale parameters, of course)

export LANG=zh_CN
export LANGUAGE=$LANG
export LC_ALL=$LANG

i do not know if it will work or not

User avatar
Lobster
Official Crustacean
Posts: 15522
Joined: Wed 04 May 2005, 06:06
Location: Paradox Realm
Contact:

#20 Post by Lobster »

Puppy Raspup 8.2Final 8)
Puppy Links Page http://www.smokey01.com/bruceb/puppy.html :D

User avatar
Marcel
Posts: 112
Joined: Sun 15 May 2005, 06:25
Location: Sydney, Australia

Fcitx

#21 Post by Marcel »

RE sccat's posting 3/9/05:
What is fcitx? I'd like to be able to enter Chinese characters as shown on your screenshot - I can do exactly that in WinXP: what must I do to do it in Puppy? (I'm learning Mandarin - simplified characters).
Thanks for any help.
"It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets." - Voltaire

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#22 Post by sccat »

See this:
http://freeforums.bizhat.com/index.php? ... owtopic=90

fcitx is an XIM(X input method),like scim.


By the way,Are you Chinese?

User avatar
Marcel
Posts: 112
Joined: Sun 15 May 2005, 06:25
Location: Sydney, Australia

#23 Post by Marcel »

Thanks sccat. No, I'm not Chinese - just an old guy learning Mandarin for pleasure! :)
"It is forbidden to kill; therefore all murderers are punished unless they kill in large numbers and to the sound of trumpets." - Voltaire

sccat
Posts: 160
Joined: Mon 22 Aug 2005, 04:22

#24 Post by sccat »

Have fun.

I'm learning french for pleasure.

herbalix
Posts: 1
Joined: Wed 30 Nov 2005, 02:38

Input Chinese in Puppy

#25 Post by herbalix »

Marcel wrote:Thanks sccat. No, I'm not Chinese - just an old guy learning Mandarin for pleasure! :)

To me, Puppy Linux is the most fascinating live CD. I intend to learn how to input Chinese using it. Your kind advice in sharing with me your experience will be greatly appreciated!

There is a saying in Chinese: 活到老, 学到老 (Keeping on learning regardless age.) Your motivation in learning Chinese prompts me to write this. If you like a penpal to write in Chinese, please contact me.

The Chinese web site 21cn.com offers mail box up to 10 GB-->7 GB more than Gmail! Beside retrieving emails (not available in Gmail) from, and forwarding emails to other email accounts, it's filled with all sorts of things to read, see, and hear, to help you in the process of learning Mandarin. Sign up for a free account at:
http://fmail.21cn.com/freemail/register ... x@21cn.com.
My email address is embedded there--one way to encumber spam robots from picking it up for spamming.

Please note that logging into the mail box does not work with FireFox, but Opera, IE, SlimBrowser, Avant Browser.

Post Reply