Slax Linux, with Chinese

by admin

A few days ago, I decided to installed linux on my 1GB USB Drive. In order for the ability to do some recovering when my system crashes(hope not) and for fun.

After considering several distro, I chose slax linux. I think I’ve been influenced a lot by my friend Jiawei who had used slax linux when his hard drive was down.

After installing slax linux on my USB drive correctly following the official manual, I found it didn’t support Chinese at all. When I googled that, I found fanx, a localized slax. Since I am the people who like solving problems in a more challenge way, I didn’t choose that.

For the first thing, I downloaded the modules for i18n of Chinese packages from here. The only packages I needed are the files start with 001, 002, 003, 004, 010 and 011. Put them on /slax/modules on my USB drive.

After started it(don’t choose the “fresh mode” or “copy to ram” mode), modify /etc/profile.d/lang.sh. Added the following lines:

export LC_ALL=zh_CN.UTF-8

export LANG=zh_CN.UTF-8

And commented all other lines by add ‘#’ at the first of the line. So simple!

You may also want to use your favourite fonts. Then, copy the ‘.ttf’ fonts to the folder /usr/share/fonts/TTF

Every thing is OK now. After short configurations, it can display Chinese characters as well as with Chinese input method available. Let’s enjoying the beautiful, lightweight and portable linux.

Before writing 70-647 and 640-816, make sure that basics like 70-271 and 70-293 are cleared well in advance for PMI-001 and eventually 350-018.