這陣子家裡的 pc 換了新板子, 又得重裝過一遍, 又發現 linux 和 gentoo 的快速進步.
如果你是第一次使用 gentoo 的 "正體中文" 人, 可以參考本篇如何輕鬆的中文化 gentoo desktop 的中文顯示和中文輸入, 幾乎完全使用 gentoo 的預設值, 不需太多的手動更改.
以下只針對 kde 和 gnome,
icewm 也可以, 但多個小麻煩的步驟
1. 假設您已經完成 stage 1,2,3 到達可正確開機的地步.
2. 在 /etc/env.d/00basic 的最後加上:
(Apr 5) 更正為放在 ~/.bashrc 或 /etc/profile 的最後
Code: Select all
LC_ALL="zh_TW.Big5"
LANG="zh_TW.Big5"3. 依照您要用的 wm 來 emerge:
Code: Select all
emerge xfree
emerge kde (或 gnome)Code: Select all
emerge arphicfonts
emerge x11-misc/twmoefonts/twmoefonts-<版本>.ebuild
emerge x11-misc/zh-kcfonts/zh-kcfonts-<版本>.ebuild最後裝上輸入法:
Code: Select all
emerge xcinCode: Select all
emerge kde-i18n-zh_TWCode: Select all
/etc/init.d/xfs start5. 好啦, ok 了, 選好你要進的 wm, 進 xwin, 應該已經看得到中文了, 如果字看起來不習慣, 用該 wm 的字型程式調整一下. 找個 terminal 打上
Code: Select all
xcin &幾乎都是 gentoo 的預設值了, 只手動改了 locale 參數而已, 老 gentoo 人, 神奇嗎?

