CJK_Chinese_Japanese_Korean_Input_Method_configuration_using_SCIM_in_Ubuntu_6.06_Dapper_Drake

Differences between revisions 1 and 9 (spanning 8 versions)
Revision 1 as of 2006-05-25 15:06:20
Size: 3729
Editor: ivr94-1-87-90-11-192
Comment:
Revision 9 as of 2006-05-27 13:26:56
Size: 4344
Editor: ivr94-1-87-90-11-192
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from CJK Chinese Japanese Korean Input Method configuration using SCIM in Ubuntu 6.06 Dapper Drake
## page was renamed from InputMethods/SCIM/CJK (Chinese Japanese Korean) Input Method configuration in Ubuntu 6.06 Dapper Drake
["CJK (Chinese Japanese Korean) Input Method configuration using SCIM in Ubuntu 6.06 Dapper Drake"]
Line 2: Line 6:
 IN PROGRESS - reviews and corrections welcome, feel free to email me to discuss it. Please test the suggestions on a fresh Dapper install, and report any problems you find.
}}}
IN PROGRESS - reviews and corrections welcome, feel free to email me to discuss it. Please test the suggestions on a fresh Dapper install, and report any problems you find.}}}
Line 5: Line 8:
This page is an attempt to become an easy and simple official method to help any user set up SCIM in Dapper. For further explanations, please go to https://wiki.ubuntu.com/InputMethods/SCIM/Setup '''This page is an attempt to become an easy and simple official method to help any user set up SCIM in Dapper. For further explanations, please go to https://wiki.ubuntu.com/InputMethods/SCIM/Setup'''
Line 7: Line 10:
=== Quick setup===
Line 9: Line 11:
SCIM is the name of the program that will allow you = Quick setup =
Line 11: Line 13:
Open system System>Administration>Language Support
 - you'll need administrative rights for these kind of tasks, else ask your system administrator to install it for you.
