Loading Blog Search...

Sunday, March 11, 2007

How to install chinese fonts for Damn Small Linux DSL 中文支持

I have a very old laptop with PII 300Mhz CPU. I managed to install Gentoo Linux before, but seldom use it. Today, When I was cleaning my desktop, found it, but I forgot almost everything about Gentoo when I want to install sth.
It is burdonsome to install anything on such a old Gentoo box, so, it is the time shift to a light Linux distribution, such as DSL and puppy.
After spend 10mins to download DSL 3.3 RC2, it bootup the PII in 1 min. Wow, it really rocks on my ancient machine. Unfortunately, it does not support Chinese. However, by studying mydslPanel (the tools to install software on DSL) for half an hour, my Firefox can display Chinese fonts properly already.
To install chinese fonts, please do:

  1. Install japanese-fonts using mydslPanel on desktop, it will download japanese-fonts.tar.gz to /tmp by default.
  2. copy /tmp/usr /usr
  3. copy some fonts file from another Linux system supporting Chinese. I am running Ubuntu on another laptop, so, I copy all /usr/share/fonts/X11/misc/* from the Ubuntu to /usr/X11R6/lib/X11/fonts/misc
  4. run /usr/bin/japanese-install.sh
Now, your DSL is chinese-awared.

2 comments:

newsclan said...

exec 3 lines in dsl is ok
-----------------------------
wget http://www.newsclan.com/dsl/cn.sh
chmod +x cn.sh
./cn.sh
-----------------------

Anonymous said...

Is there any other method?
Thanks.