LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   SCIM problem (https://www.linuxquestions.org/questions/linux-general-1/scim-problem-363792/)

xjchen001 09-15-2005 09:18 PM

SCIM problem
 
I am sorry that I need to start a new thread regarding the Chinese input.
I have already installed Chinese support on my Fedora Core 4 (Session: Gnome). I have also intalled SCIM following the instruction http://www.scim-im.org/wiki/documen...figuration/all. I have done the configuration following the System configuration page.

But the scim website doesn't instruct me how to start using SCIM in other applications. I searched LinuxQuestions.org again, and find that I need to run scim -d and then start an application, then press Ctrl+Space to invoke the SCIM input bar.
However, when i start scim -d, it just stuck there. The attached is the script.
When i open an gedit, type some English, then press Ctrl+Space to input Chinese. However, nothing happened as expected, no chinese input bar appears. When i type, english characters appear instead of Chinese characters.

Could you help me?

Regards,
Xinjun

/******************Execution Scripts ***********************/

[root@r4-1 ~]# scim -l
Smart Common Input Method 1.4.0

Available FrontEnd module:
socket
x11

Available Config module:
simple
socket
dummy

Available IMEngine module:
rawcode
socket

[root@r4-1 ~]# scim -d
Smart Common Input Method 1.4.0

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...

[hung here]

xjchen001 09-16-2005 02:44 AM

Finally I get my SCIM work! I installed all the required libraries. (GLIB2_4, Cairo, pango, etc)

Thank everybody helped me. I could use SCIM type chinese in gedit, OpenOffice, Gaim, etc.

But I get another crucial problem, I could not use Firefox. I can get the Firefox run, but all I can see from Firefox are "_" (underscores) here and there without a single English or Chinese characters.

The following are some scripts showing the packages i installed and the three relevant environment variables.

[root@r4-1 etc]# rpm -qa | grep scim
scim-tables-chinese-0.5.3-4
scim-tables-0.5.3-4
scim-devel-1.4.2-3
scim-libs-1.4.2-3
scim-pinyin-0.5.91-1
scim-1.4.2-3
scim-doc-1.4.2-3

[root@r4-1 download]# echo $XMODIFIERS
@im=SCIM
[root@r4-1 download]# echo $GTK_IM_MODULE
scim
[root@r4-1 download]# echo $QT_IM_MODULE
scim

awtoc123, could you tell me what's wrong there? Why does the Firefox just display underscores and pictures?

Regards,
Xinjun

ross_cav 09-18-2005 08:16 PM

http://www.linuxquestions.org/questions/history/336610

Check out this post, I think it will help you resolve your firefox issue if you haven't already.

xjchen001 09-19-2005 12:06 AM

Thank you very much. I did following that thread. :), It works!

fogsnow 09-24-2005 07:58 AM

Re: SCIM problem
 
Quote:

Originally posted by xjchen001
I am sorry that I need to start a new thread regarding the Chinese input.
I have already installed Chinese support on my Fedora Core 4 (Session: Gnome). I have also intalled SCIM following the instruction http://www.scim-im.org/wiki/documen...figuration/all. I have done the configuration following the System configuration page.

But the scim website doesn't instruct me how to start using SCIM in other applications. I searched LinuxQuestions.org again, and find that I need to run scim -d and then start an application, then press Ctrl+Space to invoke the SCIM input bar.
However, when i start scim -d, it just stuck there. The attached is the script.
When i open an gedit, type some English, then press Ctrl+Space to input Chinese. However, nothing happened as expected, no chinese input bar appears. When i type, english characters appear instead of Chinese characters.

Could you help me?

Regards,
Xinjun

/******************Execution Scripts ***********************/

[root@r4-1 ~]# scim -l
Smart Common Input Method 1.4.0

Available FrontEnd module:
socket
x11

Available Config module:
simple
socket
dummy

Available IMEngine module:
rawcode
socket

[root@r4-1 ~]# scim -d
Smart Common Input Method 1.4.0

Launching a SCIM daemon with Socket FrontEnd...
Loading simple Config module ...
Creating backend ...
Loading socket FrontEnd module ...
Starting SCIM as daemon ...
Launching a SCIM process with x11...
Loading socket Config module ...
Creating backend ...
Loading x11 FrontEnd module ...

[hung here]

I have the same problem!
when I execute scim -d
it hangs at the step"Loding X11 Frontedn module..."
I wait a long time, and it end with"Faild to launch SCIM"


but I don't think I have installed inappropriate modules

scim -l

Available FrontEnd module:
socket
x11
Available Config module:
simple
socket
dummy
Available IMEngine module:
pinyin
rawcode
socket
table
__________________

Quote:

Finally I get my SCIM work! I installed all the required libraries. (GLIB2_4, Cairo, pango, etc)
how do you know you need these required libraries? where did you find them?
can you help me?

thanks

xjchen001 09-24-2005 09:20 PM

I uninstalled the SCIM, and downloaded some rpms. Go to the following website to download the relevant RPMs. This website also describes library dependencies. That's where I found the relevant library information.
http://rpm.pbone.net/index.php3/stat/2/simple/2.

When you install the SCIM RPMs, the rpm reports missing library, then you go to the above website to download the missing library rpm. When you install the missing library, they may complain other missing library, then you need to download and install/update missing/old library. Do this recursively until not complaint of missing libraries.

After you successfully installed, you may encounter the problem in my secondly message. You can either google the error or follow the solution at http://www.linuxquestions.org/questions/history/336610.

Hope it helps you.

Regards,
Xinjun

fogsnow 09-25-2005 05:59 AM

thanks very much for your elaborate explanation : )

what a pity, I use redhat 8, and can't find appropriate rpms in the site you've showed me.

compiling source packages is my only approach to intall scim

I chose scim because I want to input chinese in the English evironment, and it is said scim is the most
efficient input platform. I have tried minchinput and fcitx , neither of which works well.


thanks again for your warmhearted help :P


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