Page 1 of 2

Posted: Sat 15 Oct 2005, 09:09
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.

Posted: Sat 15 Oct 2005, 10:00
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)

Posted: Sat 15 Oct 2005, 16:13
by sccat
But which XTERM would work.In /etc/profile or in /root/.bashrc?

Thanks.

Posted: Sat 15 Oct 2005, 21:19
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

Posted: Sun 16 Oct 2005, 02:56
by Lobster

Fcitx

Posted: Wed 23 Nov 2005, 06:53
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.

Posted: Thu 24 Nov 2005, 04:26
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?

Posted: Thu 24 Nov 2005, 05:47
by Marcel
Thanks sccat. No, I'm not Chinese - just an old guy learning Mandarin for pleasure! :)

Posted: Thu 24 Nov 2005, 11:14
by sccat
Have fun.

I'm learning french for pleasure.

Input Chinese in Puppy

Posted: Wed 30 Nov 2005, 02:58
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.