LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 12-04-2004, 06:23 AM   #1
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Rep: Reputation: 15
Unhappy Chinese input


Hello

I used to be a Mandrake user. Now I moved on to Debian but I have problems with chinese input !

In Mandrake I installed chinput and it worked well. Under Debian (sid) I can see chinese caracters, but chinput doesnt work. I have tried others but again with no success...

When I start chinput it says :

Chinput Version 3.0.2 -- XIM Server
Distributed under the terms of the GNU General Public License (GPL)
Couldn't load /home/djib/.pyinput/usrphrase.tab. Please fix it. size or load error
Chinput ................................................[OK]

Can any one help me ? Thanks !
 
Old 12-05-2004, 04:37 AM   #2
youtie
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne, Australia
Posts: 10

Rep: Reputation: 0
Have a look at this http://www.linuxsir.org/bbs/showthre...hreadid=145825
Only problem I have now is the file name within OpenOffice. It does not show proper Chinese in its 'Save As' window.
 
Old 12-07-2004, 07:16 AM   #3
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Hello,

Thanks but In fact I don't want a chinese environment. I want to keep it as is, but to be able to write chinese...
 
Old 12-08-2004, 09:22 AM   #4
nldw
LQ Newbie
 
Registered: Aug 2004
Posts: 5

Rep: Reputation: 0
try scim instead
 
Old 12-08-2004, 09:41 AM   #5
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Hello,
I have installed it it doesn't work either...
Is there locales files to configure or so ?

thanks...
 
Old 12-08-2004, 02:26 PM   #6
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
Chinese Input

Hi,

If scim is already installed (plus the scim-tables for Chinese etc.) type the following at the command line :-

$ export LC_CTYPE=zh_CN.UTF-8; export XMODIFIERS=@im=SCIM; scim -d

then you can run an application such as :-

$ oowriter

when that's (finally) loaded up, hit CTRL + SPACE, and the little SCIM window should pop up somewhere and you can select your language/input method from that...

if that works, cool, if it doesn't, post the error messages here and we'll try to work through it...

happy hunting!

jdw
 
Old 12-08-2004, 05:33 PM   #7
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Hello,
Thanks for your help.
I see the window but I can only select English... there is no other language available...
Is there a package I may have not installed ?
Thanks
 
Old 12-08-2004, 05:47 PM   #8
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
go to the scim website and download the relevant scim-tables that you need. they are available as rpms and source, but they should also be available (somewhere) as .deb files as well...

install these and try again...
 
Old 12-08-2004, 05:52 PM   #9
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
谢谢你!
Thank you so much !!!!!!!!

It was just those tables I was missing on !!!!
Great !!!!

Last edited by djib; 12-08-2004 at 06:05 PM.
 
Old 12-08-2004, 06:47 PM   #10
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
cool!

enjoy!

jdw
 
Old 12-09-2004, 02:23 AM   #11
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Hello,
Just one more question.
Is it supposed to work with all applications ? Like gaim for example ?
And you have to load the deamon before loading the program don't you ?
Eventually how can you launch the deamon automotically with your x ?


Moreover I found out that is I don't launch a program from the console I write
export LC_CTYPE=zh_CN.UTF-8; export XMODIFIERS=@im=SCIM; scim -d
in, it doesn't work...


Thanks !

Last edited by djib; 12-09-2004 at 02:30 AM.
 
Old 12-09-2004, 03:25 PM   #12
JDW
Member
 
Registered: Feb 2003
Location: Melbourne, Australia
Distribution: Ubuntu 6.10, Slackware 11.0
Posts: 192

Rep: Reputation: 30
Chinese Input

Hi,

Never tried it with gaim/ICQ anything like that. I've tried it with Open Office, Koffice, Kmail, Mozilla Thunderbird etc. and it worked with all them...have a look in places like www.linuxsir.org (it's in Chinese), someone would have looked at this issue before...

I've seen a posting recently (can't remember where though) saying that you can create a .xsession file in your home directory in Debian and put in commands like "export LC_CTYPE=zh_CN.UTF-8" and "scim -d"; this should load them everytime you log in in X..never tried it myself though, so let me know if that works...

yes...a limitation of setting locale and scim from a terminal window is that those settings will only apply for anything launched from the same terminal session...that's fine for me, I don't use Chinese input all that often and that's a nice easy way to do it...you can type the export and scim instructions as above into your ~/.bashrc file if you want it to apply for everything everytime you log in...

cheers,

jdw
 
Old 12-12-2004, 10:48 AM   #13
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Hey
It works perfectly now, with nearly all programs.
I followed the instructions on the page http://lists.debian.org/debian-chine.../msg00005.html
adapting it so scim and not the other program they talk about.

I find only one problem : The date and time is no longer displayed by the system clock. It's quite a strange behaviour I don't understand !
Anyway...

Thanks a lot for your help !
 
Old 12-14-2004, 05:59 AM   #14
youtie
LQ Newbie
 
Registered: Dec 2004
Location: Melbourne, Australia
Posts: 10

Rep: Reputation: 0
Hi,

Are you able to type file names in Chinese in OpenOffice? That was the only thing I did not figure out. I am currently trying SUSE 9.2. Its scim input setup is very easy - I did not even need to set up locales. I notice there is a file .xim in HOME directory. Does it exit in Debian? I am still learning Linux.
 
Old 12-14-2004, 06:26 AM   #15
djib
Member
 
Registered: May 2004
Location: France
Distribution: Debian
Posts: 132

Original Poster
Rep: Reputation: 15
Hey,
I'm also learning linux.
I don't have this .xim file in my home directory...
I didn't try chinese file names because I don't really need it. I already have problems with french accents, so...
Bye
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chinese input denning Slackware 16 02-24-2005 12:39 AM
Chinese input Cyberian Fedora 2 02-15-2005 06:32 AM
Chinese Input Problem chinaundead Mandriva 16 11-26-2004 09:44 AM
Chinese Input in Squirrelmail? mosherben Linux - Software 0 08-11-2004 03:16 AM
the chinese input problem vanbastern Linux - Newbie 3 04-04-2004 05:38 PM


All times are GMT -5. The time now is 04:54 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration