2010年6月15日 星期二

gvim 無法啟動

在ubuntu 10.04 gdm模式下,安裝了kde,結果造成了gvim無法在terminal下啟動。錯誤訊息是

"No protocol specified"
cannot open display


上網找尋了解決方法,如下


修改 /etc/kde/kdm/kdmrc 中的

ServerCmd=/usr/X11R6/bin/X

為:(其實就是加了 -ac參數)

ServerCmd=/usr/X11R6/bin/X -ac

2010年5月30日 星期日

"真實"的機器上裝Ubuntu的磁區規劃 (with Win7)

很久沒在真實的機器上裝Ubuntu,之前都是在VMware上裝~

目前打算是在我的VAIO SZ58上裝Win7 + Ubuntu 10.04
所以想好好規劃一下磁區的配置

先在網路上找了一些資料,最後主要是參考下面兩篇


Ubuntu 開機選單

移除開機選單多餘的核心選項 原文出處

1 開啟Terminal
2 cd /boot
3 sudo su
4 移除你不要的版本號檔裝 如下 rm config-2.6.31-20-generic initrd.img-2.6.31-20-generic System.map-2.6.31-20-generic vmcoreinfo-2.6.31-20-generic vmlinuz-2.6.31-20-generic
5 ls grub/menu.lst是否存在
6 如果有就 輪入update-grub
7 如果沒有,就輪入update-grub2

2010年5月27日 星期四

Kohjinsha SA1F00 上安裝 Ubuntu 9.10之顯示問題

Mobile01連結 Kohjinsha SA1F00 


今天意外要幫此機器安裝Ubuntu,安裝過程中所遇到的問題,及解決的方法。

一開始Win7裝進去,只能進到win7 loading的開機畫面就停住了,嘗試過用低解析度的方式進去,無用....

2010年1月25日 星期一

How to check your version of Direct?

The way to check Direct version:

Go to the Run box in the start menu and type the following command. "dxdiag"



You'll see a window like below one.


Finally, you can get the version of Direct.

2009年12月23日 星期三

2009年12月14日 星期一

What's goldfish kernel?

What's goldfish kernel?

What's goldfish kernel? (原討論串)


最近在研究Android porting,碰到Goldfish這個名詞,查了一下。解釋如下:

The Android emulator runs a virtual CPU that Google calls Goldfish.
Goldfish executes ARM926T instructions and has hooks for input and
output -- such as reading key presses from or displaying video output
in the emulator. These interfaces are implemented in files specific to
the Goldfish emulator and will not be compiled into a kernel that runs
on real devices.


搜尋此網誌