I degrade my kubuntu from 8.04 to 7.10, I have used KDE4 for about 1 month, due to KDE4 is not a full-fledged desktop environment and there is a boring that my x-window will be crashed after when I play videos and switch between several windows.
Yesterday, I downloaded kubuntu7.04 desktop edition, then I began to install from hard disk, it did not work even after I have added two loop device under /dev. I rebuilt a new initrd.gz file and tried to reinstall from disk , it was the same case.
Boring me again. I redownloaded kubuntu7.04 alternative edition and boot from hd-media, it did work pretty good.
Finished that, it is the time to configure Chinese support, install input system, etc. For convenient purpose, a detailed description is listed here:
PURPOSE: English desktop environment with better Chinese support and good input system.
If you use ubuntu system, you can follow the following:
1. install language support and input system via apt-get or synaptic(Gnome) adept_manager(KDE), eg: input in your terminal:
apt-get install language-pack-kde-zh language-pack-gnome-zh language-pack-zh language-support-zh scim scim-table-pinyin -y
2. edit your locale config file to generate a small locale which only used by your system. input like following:
locale-gen -purge
edit your /var/lib/locals/supported.d/local , remain what you need only, mine is:
cat local
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
en_US.UTF-8 UTF-8
and edit /var/lib/locals/supported.d/en according to local above, I only remain en_US item in local, consequently, my en file is:
cat en
en_US.UTF-8 UTF-8
and my zh file is:
cat zh
zh_CN.UTF-8 UTF-8
zh_CN.GBK GBK
then ,regenerate locales via typing locale-gen , and your locales are generated under /usr/lib/locale.
3. Till now, your locale is configured, add the following to /etc/environment
LC_CTYPE="zh_CN.GBK"
LC_NUMERIC="zh_CN.GBK"
LC_TIME="zh_CN.GBK"
LC_COLLATE="zh_CN.GBK"
LC_MONETARY="zh_CN.GBK"
LC_MESSAGES="zh_CN.GBK"
LC_PAPER="zh_CN.GBK"
LC_NAME="zh_CN.GBK"
LC_ADDRESS="zh_CN.GBK"
LC_TELEPHONE="zh_CN.GBK"
LC_MEASUREMENT="zh_CN.GBK"
LC_IDENTIFICATION="zh_CN.GBK"
LC_ALL=
LANGUAGE="zh_CN.GBK"
GST_ID3_TAG_ENCODING=GBK
LANG="zh_CN.GBK"
and restart your x-window, it woks on my laptop.