2007-05-24

Linux 下的桌面操作錄影軟體 - XvidCap


看到 YouTube 上有很多人放了 Beryl 的影片, 本來也想自己錄來玩玩。

第一個試用的軟體是 vnc2swf, 但當我用它連到 Ubuntu 7.04 時, 會讓 Linux 整個當掉。後來又找到 xvidcap, 這個軟體還蠻好用的, 在使用上也很簡單。

以下是我在 Fedora Core 下試錄的結果 (非 beryl), Ubuntu 下使用也沒問題 (可直接裝 .deb 檔):

http://www.youtube.com/watch?v=tLm_BFZVmE0

2007-05-18

[Sendmail] 原來 Sendmail 的 redirect 是這樣用

在 http://www.sendmail.org/m4/features.html 看到的。

當你在 sendmail.mc 啟用此功能時 (Fedora Core 預設已啟用), 可在 /etc/aliases 裡設定 redirect 的功能。例如, 當有員工離職或換 mail address 時, 若你只在 /etc/aliases 檔替他們設定別名, 其他人還是不知道他新的 mail address, 除非他有回信。這時可在 /etc/aliases 加入下列設定:

tony: tony@new.mail.com.tw.REDIRECT

當有人寄信給 tony 時, 該信會被退回, 並在退信中加入下列訊息:

---- Transcript of session follows -----
551 5.1.1 User has moved; please try 〈tony@new.mail.com.tw〉

這時其他人就知道 tony 的新 mail address 了。

2007-05-17

[Zaurus] 在 Zaurus 上使用 Billionton CF 藍牙卡

在 PIL 接收了一張 Billionton CF 藍牙卡, 本來想說既然 Billionton USB 藍牙都可以用了, CF 應該也沒有問題才對。裝上去之後發現燈會亮, 但是無法正確驅動 (Windows XP 下可正常使用)。網路上找了一下, 發現 oesf 上很多人都有這個問題 (Sharp 原廠系統), 且似乎無解。想說是否要放棄, 直接在 fnac 買確定可用的 Ambicom CF 藍牙卡算了 (現在 CF 藍牙新品很難找)。

但想說 oesf 上 Bluetooth CF cards for the Zaurus 一文明明說有支援, 而且它與 Ambicom 一樣都是使用 CSR 晶片, 沒道理不能用啊!後來繼續在 google 上找資料, 最後到一篇德國人寫的 Sharp Zaurus SL-C750 und Billionton CF-Carte CFBT02-B2, 雖然有點舊, 但試試亦無妨, 沒想到用了它提供的設定檔就可以正確驅動了。步驟如下:

  1. 安裝 bluez-zaurus_2.12_2.4.20_arm.ipkqtopia-pannetworkapplet_1.0.1_arm.ipk
  2. 下載 /etc/pcmcia/bluetooth/etc/rc.d/init.d/bluetooth/etc/bluetooth/uart 這 3 個設定檔, 並覆蓋原來的設定檔。
  3. /etc/rc.d/init.d/bluetooth restart 或重開機即可。

2007-05-07

[Zaurus] 讓 Zaurus SL-C1000 透過 WM5 (AKU3) 使用 3G 上網

I wrote a document about Zaurus 3G connection with WM5 (AKU3), you can download it from here.

2007-05-04

[Zaurus] 安裝 SSH Server

雖然 Zaurus 有鍵盤,但是若你要在終端機上編輯一些設定檔,這麼小的鍵盤還是不方便使用。若你外接 USB 鍵盤,鍵盤問題解決了,但螢幕又顯得太小。所以最好的方式是由 PC 上以 SSH 連進 Zaurus 來修改設定檔。

1.首先安裝 openssh-client_3.6.1p1_arm.ipkopenssh-server_3.6.1p1_arm.ipk

2.開啟終端機設定 zaurus 帳號密碼:

bash-2.05$ passwd
Changing password for zaurus
Enter the new password (minimum of 5, maximum of 8 characters)
Please use a combination of upper and lower case letters and numbers.
Enter new password:
Re-enter new password:
Password changed.

3.設好密碼後如下產生金鑰:

bash-2.05$ ssh-user-keygen.sh

----- Generating User Keys
------- Generating RSA key for SSH v1
Enter passphrase (empty for no passphrase):
Enter same passphrase again:
← 直接按 [Enter] 鍵即可
Be sure to set a password: ssh-keygen -p -f ~/.ssh/identity
------- Generating RSA key for SSH v2
Enter passphrase (empty for no passphrase):
← 直接按 [Enter] 鍵即可
Enter same passphrase again: ← 直接按 [Enter] 鍵即可
Be sure to set a password: ssh-keygen -p -f ~/.ssh/id_rsa
------- Generating DSA key for SSH v2
Enter passphrase (empty for no passphrase):
← 直接按 [Enter] 鍵即可
Enter same passphrase again:
Be sure to set a password: ssh-keygen -p -f ~/.ssh/id_dsa
bash-2.05$ ssh localhost ← 測試連本機
The authenticity of host 'localhost (127.0.0.1)' can't be established.
RSA key fingerprint is 90:00:8a:7c:fd:e1:b9:24:70:b6:c5:51:fd:a3:d0:6e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'localhost' (RSA) to the list of known hosts.

This system is for the use of authorized users only. Individuals using this computer system are subject to having all of their activities on this system monitored and recorded. Anyone using this system expressly consents to such monitoring and is advised that if such monitoring reveals possible criminal activity, system personel may provide evidence of such monitoring to law enforcement.
zaurus@localhost's password:
$ ← 成功登入
當你的 Zaurus 連上網路之後,你就可以使用如 pietty 的工具由 PC 登入了。

2007-05-03

Zaurus 如果有方塊字的問題


解決方式有很多種,最簡單的方式是刪除 /home/QtPalmtop/lib/fonts 目錄下除了 fontdir、fixed* 與 helvetica* 所有的字型。重開機後瀏覽網頁時,就如上圖不會出現方塊字了。