LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1367|回复: 1

菜鸟Ubuntu的scim的傻瓜安装过程

[复制链接]
发表于 2006-2-3 18:30:03 | 显示全部楼层 |阅读模式
本人按照Ubuntu   http://www.ubuntu.org.cn/support/documentation/guide/scim  如何安装中文输入法 (SCIM)?  的帖子安装中文输入法,屡次失败。

反复试验后,下面的这个方法可行,与大家一起分享一下。

首先用光盘安装base system后

sudo apt-get remove firefox mozilla-firefox
sudo apt-get install mozilla-firefox

sudo apt-get install ubuntu-base ubuntu-desktop


sudo cp /etc/apt/source.list /etc/apt/source.list_backup

将source.list的内容修改为:

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu breezy-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu breezy main universe multiverse restricted

deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted

deb http://security.ubuntu.com/ubuntu breezy-security universe
deb-src http://security.ubuntu.com/ubuntu breezy-security universe



然后
sudo apt-get update


sudo apt-get dist-upgrade


sudo apt-get --purge remove portmap

sudo apt-get install language-pack-gnome-zh language-pack-gnome-zh-base language-pack-zh language-pack-zh-base language-support-zh

sudo apt-get install scim
sudo apt-get install scim-chinese
sudo apt-get install scim-config-socket
sudo apt-get install scim-gtk2-immodule
sudo apt-get install scim-tables-zh
wget -c http://www.study-area.org/apt/fi ... lysung-1.3.0.tar.gz
sudo tar zxvf fireflysung-1.3.0.tar.gz -C /usr/share/fonts/truetype/
sudo chown -R root:root /usr/share/fonts/truetype/fireflysung-1.3.0/
sudo fc-cache -f -v




重启,生效。
发表于 2006-4-20 01:12:41 | 显示全部楼层
我用的cn99的源

sudo apt-get install scim
sudo apt-get install scim scim-pinyin
安装完成之后

sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim" ; scim -d ' > /etc/X11/Xsession.d/95xinput "

重新起动之后就可以了
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表