|
发表于 2005-11-11 17:54:41
|
显示全部楼层
Post by paradox
装了两个Debian, sarge, 都在中文输入上出了问题.
每个debian安装时都是先安装一个最小系统,再安装x-windows-system,安装ttf-arptic*中文字体,一个debian安装了xfce,另一个则安装了fvwm.
两个都实验了fcitx, 按照说明设置好之后,`可以启动fcitx, 但敲ctrl-space后,fcitx的标题栏始终是灰的,无法输入汉字.另外,还实验了安装zhcon,都是可以运行,可以显示汉字,但输入时,输入标题拦显示HalfEn, 可以启动输入法,但输入的汉字无法显示.
感觉似乎是缺少locale的包的问题,用apt-cache search locale找到的包也看不大懂,实验了最开始的两个b??-locale-bin和b??-locale-date的包,执行后卸掉了locales包,和xcin包,但自动locale配置出错,执行zhcon,结果不变.
请问,中文输入到底要安装哪些包?
其实你应该没有做错什么
最小系统装完以后,装x-windows-system,我装的是kde-core,然后你装些中文字体,或者直接拷贝ms字体,然后如下操作
* SCIM:
# apt-get install scim scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad
# sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; scim -d ' > /etc/X11/Xsession.d/95xinput "
# chmod +755 /etc/X11/Xsession.d/95xinput
* fcitx:
# apt-get install fcitx
# sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcitx" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
# chmod +755 /etc/X11/Xsession.d/95xinput
重新启动Xwindow完成。按 Ctrl + 空格 键激活输入法。
至于locale的话,你先locale一下看看是什么玩意,然后dpkg-reconfigure locales 选择gbk,应该这样是可以的,试试吧 |
|