Firstly, thanks to
keisangi for the wonderful Japanese Support How-to found here:
http://www.vectorlinux.com/forum2/index.php?topic=685.0 which I am shamelessly re-vamping into a Korean version.
Note: Everytime the 'su' command is given you will be prompted for a password, please use the Root password for these operations.
Step 1: Korean Fonts
Download and install the UnFonts Core package
# wget http://kldp.net/frs/download.php/1425/un-fonts-core-1.0.tar.gz
# tar -xzvf un-fonts-core-1.0.tar.gz
# su
$ cd un-fonts
$ cp *.ttf /usr/X11R6/lib/X11/fonts/TTF/
$ fc-cache -f -v
$ exit
And optionally for many extra "stylish" fonts the UnFonts Extra package
# wget http://kldp.net/frs/download.php/1435/un-fonts-extra-1.0.1.tar.gz
# tar -xzvf un-fonts-extra-1.0.1.tar.gz
# su
$ cd un-fonts
$ cp *.ttf /usr/X11R6/lib/X11/fonts/TTF/
$ fc-cache -f -v
$ exit
And the next time you log in you'll have beautiful Korean fonts!
Step 2: Input Korean text via SCIM
Add the "Vector Linux extra" source in slaptget
(from either the term by manually editing the slapt-getrc,
or from the slaptget gui pref window)
# su
$ nano /etc/slapt-get/slapt-getrc
SOURCE=http://vectorlinux.osuosl.org/veclinux-current/extra/
ctrl+x
y
$ exit
Then update your sources and install the packages: scim, scim-hangul
If you have other sources enabled, just verify the packages really come from VL extra before installing.
Note: the scim-hangul package has been built to hook into skim the KDE front-end of scim as well as the gtk version (scim) so this will pull in KDE dependencies; it
should be possible to use this package without KDE, provided it is installed using the installpkg command rather than slapt-get or gslapt. The package can be found here:
http://vectorlinux.osuosl.org/veclinux-5.8/extra/libs/scim-hangul-0.2.2-i586-4vl58.tlz but this method is untested by me as I already had KDE apps installed when I went to install the scim-hangul package.
Once this is done you need to add a file in /etc/profile.d/ and make it executable:
# su
$ nano /etc/profile.d/scim.sh
export XMODIFIERS='@im=SCIM'
export GTK_IM_MODULE="scim"
export QT_IM_MODULE="scim"
export LC_CTYPE=ko_KR.utf8
ctrl+x
y
$ chmod 755 /etc/profile.d/scim.sh
$ exit
Note to scim-anthy (japanese input) users: Both scim-hangul and scim-anthy will work regardless of whether your LC_CTYPE is set to ko_KR.utf8 or ja_JP.utf.8 (it *may* work with ANY .utf8 LC_CTYPE but this is untested by me) but LC_CTYPE
needs to be set in this file for SCIM to work!!
The last step is to add SCIM to the Xfce Autostart Applications list
VL menu> settings > auto started application
choose "add", then fill the 3 fields with these settings:
name: SCIM
description: Smart Common Input Method
command: scim -d
And then you're done!! You can now logout and back in to a Korean enabled enviornment! ^.^