2009年2月4日

blog上的sidebar位置不正確

在寫了幾篇文章之後, 竟然發現右側的sidebar(也就是放置google 小工具的地方)
竟然移動到最右側去了, 在ie內更奇怪, 跑到最下方去. 
後來找到原因, 竟然是blog中其中一篇文章在html簡視中, 一直都沒有換行, 造成單行過長.
(在撰寫模式中並看不出來)
參考網址:

2009年2月3日

移動andLinux在windows下的磁碟檔

andLinux在windows下的磁碟檔為base.drv 和 swap.drv
預設被存放在C:\Program Files\andLinux\Drives 下
想到搬到其它的硬碟下, 比方說:g:\andLinuxDisk\
  1. 先將andLinux 的service停止
  2. 再將base.drv和swap.drv移動到想要的目錄下
  3. 修改設定檔C:\Program Files\andLinux\setting.txt, 如下所示
  4. 再將service重新起動即可(但TAP-colinux的網路介面卡無法起動, 需要重新開機才有辨法, 目前還不知道為什麼)
mem=256
root=/dev/cobd0
initrd=initrd.gz
kernel=vmlinux
cobd0=g:\andLinuxDisk\base.drv
cobd1=g:\andLinuxDisk\swap.drv
eth0=slirp
eth1=tuntap,"TAP-Colinux",00:11:22:33:44:55


如果要加大磁碟檔的大小, 可以參考下面這個網頁
http://colinux.wikia.com/wiki/ExpandingRoot#The_most_reliable_way_to_enlarge_the_root_partition

2009年2月2日

andLinux Menu上新增程式

由於我安裝的是andLinux的最小安裝版, 所以我最常用的gnome-terminal也沒有被安裝到.
先把它裝好: apt-get install gnome-terminal

在andLinux的安裝目錄下的Lanucher目錄找到menu.txt
(我的在 C:\Program Files\andLinux\Launcher)
將要加入的程式名稱加到裡面, 一個程式一行
格式: 顯示名稱;圖示;指令
Gnome-terminal;xfce4_terminal.ico;gnome-terminal
Terminal;xfce4_terminal.ico;xfce4-terminal
Thunar;thunar.ico;thunar
Mousepad;mousepad.ico;mousepad
-
Synaptic;synaptic.ico;synaptic
PulseAudio Mixer;volume.ico;pavucontrol

coap-client 4.3.0 Windows build

coap-client  is a  wget -like tool to generate simple requests for retrieval and modification of resources on a remote server.  Got the sour...