Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I wonder if anyone here had this problem:
when you type Japanese in KMail and hit the space-bar to select an appropriate kana, the little select box where a character appears is all black so that you can't see the character being displayed.
I don't have this problem in konqueror or OpenOffice.
I never fully appreciate receiving a response like this myself, but I use Thunderbird all the time to type emails to Japanese friends, and it works well for me. I wish that I could help you otherwise.
Now I doubt this is the problem, but I am sometimes annoyed by the cannaserver popup window because it jumps up at the bottom of, for instance, firefox so that I have to right click on the top boarder and drag it up in order to see the possible options. (I usually use Fluxbox so there is very little space between the bottom of maximized apps and the bottom of the screen.) That isnt your problem is it? Sometimes I make sure to move up the lower edge of my apps to make sure that the popup window is fully visible.
Thunderbird? Never heard of it! Can you post a link to its website or a download location?
I also use fluxbox. My problem is in the KMail, that is, when I hit the spacebar in order to select a kanji, I can't see the kanji because it appears in a black rectangle.
In oowriter it appears in a white rectangle so I can see what kanji's there are to choose from. Thanks for your response!
Kroenecker, thanks for the Thunderbird hint. It's a nice program. I don't know however what happened in my PC, but Japanese input now works also in KMail. Maybe I stick with the latter, because it seems I can't import messages from Outlook Express into Thunderbird (maybe, I am wrong).
Now the "IME pad" works. I have however some desires, I wonder if that's possible to fix in Linux at all. I guess, Japanese users would not use Linux if that would be a common problem for all.
1st problem: there is no memorization of the recently used kanji. This is annoying, specially if you have to type, say, "ya", and there are dozens of "ya" to cycle through till you get the right one.
2nd problem: some common words do not convert easily into kanjis. For example: tosugiru in Windows naturally appears in kanji, in Linux I have to type "toi", then delete the "i", and add "sugiru". Hope there is a fix for this. If not, typing Japanese becomes unnecessary slow process...
3rd problem: the line doesn't break at a desired column - you can type miles long lines it won't break unless you hit the return key.
4th problem: zip codes do not automatically add postal addresses.
All these problems are possibly related to the imprefections in kinput2, and they result in inputting Japanese about 10-15 times slower in Linux than in Windows.
Is there a fix for it? Do you, maybe, use other ways to input Japanese in Linux?
Originally posted by Kroenecker
Nope. I use Kinput2 and cannaserver. The thing is that my machine remembers what I last entered for me (like windoz~).
Fantastic! This makes me hope for the fix. Now I use kinput2 and jserver. Probably cannaserver is better.
I'll give it a try later tonight after the work.
I am not sure what you are referring to when you talk about the line break problem.
Well, this is not really a big problem and here is what I meant.
Let's say I type some text in oowriter, where I got very clear page margins.
I type in romaji and everything is fine: once I reach the right margin, the line breaks and I continue typing on a new line. I don't have to hit Enter in order to get there.
However when I type canna, oowriter does not see the margins. Thus the line go far
beyond the right margin. If I print such a page, the lines outside printable area won't be printed.
This is, as I said, not a big issue because I can see when the line ingore margins.
As for zip codes I dont find it too difficult to type 〒 (ゆうびん ) at the beginning.
This is OK on my PC too, but if I type, say 560-0012, my PC doesn't know that this code corresponds to Osaka-fu, Toyonaka-shi etc.
Well, this is not a serious problem either because I can either type it or copy and paste.
Of your complaints I agree with second one.
It would be nice if some "compound" words were more easily input without having to type full words and then delete the unnecessary dangle at the end.
If you do find a solution to number two, please post. I know I will.
I did not try yet canna, but I am struggling with an unexpected problem.
When I try to import my years old address books (CSV) into KMail or Thunderbird, neither will display the names written in Japanese correctly. Any tip?
What E/J-J/E dictionary do you use?
Now my japanese system seems to work quite well, except that I don't find what the dictionary to compile into it.
Btw, now the kinput2 + jserver works well. I changed "kinput2 &" into "kinput2 -xim -kinput &"
My first guess on your address book would be an encoding issue. My Suse 8.1 system encodes everything in EUC by default, but some of the applications like to use Shift-JIS. There is unfortuantely no easy way around this that I can think of.
What exactly is jserver? Is it substitute for cannaserver? I've been using kinput2 & cannaserver for a couple of years now (basically as long as I've used linux). I'm very used to it, but I can't say that it's fantastic. I find it to be rather stupid, almost always choosing the most obscure kanji from a list of 50.
I usually just use Jim Breens website to do conversions. It is really nice because I can enter a paragraph of Japanese text, and in response I get back a list of Japanese words and their definitions. You should check it out. As for Kmail/Thunderbird and exporting, I havent done much of that myself so I can't help you out. Since you already have fonts that work for the rest of your system, I would also have to say that it is some kind of encoding problem.... If you look around in the tool bar (I dont recall which directory you have to look under) you can find a list of possible encodings to use to view the screen. You might try that.
Gaijinpunch, I noticed you live in Tokyo. I live in Toyama and am looking for a job. You wouldn't happen to be involved in IT would you? Ive just started trying to interview. It is going to be an uphill battle, I think, but my Japanese has hit the breaking point where everyday life is easygoing, and I want to continue living here in Japan. Anyway, suggestions are more than welcome.
Last edited by Kroenecker; 07-04-2004 at 09:48 PM.
you can check what encoding you system uses by default by typing set at the command line. This will print out your environmental variables. Look for one labeled LANG (do a google to find the other possible environmental variables to do with encoding on your system...most of them have an LC prefix). If you are not sure what to do you can simply type export LANG=ja_JP.eucJP which should give you the proper encoding in that terminal. Then type set again to see the changes. Then run Kmail/Thunderbird to see if this helps out.
I wont admit to being a pro at the encoding stuff. It took me a long time to get everything on my system to be Japanese friendly. (Like xterm...) But in the end it shouldnt be too hard.
1 I havent tried this yet but I read that in order to get Kinput2 to run using utf8 you have to add an entry to the configure file (Kinput2) to get this to work.
2 I had to edit that same config file because in Firefox (and I usually use Fluxbox) when the cannaserver pop up window appears it was getting the focus! MAN THAT was EVIL. So everytime I typed something and searched for Kanji I had to refocus Firefox with my mouse.
NOTE: here are the entries for the Kinput2 file (/etc/X11/app-defaults/Kinput2). Notice that comments are preceeded by two exclamation points.
!! I added the .input entries below (three). Should solve the prob!
*SeparateConversion.title: Kana-Kanji Conversion
*selectionShell.title: Candidate Selection
*auxShell.title: Auxiliary Control
3 What else... to get Openoffice to properly display Japanese characters, I made an alias soffice='GDK_USE_XFT=1 soffice'. This changes what fonts gdk tries to use, I think. I went from illegible toolbar entries and filenames to something useable.
Yeah, Ive had to mess with my system a lot because I use LFS. Oh well. Its been a good challenge in flexing my google skills as well as patience.
So, what have you guys had to do to get your system running Japanese?