个人工具

“UbuntuHelp:JapaneseInput”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
 
{{From|https://help.ubuntu.com/community/JapaneseInput}}
 
{{From|https://help.ubuntu.com/community/JapaneseInput}}
 
{{Languages|UbuntuHelp:JapaneseInput}}
 
{{Languages|UbuntuHelp:JapaneseInput}}
This method uses uim and its anthy plugin.  It assumes you want to type Japanese from an English session, not as a Japanese user.
+
== Japanese Input ==
== Installing the packages ==
+
This article provides information on installing Japanese input method using 2 alternatives.
Either use the Synaptic Package Manager (''System> Administration'' menu) to install the following packages or type the lines in a terminal:
+
=== SCIM or UIM? ===
<pre><nowiki>
+
Many people are confused as to whether they should be using SCIM or UIM for extended character input. Both offer an effective way of typing Japanese characters into Ubuntu. Both can use 'Anthy' which is the system of converting western keystrokes into Japanese characters. SCIM is currently the default system and for many people is quite suitable. Many other distributions of linux use SCIM and therefore some people might be quite used to it. UIM on the other hand is slightly easier to install and is also more stable and compatible. Specifically for applications that were not written for GTK (Gnome) or QT (KDE), UIM tends to work better. So if you're thinking of running Java applications for example, go with UIM.
sudo apt-get install uim-applet-gnome uim-xim uim-anthy uim-gtk2.0
+
For information on how to install UIM, please click here:
</nowiki></pre>
+
https://help.ubuntu.com/community/Japanese_Input_and_Fonts_in_Ubuntu_7%2e10
Normally, all the necessary dependencies should be pulled by the package manager
+
For information on how to install SCIM, please click here:
'''Note''': you need to have the [[UbuntuHelp:UniversePackages|UniversePackages]] repository configured.
+
https://help.ubuntu.com/community/Japanese_Input_and_Fonts_in_Ubuntu_7%2e10_using_SCIM
== Using the uim applet ==
+
----
Add the UIM Applet to the panel.  (Right click on the panel> Add to panel...).
+
[[category:CategoryDocumentation]]
Click the "Preference" button on the applet.  If you are only interested in Japanese and English, click "Edit" for the "Enabled input methods" and remove all methods except "Anthy."  Consider unchecking "Enable input method toggle by hot keys."  I always accidentally hit the keys (Ctrl-space by default) and get jumped into Japanese mode when I don't want it. You can instead use the mouse to deliberately select Japanese input mode from the applet. Click "OK" to exit configuration.  It might be necessary to log out and log back in.  I've seen some flaky behavior from the applet after configuring it without a restart.
+
To try out inputting Japanese, launch a text editor, such as Gedit.  Click on the input mode selector in the UIM applet and select Anthy, or hit Ctrl-space if you did not disable keyboard toggling.  By default you should still be in direct input mode under Anthy and typing will produce English characters. Hit shift-space to toggle into Japanese input mode.  If the UIM Applet input mode logo does not say あ, indicating hiragana mode, either click on the applet and select hiragana mode (ひらがな) or press shift-F6.  Type "nihongo", press space, press enter and you should see "日本語" (literally, Japanese Language).  Hit shift-space and then type some English.  Hit shift-space and type some more Japanese.  Type "ka" and hit space to cycle through the potential kanji matches, then hit enter when you find the right one.  Press shift-F7 to enter katakana, then press shift-F6 when you want to go back to hiragana input. When you're done typing Japanese altogether, click on the UIM applet and select "Direct" mode instead of "Anthy", or hit Ctrl-space if you did not disable it.
+
== What's next? ==
+
Now you can check the settings in the applet to find out more about the different keys you can type to have more control over the input.
+
Consider adding Japanese support through the new '''Language selector''' tool (''System> Administration> Language Support'') to get writing aids such as a dictionary, and also to generate appropriate locales.
+
[[category:CategoryDocumentation]] [[category:CategoryCleanup]]
+
  
 
[[category:UbuntuHelp]]
 
[[category:UbuntuHelp]]

2008年4月23日 (三) 11:31的版本

Japanese Input

This article provides information on installing Japanese input method using 2 alternatives.

SCIM or UIM?

Many people are confused as to whether they should be using SCIM or UIM for extended character input. Both offer an effective way of typing Japanese characters into Ubuntu. Both can use 'Anthy' which is the system of converting western keystrokes into Japanese characters. SCIM is currently the default system and for many people is quite suitable. Many other distributions of linux use SCIM and therefore some people might be quite used to it. UIM on the other hand is slightly easier to install and is also more stable and compatible. Specifically for applications that were not written for GTK (Gnome) or QT (KDE), UIM tends to work better. So if you're thinking of running Java applications for example, go with UIM. For information on how to install UIM, please click here: https://help.ubuntu.com/community/Japanese_Input_and_Fonts_in_Ubuntu_7%2e10 For information on how to install SCIM, please click here: https://help.ubuntu.com/community/Japanese_Input_and_Fonts_in_Ubuntu_7%2e10_using_SCIM