
0. pcmanx-gtk2 ./configure 的時候就要加入 --enable-plugin
1. 你要裝幾個 firefox components:
假設 FIREFOX_DIR=/usr/lib/firefox/
pcmanx-gtk2/plugin/data 底下有
TelnetProtocol.js
pcmanx.html
pcmanx.png
把這三個檔案 cp 到 /usr/lib/firefox/components/
pcmanx-gtk2/plugin/src 底下有
pcmanx-plugin.so 要複製到
/usr/lib/firefox/plugins/
或 ~/.mozilla/plugins/ 都可以
pcmanx_interface.xpt 要複製到
/usr/lib/firefox/components/
2. 下載 http://www.sarge.idv.tw/~anton/pcman-1.0.5_a.xpi
或下載官方的 xpi ,自行修改 chrome 裡面 pcman.html 裡
#24
type="application/pcmanx"
修改 pcman -> pcmanx
安裝完 xpi 就 ok 了。
沒有留言:
張貼留言