---
title: "安装、配置ubuntu中文输入法scim"
author: "simon_zhang"
date: "2007-01-22T16:30:00Z"
tags: []
slug: "ubuntu-scim"
draft: false
lastmod: "2007-01-22T16:30:00Z"
id: 64916
url: "https://mogee.iteye.com/blog/64916"
---

scim : 史上最强的输入法; 包括ubuntu-5.10和6.06安装源的配置

1.设置安装源：  
vi /etc/apt/sources.list  
(Ubuntu-5.10的源)  
deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse

(Ubuntu-6.06的源)  
deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse  
deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

2.更新安装原：  
apt-get update  
apt-get dist-upgrade（很耗时）

3.安装输入法（scim）：  
apt-get install scim scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh scim-input-pad

4 .输入法配置：

vi /etc/gdm/Xsession:  
在PROGNAME=Xsession的行后面添加一行  
export XMODIFIERS=@im=SCIM  
在GDM\_LANG所在的字段的后面（if —— fi段的后面）添加一行  
/usr/bin/scim &

5\. 注销——&gt;Ctrl+Space(打开输入法)——&gt;Ctrl+Shift(切换输入法)