Wednesday, April 9, 2008

BlackBerry Peal 8100 upgraded to v4.5.0.18

昨晚看到有网友放出8100 4.5.0.18ROM,实在经不住诱惑,马上升级了一把。整个升级过程比较顺利,没有碰到什么问题。安装的时候我选上了拼音输入法和五笔画输入法,另外Documents To Go也装上了。我安装的时候选择了不恢复原来的配置(我已经先把原来的配置备份了),我想这样升级可能会快一点。接下去的过程没有问题,就是系统第一次启动特别慢,感觉有20多分钟了。

几个改进:
  1. 支持中文文件名
  2. 内置了中文输入法
  3. 自带了Documents To Go,可以看Word文档了

下面说一下我碰到的问题:
  1. 系统第一次起来后运行比较慢,经常出现沙漏,拔一次电池后有很大改观
  2. 系统第一次起来后DM不能正常进行备份,恢复,同步等操作,安装软件是可以的,拔一次电池后又OK。
  3. 系统第一次起来后,运行第三方软件(gmail,mobipocket reader)都出现了运行错误,拔一次电池后也OK了。
  4. 我原来用的OSX ZEN II主题有点问题

Tuesday, April 8, 2008

ubuntu 8.04 (hardy) 初体验

前些天看到ubuntu 8.04已经beta,禁不住诱惑安装了一把,用了几天下来觉得虽然系统还没有7.10稳定,但是总体上还是比7.10有不少进步。中文字体在这个版本里就不需要再做美化了,系统自带的WQY字体已经非常漂亮了。 声音系统也切换到了pulseaudio,firefox用上了3.0b4,openoffice是最新的2.40了。

但是使用过程中还是碰到了一些问题:
  1. skype的声音驱动用的是alsa,系统切换到pulseaudio后有些问题
  2. virtualbox guest系统中键盘不能输入,后来安装了scim-bridge-client-qt解决
  3. 笔记本上mute按键不在屏幕上显示了,在7.10下这个功能是好的
期待hardy的release

Wednesday, March 19, 2008

useful tar option for achieving source code from VCS system

When you achieve source code from VCS system (e.g. cvs, svn, git .etc), the following tar option is useful:
--exclude-vcs  exclude version control system directories
  • As of tar version 1.19, the following files are excluded:
  • ‘CVS/’, and everything under it
  • ‘RCS/’, and everything under it
  • ‘SCCS/’, and everything under it
  • ‘.git/’, and everything under it
  • ‘.gitignore’
  • ‘.cvsignore’
  • ‘.svn/’, and everything under it
  • ‘.arch-ids/’, and everything under it
  • ‘{arch}/’, and everything under it
  • ‘=RELEASE-ID’
  • ‘=meta-update’
  • ‘=update’
for example:
tar -cjf linux.tar.bz2 --exclude-vcs linux

Friday, February 29, 2008

Accessing the system clipboard by y and p command in VIM (WIN32)

Add the following line to _vimrc for accessing the system clipboard by y and p command:
set clipboard=unnamed

For more information please ref: http://vim.wikia.com/wiki/VimTip21

Thursday, February 28, 2008

screen is an useful tool for remote access(e.g. SSH)

screen is an wonderful tool for remote access and easy use. The process are running after the screen is detached, even if the remote access was terminated.

start an new screen with name "s-name"
screen -S s-name

do something,and detach current screen process
CRTL+a d

list screens
screen -ls

reattach an detached screen process with name "s-name"
screen -r s-name

Tuesday, February 26, 2008

Virtual CD-ROM under linux

for mount:
  1. rm -fr /dev/cdrom
  2. ln /dev/loop7 /dev/cdrom
  3. losetup /dev/loop7 /iso/file/path/filename.iso
  4. mount /dev/cdrom /media/cdrom
for umount:
  1. umount /media/cdrom
  2. losetup -d /dev/loop7

set up scim under en_US locale

It's very simple now in ubuntu hardy

$im-switch -z en_US -s scim-bridge 

use YaHei font in ubuntu system

Just for log.
  • in Nautilus, press CTRL+L, locate at fonts:/
  • paste the yahei.ttf and yaheibd.ttf
  • add the following line to 40-generic.conf and 60-latin.conf under /etc/fonts/conf.avail. (after <family>Bitstream Vera Serif</family>)

<family>Microsoft YaHei</family>


now restart the xserver, Chinese font display perfectly.