Line 14: Line 14:
and install the support package corresponding to the language you want to input
- you'll need an internet connection because these packages don't fit on the Install CD
''SCIM is the name of the program that will allow you to input a CJK language in Ubuntu 6.06 Dapper Drake.''
Line 17: Line 16:
Then log out (System>Quit>Log Out), and login again.
Line 19: Line 17:
If your session is using a CJK language (for example, all you menus are in Chinese, Japanese or Korean) you should be able to input it in any application (go to [#Using SCIM] to learn how to do it).  1. Open system System>Administration>Language Support[[FootNote(You'll need administrative rights for these kind of tasks, else ask your system administrator to install it for you.)]]:
 attachment:Menus.jpg
Line 21: Line 20:
=== In case you're not using a CJK session===  2.#2 and install the support package corresponding to the language you want to input[[FootNote(You'll need an Internet connection because these packages don't fit on the Install CD.)]]:
 attachment:Screenshot-Language_Support.png
Line 23: Line 23:
You should already be able to use SCIM input in a few applications, like gedit (Application>Accessories>Text Editor), by right clicking on the document, then selecting Input Methods>SCIM Input Method. However, it won't work in the others, like Open Office.   3.#3 then log out (System>Quit>Log Out), and login again.


If your session is using a CJK language (for example, all you menus are in Chinese, Japanese or Korean) you should be able to input it in any application (go to [#Using Using SCIM] to learn how to do it).

== If you're not using a CJK session ==

'''Note :''' ''
You should already be able to use SCIM input in a few applications, like gedit (Application>Accessories>Text Editor), by right clicking on the document, then selecting Input Methods>SCIM Input Method. However, it won't work in the others, like Open Office.''
Line 26: Line 33:
{{{locale | grep LANG=}}} {{{
locale | grep LANG=}}}
Line 28: Line 36:
The anwer would be something like {{{LANG=en_GB.UTF-8}}} where the relevant part is en_GB(en standing for English and GB for the country, here Great Britain). Another example could be fr_FR (fr for French and FR for France). The anwer would be something like  {{{
LANG=en_GB.UTF-8}}}  where the relevant part is {{{en_GB}}} ({{{en}}} standing for English and {{{GB}}} for the country, here Great Britain). Another example could be {{{fr_FR}}} ({{{fr}}} for French and {{{FR}}} for France).
Line 30: Line 39:
Now you just have to tell the system you want to use SCIM as the input method for your locale, using{{{im-switch -z “your locale” -s scim}}} In the above example, with an en_GB locale, you would type in the terminal :
{{{im-switch -z en_GB -s scim}}}
Now you just have to tell the system you want to use SCIM as the input method for your locale, using  {{{
im-switch -z “your locale” -s scim}}}  In the above example, with an en_GB locale, you would type in the terminal :
{{{
im-switch -z en_GB -s scim}}}
Line 33: Line 44:
Log out, then log in again. SCIM should be now the default input for all applications (go to [#Using SCIM] to learn how to use it) Log out, then log in again. SCIM should be now the default input for all applications (go to [#Using Using SCIM] to learn how to use it)
Line 37: Line 48:
You might have to add your local as a supported locale, by editing (you might have to create it) the file ~/.scim/global (the ~ means it's in your home directory, the . that .scim directory is a hidden file. Just type in an editor :
{{{gedit ~/.scim/global }}}
You might have to add your local as a supported locale, by editing (you might have to create it) the file ~/.scim/global (the ~ means it's in your home directory, the . that .scim directory is a hidden file. Just type in a terminal :
{{{
gedit ~/.scim/global }}}
Line 41: Line 53:
{{{/SupportedUnicodeLocales = en_US.UTF-8}}}
add your locale to it after a coma, not forgetting you need to add the full name reported by {{{locale | grep LANG=}}} after {{{LANG=}}}. In case of English for Great Britain, your line would look like this one :
{{{/SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF-8 }}}
{{{
/SupportedUnicodeLocales = en_US.UTF-8}}}
add your locale to it after a coma, not forgetting you need to add the full name reported by {{{locale | grep LANG=}}} after {{{LANG=}}} . In case of English for Great Britain, your line would look like this one :
{{{
/SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF-8 }}}
Line 49: Line 63:
=== Using SCIM===[[Anchor(Using SCIM)]] [[Anchor(Using)]]
= Using
SCIM =
Line 55: Line 70:
=== Reverting changes=== = Reverting changes =
Line 57: Line 72:
“”*** Need help there, because I don't know how to revert the settings changed by using im-switch. The method should preferably been done using a single command ***”” '''*** Need help there, because I don't know how to revert the settings changed by using im-switch. The method should preferably been done using a single command ***'''
----
CategoryDocumentation

["CJK (Chinese Japanese Korean) Input Method configuration using SCIM in Ubuntu 6.06 Dapper Drake"]

IN PROGRESS - reviews and corrections welcome, feel free to email me to discuss it. Please test the suggestions on a fresh Dapper install, and report any problems you find.

This page is an attempt to become an easy and simple official method to help any user set up SCIM in Dapper. For further explanations, please go to https://wiki.ubuntu.com/InputMethods/SCIM/Setup

Quick setup

SCIM is the name of the program that will allow you to input a CJK language in Ubuntu 6.06 Dapper Drake.

  1. Open system System>Administration>Language SupportFootNote(You'll need administrative rights for these kind of tasks, else ask your system administrator to install it for you.): attachment:Menus.jpg

  2. and install the support package corresponding to the language you want to inputFootNote(You'll need an Internet connection because these packages don't fit on the Install CD.): attachment:Screenshot-Language_Support.png

  3. then log out (System>Quit>Log Out), and login again.

If your session is using a CJK language (for example, all you menus are in Chinese, Japanese or Korean) you should be able to input it in any application (go to [#Using Using SCIM] to learn how to do it).

If you're not using a CJK session

Note : You should already be able to use SCIM input in a few applications, like gedit (Application>Accessories>Text Editor), by right clicking on the document, then selecting Input Methods>SCIM Input Method. However, it won't work in the others, like Open Office.

The recommended method to set up SCIM input for all applications is using a command-line tool called im-switch (where im stands for Input Method, obviously Smile :) ). Before that, you will have to know the name of the locale you're using. In a terminal (Applications>Accessories>Terminal) type :

locale | grep LANG=

The anwer would be something like

LANG=en_GB.UTF-8

where the relevant part is en_GB (en standing for English and GB for the country, here Great Britain). Another example could be fr_FR (fr for French and FR for France).

Now you just have to tell the system you want to use SCIM as the input method for your locale, using

im-switch -z “your locale” -s scim

In the above example, with an en_GB locale, you would type in the terminal :

im-switch -z en_GB -s scim

Log out, then log in again. SCIM should be now the default input for all applications (go to [#Using Using SCIM] to learn how to use it)

In case this doesn't work

You might have to add your local as a supported locale, by editing (you might have to create it) the file ~/.scim/global (the ~ means it's in your home directory, the . that .scim directory is a hidden file. Just type in a terminal :

gedit ~/.scim/global 

If you can find a line like

/SupportedUnicodeLocales = en_US.UTF-8

add your locale to it after a coma, not forgetting you need to add the full name reported by locale | grep LANG= after LANG= . In case of English for Great Britain, your line would look like this one :

/SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF-8 

If the line wasn't there, create it, then save the file.

Log out, then log in and you should be able to use SCIM input in every application.

Anchor(Using)

Using SCIM

SCIM should now start along with every application. To trigger it, use any of these shortcut keys : Control+space, Shift+space, Zenkaku_Hankaku(on Japanese keyboard), Hangul(on Korean keyboard)

While inputting, if you want to switch back and forth between your CJK language and your session language, you can just use the Shift key. Fast and easy!

Reverting changes

*** Need help there, because I don't know how to revert the settings changed by using im-switch. The method should preferably been done using a single command ***


CategoryDocumentation

InputMethods/SCIM/CJK_Chinese_Japanese_Korean_Input_Method_configuration_using_SCIM_in_Ubuntu_6.06_Dapper_Drake (last edited 2008-08-06 17:00:59 by localhost)