actually my old note pc is has Japanese style keyboard, but i can`t write hiragana , katakana nor kanji, then i try to find out how to setup japanese font and input system in my ubuntu 8.10(intrepid), and i find this link http://ubuntuforums.org/showthread.php?t=975144 based on that link , the simple way to resolve the problem are quite simple:
gksudo gedit /etc/apt/sources.list
add the following line at the button:
deb http://archive.ubuntulinux.jp/ubuntu-ja intrepid/
Note that you will need to change ‘intrepid’ if you are using a different version from 8.10. Now update your repos with:
sudo apt-get update
At this stage, you will probably get an error saying that the repository is not validated. Ignore this for now. The following step will correct it. After adding the repository and running the update, you also need to add a keyring for the new location:
sudo apt-get install ubuntu-ja-keyring
Adding Ubuntu Language Support
Go to System / Administration / Language Support and select Japanese. This should install the basics. Make sure you’ve also turned on support for inputting complex characters.
Making SCIM available under a non-Japanese login
Now you want to make SCIM (Language input system) available in your English (or other language) login and not just the Japanese one. Since 8.04, ubuntu will make it available in GTK applications, but if you want to run non-GTK applications such as KDE or pure X software such as those Java based you’ll need to make a few changes. If you are running a US locale, it might work with defaults, but any other locale will almost certainly need registering. First restart your computer to make sure the relevant folder have been created, then open the scim global settings file:
gedit ~/.scim/global
Add the line:
/SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF-8
The above line adds support for US and UK locales. If you are using a different locale, you will need to change / add the relevant locale. You can find out the name of your current locale by entering:
locale
In my case (UK) it returns LANG=en_GB.UTF-8. Add the necessary to the above line.
IMPORTANT NOTE: SCIM is very unforgiving with this line. Note that there is NO SPACE between the “,” and “en_GB”. If you put a space there, it will ignore everything after. Therefore make sure the following locales are separated by a comma only.
At this stage you’ll probably need to log out and back in again. Open a text editor and hit ctrl+space. SCIM should pop up ready to type in Japanese.
Adding handwriting recognition support for looking up Kanjis
After adding the above repository, you should be able to install the ‘Tomoe’ handwriting recognition addon for scim using:
sudo apt-get install scim-tomoe
Unfortunately, Tomoe is set to load dictionaries that correspond to the locale, so if you’re not using a Japanese locale, you’ll need to create a link to the dictionary manually.
cd /usr/share/tomoe/recognizer
sudo cp handwriting-ja.xml handwriting-en.xml
Where ‘en’ corresponds to your locale type. In my case (en_GB.UTF- it is ‘en’. For you, it might be different. You can look it up as mentioned above.
Now that Tomoe is installed, it is accessible on the SCIM menu under the ‘SCIM Command Menu’ and listed as ‘Handwriting recognition’.








Recent Comments