LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   SCIM chinese input works selectively (Mandrake 10) (https://www.linuxquestions.org/questions/linux-software-2/scim-chinese-input-works-selectively-mandrake-10-a-158797/)

secretlydead 04-30-2005 01:23 AM

JDW,

sorry to do this here, but i know you'll answer if i do:

how can i make scim with korean and chinese work on kopete?

(i think you should have your own forum for asian language questions.)

JDW 05-01-2005 05:08 PM

Hi secretlydead,

sorry to be absolutely no help, but I can't say that I've ever used kopete, so I am not sure what the issue would be. It'll give me something to do tonight after work though! I'll see if I can figure anything out with it and let you know...

jdw

secretlydead 05-01-2005 10:36 PM

thanks.

it's on mandrake 10.1, by the way. i'm using an english user, scim (which works for both korean and chinese on AbiWord, and web browsers).

it's still a bit frustrating that i have to use windows for work (since i have to talk to chinese/koreans on msn) and us customs releases all of it's information on cd's that have to be loaded onto windows. hopefully, by the time the WTO rules clamp down on piracy in this country, WINE will work well enough to overcome these problems.

i look forward to any answer you can give me.

daniel.

liucougar 05-03-2005 10:15 PM

what's your problem with kopete?

It works as the other KDE apps

secretlydead 05-03-2005 10:38 PM

doesn't work on mine.

i'm using mandrake 10.1 and i'm an english user.

right now, i can type 中国话 or 한국의 with no problem here in mozilla or in abiword.

however, in kopete, no korean or chinese options come up when the cursor is in the chat box and i click on the scim (running in the background) icon located in the lower right hand corner. only the options american keyboard and english keyboard come up.

when i do the same action in abiword or in mozilla, an extra two options - korean and chinese - come up.

liucougar 05-03-2005 11:08 PM

what about the other kde apps?

if none of them work, then you did not setup KDE correctly in order to work with scim

consult: http://www.scim-im.org/wiki/document...tion_of_system

secretlydead 05-04-2005 12:16 AM

OK.

did exactly what the page said, then started a new session but it didn't work.

export LC_CTYPE="en_US.UTF-8"
export XMODIFIERS=@im=SCIM
export GTK_IM_MODULE=xim
export QT_IM_MODULE=xim

should i have typed in those commands as "root"?

should i have used a locale other than english?

i completely ignored what is said about skim because i don't believe it's on here. was that a mistake?

thanks.

liucougar 05-04-2005 08:24 AM

you can input under mozilla, so I assume your locale is set correctly.

you settings seem to be fine.

under a console in X, do an export, and see whether the variables are set to what you specified

secretlydead 05-04-2005 08:39 PM

one step closer
 
hi,

yes, i checked the export list, and it's all as modified above.

now, i can bring up the scim toolbar as i'm typing anywhere in X, and it lets me change to korean or chinese or whatever, but it doesn't actually let me type that way.

JDW 05-04-2005 09:16 PM

hi secretlydead,

are these settings as above global or are they limited to a particular console session? If they are global then it should work on kopete, mozilla, office etc. regardless of where you launch the application from.

If you are only making these settings for a particular session, then you have to launch kopete from the same terminal window.

You probably already realise this, but I am just trying to cover all bases...

cheers,

jdw

secretlydead 05-04-2005 09:32 PM

for the sake of argument, i set up the system as above, and launched kopete from the same terminal. no dice.

but, no, i didn't know that. how do i know if i have set up something globally?

second, i'm on an upgrade from mandrake 10 to 10.1. would that make a difference? i hope not, because i really don't want to reinstall this whole thing. (and, anyway, i was never able to install 10.1 without an upgrade because of the new graphical interface drivers (?) they use.)

liucougar 05-04-2005 09:45 PM

try this to start your kopete:
LC_CTYPE="en_US.UTF-8" XMODIFIERS=@im=SCIM kopete

while scim is running

secretlydead 05-04-2005 09:54 PM

that worked!

thanks.

so, how do i load that in as the default configuration? (so that when i, or another user clicks on the graphical interface, it gives that command line) preferably in a way that i don't have to do it for every application that i want to work.

(thanks, y'all)

liucougar 05-04-2005 09:57 PM

your problem is that you did not set the correct environment variables globally

did you check the wiki doc in scim-im.org?
http://www.scim-im.org/wiki/document..._configuration

secretlydead 05-05-2005 12:57 AM

Yes,

in file:/etc/sysconfig/i18n

I added the lines:
GTK_IM_MODULE=scim
XIM_PROGRAM="scim -d"
XMODIFIERS=@im=SCIM

and changed LC_CTYPE=en_US
to LC_CTYPE="en_US.UTF-8"

restarted the computer and kopete doesn't work.

what did I do wrong?

(kopete works typing the command that you listed above)


All times are GMT -5. The time now is 10:19 AM.