richliu’s blog

Linux, 工作, 生活.

richliu’s blog header image 4

Gentoo Synce

December 12th, 2005 · 2 Comments

剛剛花了一點時間, 將 synce 弄起來了, 也丟了一些檔案到 PDA 內, 看起來是沒有什麼問題
我的 PDA 是 WinCE 的 ASUS A716
照著 Synce Howto Guide 做
就可以囉.
有圖有真相

Tags: Gentoo, Linux, PocketPC

[Read more →]

Tags: Gentoo · Linux · PocketPC

Gentoo Sun Jre 中文設定.

December 7th, 2005 · 1 Comment

今天看 建華金控 MMA的網頁, 發現JAVA 內的中文有問題. 在網路上找了一下, 最快速的方法是

# cd /opt/sun-jre-bin-1.5.0.05/lib/fonts/
# mkdir fallback
# cd fallback
# ln -sf /usr/share/fonts/fireflysung/fireflysung.ttf
重新啟動 Firefox , 大功告成.

對了, FF 支援 Sun Jre 的方法

# cd /usr/lib/mozilla-firefox/plugins
# ln -sf /opt/sun-jre-bin-1.5.0.05/plugin/i386/ns7/libjavaplugin_oji.so .

ref. Debian下Java 1.5中文字体配置

Tags: Gentoo, Linux

[Read more →]

Tags: Gentoo · Linux

Firefox 1.5 出了.

November 30th, 2005 · No Comments

11/29 真是熱鬧, 除了 KDE 3.5 Released . Firefox 1.5 也出了.
照例, 等 Firefox 1.5 進 Gentoo portage 系統以後, 再來換吧.
2005/11/30 19:28 Update:
Gentoo Portage Firefox 1.5 進 Portage 了.... 正在換 XD
2005/12/01 00:06 Update:
第一次 emerge 時, [...]

[Read more →]

Tags: Gentoo · Software · UNIX

KDE 3.5 出了.

November 30th, 2005 · No Comments

今天 KDE 3.5 正式 Release 了.
Gentoo 也更新 Portage 了(雖然還在 MASK , 不過我想很快就會 Release 了)
主要的更新在這一篇, KDE 3.5: A Visual Guide to New Features
節錄我有興趣的部份:
SuperKaramba 現在己經是 KDE 的一部份了(也就是說, 耗用資源愈來愈多)
kopete 將 video/audio 的 Protocol 包進去了, 也就是說可以用 webcam .
新增了自動撥放的功能, 就是 OOXX Device 塞進電腦, 就會跳一個視窗問你, 要做什麼.
Konqueror/kicker 都有改進, 大家就自己看囉.
2005/11/30 19:27 Update:
Gentoo Portage MASK 打開了....

Tags: Gentoo, Software, UNIX

[Read more →]

Tags: Gentoo · Software · UNIX

Gentoo Search Tool

November 25th, 2005 · 1 Comment

上次到 ICOS2005, 碰到莫雅客, 他還不知道 Gentoo 有好用的 Search Tool
我目前在用的是一套叫做 eix 的軟體, 這個軟體可以預先建立 Index . 所以 Search 起來非常的快, 不必再等 emerge 慢慢爬了.
連說明也是可以 Search 得很快哦.
也可以 Search 中文Gentoo Portage 的目錄.

Tags: Gentoo

[Read more →]

Tags: Gentoo

ICOS 2005

November 13th, 2005 · No Comments

這個星期四到星期六是 ICOS 2005 舉辦的日子, 原來這是三天的活動, 通常這會辦在星期五到星期日, 這次改成星期四和星期五, 能全程參加的機會也小了一點(八卦是, 要配合某單位的上班日)
星期六, 因為晚上聊太晚, 所以就晚一點起床再逛過去了.

Tags: Gentoo, UNIX, 隨手札記

[Read more →]

Tags: Gentoo · UNIX · 隨手札記

OO2 不能用 gcin 輸入的問題.

November 3rd, 2005 · No Comments

我的 OpenOffice2 不能用 gcin 輸入中文
只要在
/usr/kde/3.4/share/config/kdm/kdmrc
內加上
export GTK_IM_MODULE=gcin
就可以了.
ref. Ctrl - Space 無法叫出 gcin 的檢查事項

Tags: Gentoo, Linux

[Read more →]

Tags: Gentoo · Linux

mplayer 中文字幕.

September 14th, 2005 · No Comments

這個改法就是讓 mplayer 啟動時找得到中文字幕, kmplayer/gmplayer 也可以用
修改 ~/.mplayer/config
加上
subcp=cp950
unicode=yes
subfont-text-scale=3
font=/usr/share/fonts/fireflysung/fireflysung.ttf

就可以了
不過不能抓圖(不會抓 mplayer 的圖) 所以就沒有圖, 也沒有真相了......

Tags: Gentoo, Linux

[Read more →]

Tags: Gentoo · Linux

Gentoo 下跑 NPTL

June 21st, 2005 · 1 Comment

Linux 在 Kernel 2.6 及 Glibc 2.4.x 版以後支援 NPTL (The Native POSIX Thread Library)
在 我的Wiki 有一篇 GentooNPTL 有講到如何讓 Gentoo 支援 NPTL
若是你的系統有用到 MultiThread, 而且 Create/Exit Threads 很頻繁時, 都應該換 NPTL
其實用 LinuxThreads 也不會太慢, 不過就是爽度問題.
個人用的感覺是, 若是系統上有很多 Service , Loading 較輕, 反應時間較快(皆未經嚴格驗證)
目前我自己的系統都是換上了 NPTL...
以下補上兩篇測試報告.
Linux 线程库性能测试与分析
first NPT vs. NGPT vs. LinuxThreads benchmark results

Tags: Gentoo, UNIX

[Read more →]

Tags: Gentoo · UNIX

在 Thunderbird 內點 URL, 無法在 Mozilla-Firefox 開啟 link 的問題.

June 4th, 2005 · No Comments

我換新電腦以後, 在 Thunderbird 內 URL Link 並不會開啟 Mozilla-Firefox 連上 URL
這讓我很困擾, 因為我用 ThunderBird 看 RSS , 常常都會有 Link
今天爬了一下文
在 ThunderBird 的 About:config 內, 加上
network.protocol-handler.app.http
network.protocol-handler.app.https
network.protocol-handler.app.ftp
三個選項, 參數用
/usr/bin/firefox
這樣就可以正常運作了.....
ref . Making hyperlinks work between Firefox and Thunderbird

Tags: Gentoo, Linux, Software

[Read more →]

Tags: Gentoo · Linux · Software