Monthly Archive for September, 2006

ADD Chinese Font in Nokia 770, 2006os

Below is a summary of the instructions on how to add Chinese fonts in Nokia 770, 2006OS. It’s original hower’s comment based on my previous post “How to add a new locale to Nokia 770“. There are also two related threads on “internet tablet Talk” forum.

And a post on oafbot ’s site, ノキア770:日本語表示可能

1. Find a copy of Truetype Chinese font. Fonts, simsun.ttf and simhei.ttf do not seem work in opera.
Font fireflysung.ttf (link: www.study-area.org/apt/firefly-font/ ) works.
2. Run x-terminal
3. Execute command sudo gainroot to enable root access privilege.
4. Copy fireflysung.ttf to /usr/share/fonts/fireflysung.ttf
5. Execute command fc-cache –f to rebuild system font cache information.
6. Exit from x-terminal.
7. Reboot the device
8. Now opera and all applications should be able to display Chinese font
correctly.

In order to have the theme display Chinese font on the title bar correctly additional steps as described below are needed
(guoyong.org/2006/08/11/248):

1. Run x-terminal
2. Execute command sudo gainroot to enable root access privilege.
3. Locate the theme type you selected. For example:

Deck-top
theme color file
Theme1 orange /usr/share/themes/default/matchbox/theme.xml
Theme2 light blue /usr/share/themes/theme1/matchbox/theme.xml
Theme3 dark blue /usr/share/themes/theme2/matchbox/theme.xml
Theme4 gray /usr/share/themes/theme3/matchbox/theme.xml

4. Change to directory where the theme you used is located. For example:

cd /usr/share/themes/default/matchbox/

5. Make a backup copy

cp –i theme.xml theme.xml.original

6. Copy theme.xml to mmc card

cp -i theme.xml /media/mmc1/theme.xml

7. Execute command fc-list to find the exact font name you installed for use later.

8. Open file theme.xml that is located in mmc card with Notes program
(comes with 2006os).
9. Find the line that defines the font as shown below:

<font id="osso-TitleFont" def="Nokia Sans-17.85" />

10. Add the new font name and font size to it. Separate the fonts with |
The modified line is as shown below:

<font id="osso-TitleFont" def="AR PL New Sung,文鼎PL新宋-17.85:18px|Nokia Sans-17.85" />

11. Save it.

12. Copy the modified theme.xml back to its original directory and overwrite it.

cp -i /media/mmc1/theme.xml \
/usr/share/themes/default/matchbox/theme.xml

13. Exit from x-terminal.

14. Reboot the device.

15. The device is good to go.

ubuntu下使用usb bluetooth stick遇到的一个问题

前几天在我的T43上搞定了如何使用usb的蓝牙,但在办公PC上使用时遇到一个问题:
用hcitool搜索bluetooth设备时提示
Device is not available: No such device

用lsusb可以看到设备。

参考 www.rolfs.no/2006/08/23/kernel-hci_cmd_task-hci0-c… 得到解决办法:

$ sudo hciconfig hci0 up
$ sudo hcitool scan

原来定制header这么简单!

k2.stikipad.com/docs/show/Adding+a+custom+header

还是加上图片比较好,这个是我去肯尼亚时拍的。

换用K2这个theme了

还是比较喜欢简单一些的theme。我下载的是昨天的nightly build。
启用LiveSearch会出现一个FastInit not defined 的错误。

原先那个header背景图暂时不加了。

哪位朋友浏览时发现什么不方便或报错的地方,麻烦在这里回复通知我,谢谢!