Monthly Archives: December 2008

《横顔》 (《蛍の光》片尾曲)

挺有趣的一部日剧,有趣的 aho-miya(阿呆宮) 😛

横顔 (yoko gao) = 侧脸
蛍の光 (hotaru no hikari) = 萤(火虫)之光

Unreadable Chinese Fonts when Size is Small

Lenny comes with a good font settings. Even Chinese characters are displayed correctly without any manual configuration (In Etch, I’ll have to provide my own ~/.fonts.conf for it to work correctly).

Some time back, however, I found that on some web site that displayed Chinese characters in a rather small size, they became unreadable (certain parts of the characters were missing).

To correct this, I’ll have to (again) provide my own “~/.fonts.conf”. And now, the result:

My “~/.fonts.conf” has the following content:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
<!-- ~/.fonts.conf for per-user font configuration -->
    use rgb sub-pixel ordering to improve glyph appearance on
    LCD screens.  Changes affecting rendering, but not matching
    should always use target="font".
    <match target="font">
        <edit mode="assign" name="rgba" >     <const>rgb</const> </edit>
        <edit mode="assign" name="hinting" >  <bool>true</bool>  </edit>
        <edit mode="assign" name="antialias"> <bool>true</bool> </edit>
        <edit mode="assign" name="autohint" > <bool>true</bool> </edit>
        <edit mode="assign" name="hintstyle"> <const>hintfull</const> </edit>

Display resolution when booting

The display resolution is very low by default when booting up my debian.  Longer boot messages appeared in two lines, making it very untidy.  I want something like Knoppix.  It has a high display resolution when booting and every boot message appear in its own line.

Today, I found a solution here:

1. Install a hardware detection tool:
aptitude install hwinfo

2. Find out supported display resolution:
hwinfo --vbe | grep Mode

3. Edit /boot/grub/menu.lst to include the display resolution:
kernel /boot/vmlinuz-2.6.26-1-686 root=/dev/sda6 ro vga=0x0360

4. Reboot and see the difference.

Epiphany browser and liferea started in “work offline”

Every time I start up my epiphany browser and liferea RSS reader, they are in “work offline” mode.  I’ll have to manually uncheck “work offline” for it to work.  The reason is they connect to network-manager to determine the online status.  Too bad I’m not using network-manager (it randomly dropped my wireless connection), thus they think the machine is “not online”.

To prevent epiphany from consulting network-manager at startup, uncheck the following entry in gconf:


For liferea, too bad, it’s a compile-time option:–td17549112.html