LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   SCIM start to finish for Zenwalk (https://www.linuxquestions.org/questions/linux-newbie-8/scim-start-to-finish-for-zenwalk-495900/)

kimo_anton 10-26-2006 07:15 PM

SCIM start to finish for Zenwalk
 
Hey folks,
I put up some posts earlier asking all kinds of questions about getting scim installed and working with Zenwalk. Since I hardly got any response - by the way, thank you to those who did - I'll assume lots of people didn't know the answers to my questions - through lack of communication on my part or whatever other reason. Now, after months of trial and error and goggling my sack off, it works so I thought I'd let you all know what I did.

I am very much a "newbie" to linux and computer stuff in general. Some of what I did may in fact be "wrong" or unnecessary. The fact is my machine works and that's enough for me.

0) install a Japanese font or two (or however many you want)

1) downloaded:
anthy-8130
scim-1.4.5
scim-anthy
scim-tables
m17n library
m17n database
m17n documents
scim-m17n


2) I then extracted everything

3) I then went through the "./configure, make, make install" process with each one in this order:

1 - anthy

2 - m17n docs (./configure didn't work, but make and make install did)

3 - m17n lib

4 - m17n database

5 - scim 1.4.5

6 - scim-tables (I got some error messages during this, but everything works regardless so :rolleyes: )

7 - scim-anthy

8 - scim-m17n

4) I changed my locale to the US English UTF8 setting under the settings>locale menu you get when you right click.

5) My wife is Japanese so I've set up two "users" on my machine - one to start in Japanese and one to start in English. I did step three and step four first as the English using user, then as the Japanese using user.

6) in /home/(English using user), then /home/(Japanese using user) I added these lines to my .xintc file:

export LC_CTYPE="jp_JP.UTF8"
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
scim -d

7) then in the terminal, I typed as root:

gtk-query-immodules-2.0 > /ect/gtk-2.0/gtk.immodules

at this point, after logging out, then back in, I could type in Japanese using Abiword by right clicking in the typing field and selecting input method>SCIM and changing to a Japanese font.

I still couldn't get it to work with Firefox, though, which brings me to...

7) I logged in as root and created this file:

/ect/profile.d/scim.sh

8) I openned that file with Bluefish and typed in:

export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE="xim"
export QT_IM_MODULE="scim"
export LC_CTYPE=ja_JP.utf8
scim -d

9) Then I had scim start up using the automatic application starter thing you can find under the "settings" menu.
Name: SCIM
Description: Scim
Command: scim -d

10) then I logged out and back in and when I started up Firefox I got the little scim box and I was golden.

That's it. I hope this is helpful. I just finished everything this morning before I came to work. I don't have my computer with me, but I wanted to get this all down before I forgot. I'll check when I get home to make sure everything is as I have written.

By the way, these sites were useful for me:

http://www.vectorlinux.com/forum2/in...0;sa=showPosts

http://linux-cjk.net/IM/computertaijutsu/jpninpt.html

tsuren 10-27-2006 09:00 PM

thank you, thank you, thank you!!!!! i've been looking for an instruction like this for ages. i was almost giving up on scim/anthy stuff... but NOW it all works!!!! ah! what a relief! i think there are many "unhelpful" and "misleading" infos on the net about installing JP inputs. (and to be honest, i have a feeling that newbies are much better at explaining stuff than expert linux masters - coz for newbies, all we want to know is a clear instructions on what we should do. 1) install this, 2) install that... we don't need in-depth explanation most of the time. and sometimes there clear and short instructions are what we want most.) - your post is great in the point of view. i could do all that in less than an hour.

by the way, it may be a good idea to put in a line after writing scim.sh,saying that "you need to make this file executable". i spent sometime trying to figure out why i couldn't get my firefox working with the JP input. haha.. but i am a silly one. so never mind. :)

anyway you are great!!!! cheers for this. (like you, perhaps, i'd been spending nightless night for a week or so... but now i can sleep!)

kimo_anton 10-28-2006 07:20 AM

good
 
glad to know I helped, man.


All times are GMT -5. The time now is 02:00 PM.