星期日, 4月 22, 2007

Mount ISO 檔案

掛載 iso 檔案的指令如下:

mount -o loop /path/to/target/file /mount/dir

星期四, 4月 12, 2007

Thunderbird1.5 開啟多附加檔案信件問題

Thunderbird1.5 如果開啟大量附檔的信件時,附加檔案的那一欄位在預覽信件時會大到看不見信件的內文。因此必須編輯一個 userChrome.css 放在 .thunderbird 的 profile/xxx.default/chrome 資料夾中。 userChrome.css的內容如下:

#attachmentView {
max-height: 50px !important;
overflow: scroll !important;
}

Reference:
http://forum.moztw.org/

星期三, 4月 04, 2007

Wine 模糊字體修正

Wine預設字體會模糊,可修正以下檔案 (.wine資料夾裡)
  • user.reg
  • system.reg
  • win.ini
  1. user.reg
    [Software\\Wine\\X11 Driver]
    "ClientSideAntiAliasWithRender"="N"
    [Software\\Wine\\Fonts\\Replacements]
    "System"="AR PL New Sung"
    "Arial"="AR PL New Sung"
    "Fixedsys"="AR PL New Sung"
    "Microsoft Sans Serif"="AR PL New Sung"
    "MS UI Gothic"="AR PL New Sung"
    "Tahoma"="AR PL New Sung"
    "Terminal"="AR PL New Sung"
    "MingLiU"="AR PL New Sung"
    "PMingLiU"="AR PL New Sung"
  2. system.reg

    [System\\CurrentControlSet\\Hardware Profiles\\Current\\Software\\Fonts]
    "LogPixels"=dword:00000082
  3. win.ini
    [Desktop]
    menufontsize=13
    messagefontsize=13
    statusfontsize=13
    IconTitleSize=13
Reference:
http://fs.ilc.edu.tw/wiki/index.php/Wine