2014年5月30日 星期五

menuconfig出現Preparing scripts: functions Your lxdialog utility does not exist錯誤





 氣死了啦!!!
把source code放到另一個環境compiler,
打menuconfig竟然給我出現下面的錯誤 ><
Preparing scripts: functionsYour lxdialog utility does not exist
make: *** [menuconfig] Error 1

在google又搜不到,而且其他環境又沒問題~~~

突然想到,會不會是這個環境的file system問題,導致檔案不全或格式有問題。
果然,這環境竟然給我用NTFS,雖然是想相容windows啦,可是也造成問題了啦!!!
改為ext4,沒問題了,Lucky ^^

2014年5月26日 星期一

WinCE,不用hive-based,如何儲存registry

參考Registry OS Functions
http://msdn.microsoft.com/en-us/library/ms891458.aspx

可以用RegCopyFile
This function saves a copy of the current Windows CE RAM–based registry to a specified file.

以及RegRestoreFile
This function places the operating system in a state in which the registry can be replaced by the supplied file on a warm boot.

Xubuntu以Fcitx取代Ubuntu

因為Xubuntu使用的ibus,是用垂直的選字視窗,
可是如果輸入視窗的位置在下面時,根本就看不到選字視窗 ><
將ibus修改為水平視窗顯示,又沒作用,一樣是垂直的。
另外也不能讓輸入法預設是英文,每次都要由中文切換回英文><
所以改用fcitx

sudo add-apt-repository ppa:fcitx-team/nightly
sudo apt-get update

sudo apt-get install fcitx
sudo apt-get install fcitx-chewing(安裝酷音輸入法)

將預設輸入法設為fcitx