以dapper为例,首先用光盘安装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的内容修改为
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://archive.ubuntu.com/ubuntu dapper main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu dapper main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
然后
sudo apt-get update
sudo apt-get dist-upgrade
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/firefly-f ... 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
安装好之后,需要在 X11 启动文件夹中添加 scim 条目。
$ sudo touch /etc/X11/Xsession.d/74custom-scim_startup
$ sudo chmod 646 /etc/X11/Xsession.d/74custom-scim_startup
$ echo 'export XMODIFIERS="@im=SCIM"' >> /etc/X11/Xsession.d/74custom-scim_startup
$ echo 'export GTK_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
$ echo 'export XIM_PROGRAM="scim -d"' >> /etc/X11/Xsession.d/74custom-scim_startup
$ echo 'export QT_IM_MODULE="scim"' >> /etc/X11/Xsession.d/74custom-scim_startup
$ sudo chmod 644 /etc/X11/Xsession.d/74custom-scim_startup
重新启动X, 就可以找到SCIM中文输入了。
这个时候往往acroread无法正常使用,解决方法是:
把如下部分
#!/bin/sh
#
改变成:
#!/bin/sh
#
GTK_IM_MODULE=xim
保存文件。
现在acroread就可以工作了。
我的 scim 安装与相关问题的解决
-
- 帖子: 36
- 注册时间: 2006-02-01 21:40
- xiaosilent
- 帖子: 513
- 注册时间: 2006-05-09 9:59
- 来自: 四川成都
- 联系:
Re: 我的 scim 安装与相关问题的解决
为什么要先删了ff再安装一遍? 你在国外么?用国外的源?akey307 写了:
sudo apt-get remove firefox mozilla-firefox
sudo apt-get install mozilla-firefox
将source.list的内容修改为
deb http://archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://archive.ubuntu.com/ubuntu dapper main universe multiverse restricted
deb-src http://archive.ubuntu.com/ubuntu dapper main universe multiverse restricted
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
-
- 帖子: 24
- 注册时间: 2006-11-24 11:27