Japanese in slackware
I know it's been mentioned before, but i just can't get japanese to work on slackware...
I've tried scim, anthy, (scim-anthy refused to compile), and uim, but still with no hope. The closest i got to is scim loading but with only English/Keyboard, and Rawcode Google just made matters even more confusing. I was hoping that someone here can help. |
k, after hours of compiling and googling, i've got it to work.
To make everything in slackware japanese, edit your /etc/profile.d/lang.sh and add Code:
pico /etc/profile.d/lang.sh Code:
root@xushi:~# locale Next, to read japanese, you need a font, i used msgothic.ttc which is a japanese font. copy it to Code:
cp msgothic.ttc /usr/X11R6/lib/fonts/TTF/ Code:
cp msgothic.ttc /opt/openoffice.org1.9.79/share/fonts/truetype/ Restart X. Next, you need a program to let you write japanese. There are two, and a library. Code:
scim 1.2.1 (the one i use) When installed, just open console and type Code:
scim -d Now, open whatever app you want (firefox, soffice, ), and hit CTRL + SPACE to switch between languages, and you should be able to write in Japanese. note: for openoffice, you need to select the font from the tab first. This should do the trick. And i hope this helps anyone. Note: To write in Japanese in Abiword, msgothic.ttc won't do the trick. You need the kochi-gothic and kochi-mincho fonts. |
xushi,
This is a bit off topic, but maybe you know the answer since you've worked with this recently. Do you know how I can print kanji characters? I can see them on a website, and they look fine, but they appear as squares when I print it. Here is what I'm trying to print: http://infohost.nmt.edu/~armiller/ja...njinumbers.htm Of course there will be more once I figure it out. If it matters, I'm using a xerox docuprint n17 b/w laser - using the HP 4L driver. Works fine otherwise. Thanks a lot -tw |
Hi tw001_tw,
EDIT: Changed my message coz my suggestion didn't work. Read on this page and its followups, it might work. It suggests you us gs as a filter. http://lists.debian.org/debian-japan.../msg00003.html |
Hi, where can i find the scim-uim package?, that's not in the scim-im.org page
|
The instructions given here are not 100% necessary. One of the instructions, in particular, changes your console login configuration to Japanese language, which you may not want.
After I had many troubles figuring it out, I wrote a webpage telling how to do it, step-by-step. http://killerbob.ca/howto/ scim-uim, for example, is not needed. |
HI, i did not try to change everything to japanese :P , just enought to make "scim -d" and be able to use it. I'm gonna check your page now. Thanks!
|
Anyway i can't compile scim-anthy, it says that scim isn't installed, but it is...
killerbob did you had this problem? It says: Code:
Package scim was not found in the pkg-config search path. |
Ok, i've found scim-uim in http://prdownloads.sourceforge.net/s...ar.gz?download
About scim-anthy, could it have happen because i did "checkinstall" instead of "make install"?? |
scim-anthy, like skim, expects you to install scim with a prefix of /usr. Unfortunately, scim doesn't use /usr as the prefix.
You need to make uninstall to get rid of scim, and then reconfigure/reinstall it. This time, use ./configure --prefix=/usr as suggested in my instructions. Yes, I did have exactly that problem. And yes, that was the easiest solution to it that I found. |
All times are GMT -5. The time now is 08:50 AM. |