Please use this script.
If you need to type in Korean, please contact us further.
After running this script, reboot and come back
Run urxvt.
---------------------------------------------------------------------
tce-load -wi glibc_apps
tce-load -wi glibc_i18n_locale
tce-load -wi unifont
tce-load -wi rxvt
if [ $? -eq 0 ]; then
tcrppart="$(mount | grep -i optional | grep cde | awk -F / '{print $3}' | uniq | cut -c 1-3)3"
echo "Download glibc_apps.tcz and glibc_i18n_locale.tcz OK, Permanent installation progress !!!"
sudo cp -f /tmp/tce/optional/* /mnt/${tcrppart}/cde/optional
sudo echo "" >> /mnt/${tcrppart}/cde/onboot.lst
sudo echo "glibc_apps.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
sudo echo "glibc_i18n_locale.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
sudo echo "unifont.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
sudo echo "rxvt.tcz" >> /mnt/${tcrppart}/cde/onboot.lst
ucode="ko_KR"
export LANG=${ucode}.UTF-8
export LC_ALL=${ucode}.UTF-8
sudo localedef -c -i ${ucode} -f UTF-8 ${ucode}.UTF-8
sudo localedef -f UTF-8 -i ${ucode} ${ucode}.UTF-8
echo "URxvt*encoding: UTF-8" >> ~/.Xdefaults
echo "URxvt*inputMethod: ibus" >> ~/.Xdefaults
echo "URxvt*locale: ${ucode}.UTF-8" >> ~/.Xdefaults
echo "You have finished installing TC Unicode package and urxvt. Reboot is required"
else
echo "Download glibc_apps.tcz, glibc_i18n_locale.tcz FAIL !!!"
fi