超级菜鸟求教如何添加中文输入法
-
- 帖子: 17
- 注册时间: 2006-04-26 22:19
- 联系:
超级菜鸟求教如何添加中文输入法
下面内容来自:http://wiki.ubuntu.org.cn/%E5%A6%82%E4% ... 5%E6%B3%95
偶看了半天也没明白这是什么意思,天书啊
在哪去运行这些代码呢?
偶是第一次接触这些东西,收到免费的ubuntu盘时才接触Linux的
偶的版本是:5.10
如何添加中文输入法
SCIM
$sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyi
n scim-tables-zh scim-input-pad
$sudo sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim"
; scim -d ' > /etc/X11/Xsession.d/95xinput "
$sudo chmod +755 /etc/X11/Xsession.d/95xinput
注:在Dapper下省略后两步
注:在Dapper里也可以直接选择系统->系统管理—>语言支持(language support)勾
选Chinese 就会自动安装和配置scim
Fcitx
$sudo apt-get install fcitx
$sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcit
x" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
$sudo chmod +755 /etc/X11/Xsession.d/95xinput
注:在Dapper下省略后两步
激活输入法
重新启动Xwindow完成。按 Ctrl + 空格 键激活输入法。
偶看了半天也没明白这是什么意思,天书啊
在哪去运行这些代码呢?
偶是第一次接触这些东西,收到免费的ubuntu盘时才接触Linux的
偶的版本是:5.10
如何添加中文输入法
SCIM
$sudo apt-get install scim scim-modules-socket scim-modules-table scim-pinyi
n scim-tables-zh scim-input-pad
$sudo sh -c " echo 'export XMODIFIERS=@im=SCIM ; export GTK_IM_MODULE="scim"
; scim -d ' > /etc/X11/Xsession.d/95xinput "
$sudo chmod +755 /etc/X11/Xsession.d/95xinput
注:在Dapper下省略后两步
注:在Dapper里也可以直接选择系统->系统管理—>语言支持(language support)勾
选Chinese 就会自动安装和配置scim
Fcitx
$sudo apt-get install fcitx
$sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MODULE="fcit
x" ; fcitx ' > /etc/X11/Xsession.d/95xinput "
$sudo chmod +755 /etc/X11/Xsession.d/95xinput
注:在Dapper下省略后两步
激活输入法
重新启动Xwindow完成。按 Ctrl + 空格 键激活输入法。
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
5.10不是dapper,也就是说,你要用3步来安装一个输入法,具体的scim和fcitx可以任意选择一个。
安装方法是,首先打开终端,然后输入上面提供的命令。
注意的一点是,每条命令开头的美元符号是系统提示符,不要把它也敲到命令行中去了。
祝你好运!
安装方法是,首先打开终端,然后输入上面提供的命令。
注意的一点是,每条命令开头的美元符号是系统提示符,不要把它也敲到命令行中去了。
祝你好运!
飞得高,飞得低,学习再学习,多少大秘密!
http://zhan.blog.ubuntu.org.cn
http://zhan.blog.ubuntu.org.cn
-
- 帖子: 163
- 注册时间: 2006-03-26 17:16
- 来自: 广东中山
-
- 帖子: 1187
- 注册时间: 2006-04-29 14:54
- 来自: 山东
- 联系:
-
- 帖子: 17
- 注册时间: 2006-04-26 22:19
- 联系:
偶失败了,系统提示了一下:"E: 无法找到软件包 fcitx"
这个东西应该放在哪个目录下呢?
另外输入sudo 回车后并没有提示输入密码
是在输入sudo apt-get install fcitx回车后才提示输入密码的
====================================================
yayu@yayu:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
yayu@yayu:~$ sudo apt-get install fcitx
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 fcitx
yayu@yayu:~$ sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MOD
ULE="fcitx
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
yayu@yayu:~$ sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MOD
ULE="fcitx"; fcitx ' > /etc/X11/Xsession.d/95xinput "
yayu@yayu:~$
yayu@yayu:~$ sudo chmod +755 /etc/X11/Xsession.d/95xinput
yayu@yayu:~$ fcitx
bash: fcitx: command not found
yayu@yayu:~$ sudo chmod +755 /etc/X11/Xsession.d/95xinput
yayu@yayu:~$ fcitx
bash: fcitx: command not found
yayu@yayu:~$
===============================================================
这个东西应该放在哪个目录下呢?
另外输入sudo 回车后并没有提示输入密码
是在输入sudo apt-get install fcitx回车后才提示输入密码的
====================================================
yayu@yayu:~$ sudo
usage: sudo -K | -L | -V | -h | -k | -l | -v
usage: sudo [-HPSb] [-p prompt] [-u username|#uid]
{ -e file [...] | -i | -s | <command> }
yayu@yayu:~$ sudo apt-get install fcitx
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 无法找到软件包 fcitx
yayu@yayu:~$ sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MOD
ULE="fcitx
sh: -c: line 0: unexpected EOF while looking for matching `''
sh: -c: line 1: syntax error: unexpected end of file
yayu@yayu:~$ sudo sh -c " echo 'export XMODIFIERS=@im=fcitx ; export GTK_IM_MOD
ULE="fcitx"; fcitx ' > /etc/X11/Xsession.d/95xinput "
yayu@yayu:~$
yayu@yayu:~$ sudo chmod +755 /etc/X11/Xsession.d/95xinput
yayu@yayu:~$ fcitx
bash: fcitx: command not found
yayu@yayu:~$ sudo chmod +755 /etc/X11/Xsession.d/95xinput
yayu@yayu:~$ fcitx
bash: fcitx: command not found
yayu@yayu:~$
===============================================================
-
- 帖子: 28
- 注册时间: 2006-05-01 15:42
找不到fctix,怎么解决呢?
root@myubuntu:/home/cg# apt-get install fctix
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package fctix
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package fctix
- zhan
- 帖子: 1880
- 注册时间: 2005-08-15 0:04
- 来自: 南7技校
-
- 帖子: 28
- 注册时间: 2006-05-01 15:42
sudo apt-get update (ok)
sudo apt-get install fctix (doesn't work)
my list:
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
deb http://archive.ubuntu.com/ubuntu breezy main restricted universe multiverse
deb http://hk.archive.ubuntu.com/ubuntu breezy main restricted universe multiverse
deb-src http://hk.archive.ubuntu.com/ubuntu breezy main restricted
deb http://hk.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://hk.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
sudo apt-get install fctix (doesn't work)
my list:
deb cdrom:[Ubuntu 5.10 _Breezy Badger_ - Release i386 (20051012)]/ breezy main restricted
deb http://archive.ubuntu.com/ubuntu breezy main restricted universe multiverse
deb http://hk.archive.ubuntu.com/ubuntu breezy main restricted universe multiverse
deb-src http://hk.archive.ubuntu.com/ubuntu breezy main restricted
deb http://hk.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb-src http://hk.archive.ubuntu.com/ubuntu breezy-updates main restricted
deb http://security.ubuntu.com/ubuntu breezy-security main restricted
deb-src http://security.ubuntu.com/ubuntu breezy-security main restricted
- karron
- 帖子: 6226
- 注册时间: 2005-06-11 14:03
- 来自: 不明真相的群众
- 联系:
-
- 帖子: 28
- 注册时间: 2006-05-01 15:42
i see the page you say, use this still not work, crazy:
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
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
-
- 帖子: 17
- 注册时间: 2006-04-26 22:19
- 联系:
设置源中执行这个时:sudo apt-get update
无法升级,因为偶上不了外网...........以后的步骤好象就不管用了
设置代理却老不成功
这个帖子:viewtopic.php?t=14084&highlight=
难道没有办法了吗?
无法升级,因为偶上不了外网...........以后的步骤好象就不管用了
设置代理却老不成功
这个帖子:viewtopic.php?t=14084&highlight=
难道没有办法了吗?
-
- 帖子: 28
- 注册时间: 2006-05-01 15:42
please help to see where is problem! What is Get, Ign or Hit.
root@myubuntu:/home/cg# apt-get update
Get:1 http://ubuntu.cn99.com breezy Release.gpg [189B]
Get:2 http://ubuntu.cn99.com breezy-updates Release.gpg [189B]
Get:3 http://ubuntu.cn99.com breezy-security Release.gpg [189B]
Get:4 http://ubuntu.cn99.com breezy-backports Release.gpg [189B]
Ign http://ubuntu.cn99.com breezy Release.gpg
Hit http://ubuntu.cn99.com breezy Release
Get:5 http://ubuntu.cn99.com breezy-updates Release [30.9kB]
Get:6 http://ubuntu.cn99.com breezy-security Release [27.0kB]
Get:7 http://ubuntu.cn99.com breezy-backports Release [19.6kB]
Ign http://ubuntu.cn99.com breezy Release
Hit http://ubuntu.cn99.com breezy/main Packages
Hit http://ubuntu.cn99.com breezy/restricted Packages
Hit http://ubuntu.cn99.com breezy/universe Packages
Hit http://ubuntu.cn99.com breezy/multiverse Packages
Get:8 http://ubuntu.cn99.com breezy-updates/main Packages [39.0kB]
Get:9 http://ubuntu.cn99.com breezy-updates/restricted Packages [14B]
Get:10 http://ubuntu.cn99.com breezy-updates/universe Packages [12.9kB]
Get:11 http://ubuntu.cn99.com breezy-updates/multiverse Packages [708B]
Get:12 http://ubuntu.cn99.com breezy-security/main Packages [49.2kB]
Get:13 http://ubuntu.cn99.com breezy-security/restricted Packages [4458B]
Get:14 http://ubuntu.cn99.com breezy-security/universe Packages [34.4kB]
Get:15 http://ubuntu.cn99.com breezy-security/multiverse Packages [3830B]
Ign http://ubuntu.cn99.com breezy/main Packages
Ign http://ubuntu.cn99.com breezy/restricted Packages
Ign http://ubuntu.cn99.com breezy/universe Packages
Ign http://ubuntu.cn99.com breezy/multiverse Packages
Get:16 http://ubuntu.cn99.com breezy-backports/main Packages [14.0kB]
Get:17 http://ubuntu.cn99.com breezy-backports/restricted Packages [14B]
Get:18 http://ubuntu.cn99.com breezy-backports/universe Packages [26.1kB]
Get:19 http://ubuntu.cn99.com breezy-backports/multiverse Packages [1353B]
Hit http://ubuntu.cn99.com breezy/main Packages
Hit http://ubuntu.cn99.com breezy/restricted Packages
Hit http://ubuntu.cn99.com breezy/universe Packages
Hit http://ubuntu.cn99.com breezy/multiverse Packages
Fetched 264kB in 21s (12.5kB/s)
Reading package lists... Done
root@myubuntu:/home/cg# apt-get install fctix
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package fctix
root@myubuntu:/home/cg# apt-get update
Get:1 http://ubuntu.cn99.com breezy Release.gpg [189B]
Get:2 http://ubuntu.cn99.com breezy-updates Release.gpg [189B]
Get:3 http://ubuntu.cn99.com breezy-security Release.gpg [189B]
Get:4 http://ubuntu.cn99.com breezy-backports Release.gpg [189B]
Ign http://ubuntu.cn99.com breezy Release.gpg
Hit http://ubuntu.cn99.com breezy Release
Get:5 http://ubuntu.cn99.com breezy-updates Release [30.9kB]
Get:6 http://ubuntu.cn99.com breezy-security Release [27.0kB]
Get:7 http://ubuntu.cn99.com breezy-backports Release [19.6kB]
Ign http://ubuntu.cn99.com breezy Release
Hit http://ubuntu.cn99.com breezy/main Packages
Hit http://ubuntu.cn99.com breezy/restricted Packages
Hit http://ubuntu.cn99.com breezy/universe Packages
Hit http://ubuntu.cn99.com breezy/multiverse Packages
Get:8 http://ubuntu.cn99.com breezy-updates/main Packages [39.0kB]
Get:9 http://ubuntu.cn99.com breezy-updates/restricted Packages [14B]
Get:10 http://ubuntu.cn99.com breezy-updates/universe Packages [12.9kB]
Get:11 http://ubuntu.cn99.com breezy-updates/multiverse Packages [708B]
Get:12 http://ubuntu.cn99.com breezy-security/main Packages [49.2kB]
Get:13 http://ubuntu.cn99.com breezy-security/restricted Packages [4458B]
Get:14 http://ubuntu.cn99.com breezy-security/universe Packages [34.4kB]
Get:15 http://ubuntu.cn99.com breezy-security/multiverse Packages [3830B]
Ign http://ubuntu.cn99.com breezy/main Packages
Ign http://ubuntu.cn99.com breezy/restricted Packages
Ign http://ubuntu.cn99.com breezy/universe Packages
Ign http://ubuntu.cn99.com breezy/multiverse Packages
Get:16 http://ubuntu.cn99.com breezy-backports/main Packages [14.0kB]
Get:17 http://ubuntu.cn99.com breezy-backports/restricted Packages [14B]
Get:18 http://ubuntu.cn99.com breezy-backports/universe Packages [26.1kB]
Get:19 http://ubuntu.cn99.com breezy-backports/multiverse Packages [1353B]
Hit http://ubuntu.cn99.com breezy/main Packages
Hit http://ubuntu.cn99.com breezy/restricted Packages
Hit http://ubuntu.cn99.com breezy/universe Packages
Hit http://ubuntu.cn99.com breezy/multiverse Packages
Fetched 264kB in 21s (12.5kB/s)
Reading package lists... Done
root@myubuntu:/home/cg# apt-get install fctix
Reading package lists... Done
Building dependency tree... Done
E: Couldn't find package fctix