[问题]SCIM如何在FireFox中开启及什么是System Password? [解决]

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
wjv7274
帖子: 42
注册时间: 2007-01-25 9:25
来自: Malaysia
联系:

[问题]SCIM如何在FireFox中开启及什么是System Password? [解决]

#1

帖子 wjv7274 » 2007-01-25 18:56

我刚接触linux,很想尝试看看,所以昨天就在第二硬盘上安装了ubuntu6.10,然后安装了语言包后,果然可在文本编辑中输入中文,可是却出现以下问题。

1。SCIM无法在其他软件如Open Office或Fire Fox中开启,是否我做少了哪个步骤?

2。Fire Fox出现了bug,我发了报告后,重启Fire Fox,却叫我输入以下的资料:
System Password
User Name
password
请问我该在哪里取得以上密码呢?

我找过了论坛及Wiki,可是找不到以上答案,盼大家可告知小弟,谢谢。
上次由 wjv7274 在 2007-01-26 0:38,总共编辑 1 次。
超级菜鸟,积极学习中!
我相信,经验来自不断尝试。
Niee
帖子: 3
注册时间: 2007-01-23 10:01

#2

帖子 Niee » 2007-01-25 21:20

我翻译的老文章

————————————————————————————————————————————————————

Quick setup
快速设置

SCIM is the name of the program that will allow you to input a CJK language in Ubuntu 6.06 Dapper Drake.

SCIM 是一个用来(Dapper、Edgy Eft)输入CJK(中、日、韩)语言的程序。
1.

Open system System>Administration>Language Support1:
打开 系统>管理员>语言支持
2.

and install the support package corresponding to the language you want to input2:
然后选择输入语言相应的语言包(比如 Chinese)

3.

then log out (System>Quit>Log Out), and login again.
最后重新登录一次

If your session is using a CJK language (for example, all you menus are in Chinese, Japanese or Korean) you should be able to input it in any application (go to Using SCIM to learn how to do it).
Additional configuration if you're not using a CJK session

如果你的系统使用CJK语言,那麽你可以在任何程序中使用此输入法。如果你不是使用CJK语言的话你需要作一些附加设置。

Note : You should already be able to use SCIM input in a few applications, like gedit (Application>Accessories>Text Editor), by right clicking on the document, then selecting Input Methods>SCIM Input Method. However, it won't work in the others, like Open Office.

注意:你应该已经可以在一些程序用SCIM输入CJK语言了,比如gedit,在文件上单击右键,选择 输入方式>SCIM 输入法。然而,它现在还不可以在其他一些程序中使用,像Open Office。

The recommended method to set up SCIM input for all applications is using a command-line tool called im-switch (where im stands for Input Method, obviously :) ). Before that, you will have to know the name of the locale you're using. In a terminal (Applications>Accessories>Terminal) type :

推荐你使用一种命令行(Command-line)工具 “im-switch“。在此之前,你必须知道你使用的locale(关于locale请查询wiki)。打开一个终端,输入以下命令:

locale | grep LANG=

The anwer would be something like
得到的回答也许像这样

LANG=en_GB.UTF-8

where the relevant part is en_GB (en standing for English and GB for the country, here Great Britain). Another example could be fr_FR (fr for French and FR for France).

其中相关的部分是en_GB(en指英语,GB是指城市,这里是大不列颠)。其他的例子比如 fr_FR(fr指法语,FR之法国)。

Now you just have to install an additional package called {{scim-qtimm}} and tell the system you want to use SCIM as the input method for your locale, using

现在你只需要安装一个附加包叫{{scim-qtimm}},然后告诉系统你希望使用SCIM作为你当前locale的输入法

im-switch -z “your locale” -s scim

In the above example, with an en_GB locale, you would type in the terminal :
比如在上一个例子中,locale是en_GB,那么你需要在终端中输入如下指令:

sudo apt-get install scim-qtimm
im-switch -z en_GB -s scim

Log out, then log in again. SCIM should be now the default input for all applications (go to Using SCIM to learn how to use it)
重新登录之后SCIM应该变成默认的系统输入法。

