April 2005 Archives

04.09.2005 20:55

在Fluxbox環境下使用中文輸入

最近在Fedora Coe 3下利用apt裝了Fluxbox來用,發現無法正常顯示並輸入繁體中文。於是,我試著找一下資料修改設定檔,結果誤打誤撞的試出以下方法。

vi ~/.fluxbox/startup
因為我使用locale是zh_TW.UTF-8,所以找以下這段
tmp=`echo $LANG | grep UTF`
if [ -n $tmp ]; then
        #ugly workaround for fluxbox UTF-8 slow loading bug
       export LC_CTYPE=C
fi
將這段通通標成註釋,修改成
#tmp=`echo $LANG | grep UTF`
#if [ -n $tmp ]; then
        #ugly workaround for fluxbox UTF-8 slow loading bug
#       export LC_CTYPE=C
#fi
以上是使用fluxbox-0.9.9-2的狀況。

-----

Posted by Wesly Chu | Permanent Link | Categories: Linux Note