在Xubuntu下没有实验此法是否成立,但给出翻译:

Note for Xubuntu users : On Xubuntu, the system will ask you first to install the package libapt-pkg-perl. Install it from Synaptic (see above) or by the command line :
Xubuntu用户注意:在Xubuntu上,系统会问你先安装程序包“libaptpkg-perl“。使用新立得(见上文)或者使用在终端中输入以下命令:

*

sudo apt-get install libapt-pkg-perl

Then you'll be ready to use im-switch (see just above). In Xubuntu, you will also have to apply the following instructions :
然后你要准备使用im-switch(见上文)。在Xubuntu中,你也需要实现如下操作:

In case all of this doesn't work
如果这些都不管用的话

You might have to add your locale as a supported locale, by editing (you might have to create it) the file ~/.scim/global (the ~ means it's in your home directory, the . that .scim directory is a hidden file. Just type in a terminal :
你也许必须添加你的locale到supported locale,编辑(也许需要创建)文件 ~/.scim/global(~表示在/home文件夹下,.scim是隐藏文件)。只需在终端中输入如下命令:

gedit ~/.scim/global

If you can find a line like
如果你不能够找到如下一行

/SupportedUnicodeLocales = en_US.UTF-8

add your locale to it after a coma, not forgetting you need to add the full name reported by locale | grep LANG= after LANG= . In case of English for Great Britain, your line would look like this one :

输入一个逗号后把你的locale加入进去(方法见上文)。如果你使用大不列颠的英文locale,那么你输入的应该像:

/SupportedUnicodeLocales = en_US.UTF-8,en_GB.UTF-8

If the line wasn't there, create it, then save the file.

如果这行文字不存在,输入他并保存。

Log out, then log in and you should be able to use SCIM input in every application.

重新登录后SCIM应该可以在所有程序中使用了。

Using SCIM

使用SCIM

SCIM should now start along with every application. To trigger it, use any of these shortcut keys : Control+space, Shift+space, Zenkaku_Hankaku(on Japanese keyboard), Hangul(on Korean keyboard)

SCIM 现在应该可以在所有程序中运行了。使用快捷键:Control+space, Shift+space, Zenkaku_Hankaku(on Japanese keyboard), Hangul(on Korean keyboard)可以切换它。

While inputting, if you want to switch back and forth between your CJK language and your session language, you can just use the Shift key. Fast and easy!

当输入的时候,如果你想要在CJK语言于你的系统locale下切换,只需要使用shift。方便快捷!
wjv7274
帖子: 42
注册时间: 2007-01-25 9:25
来自: Malaysia
联系:

#3

帖子 wjv7274 » 2007-01-25 23:32

经过一晚的休息后,我终于可以在FireFox及Open Office中启用SICM输入中文了,因为我少了一个步骤,就是重新登入!
真是笨蛋啦我!

感谢Niee给的资料,我会好好研究这些命令的使用 :wink:
哇!还有很长的路要走呢!

另外,有关System Password的问题,不知有谁可以告知呢?
我仍然想知道这方面的资料。
或者,在哪里可以找到这方面的资料。
超级菜鸟,积极学习中!
我相信,经验来自不断尝试。
jimmin
帖子: 2138
注册时间: 2006-09-24 4:37

#4

帖子 jimmin » 2007-01-25 23:46

你看看forefox的扩展,有两个默认安装的扩展,是用来报告bug的,把它删除就可以了。
wjv7274
帖子: 42
注册时间: 2007-01-25 9:25
来自: Malaysia
联系:

#5

帖子 wjv7274 » 2007-01-25 23:55

jimmin 写了:你看看forefox的扩展,有两个默认安装的扩展,是用来报告bug的,把它删除就可以了。
谢谢jimmin,扩展中没有东西了,谢谢! :o
哈哈!又学多一样。

想说说,SCIM的智能拼音比XP的强很多,用的称心如意!
超级菜鸟,积极学习中!
我相信,经验来自不断尝试。
回复