个人工具

Stardict

来自Ubuntu中文

Dbzhang800讨论 | 贡献2007年9月9日 (日) 14:20的版本 (新页面: ===安装stardict=== 如果出现需要输入[Y/n]或[y/N],一律输入y并回车。 '''Ubuntu''' <pre class='wrappre'>sudo apt-get install stardict stardict-cdict-gb stardict-cedict-...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索

安装stardict

如果出现需要输入[Y/n]或[y/N],一律输入y并回车。

Ubuntu

sudo apt-get install stardict stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb

安装完成后的快捷方式在(应用程序 -> 附件 -> 星际译王)

Kubuntu

sudo apt-get install sox stardict-gtk stardict-common stardict-cdict-gb stardict-cedict-gb stardict-hanzim stardict-langdao-ce-gb stardict-langdao-ec-gb stardict-oxford-gb stardict-xdict-ce-gb stardict-xdict-ec-gb

安装完成后的快捷方式在(主菜单 -> 附件 -> 星际译王)

StarDict更多词典的安装

你可以在这个地址http://ftp.ubuntu.org.cn找到很多的词典,下载你喜欢的词典后只需把它解压到

~/.stardict/dic
/usr/share/stardict/dic

重新启动stardict,新的词典就会被自动加载了。

安装真人发声语音包

安装真人语音包可以使您在使用 stardict 查询单词的时候同时读音。要使用 apt 安装的话,请确保您的 sources.list 中包含 ubuntu-cn 的软件仓库。

安装

sudo apt-get install wyabdcrealpeopletts

如果源中没有该包,可以到 http://ftp.ubuntu.org.cn 下载后手动安装

复制到/usr/share目录下面并解压缩:

sudo tar -xvf WyabdcRealPeopleTTS.tar.bz2  -C /usr/share

发音设置

如果您安装的是 ubuntu/gnome, 那么只要安装真人发音包之后不需要任何设置,stardict 就可以发音了。

如果您确认安装的是 statdict-gtk ,并且安装了 sox , 那么无须任何设置就可以发音了, 不过依然推荐修改下让星际译王用 alsa , 启动stardict后,点击主界面右下角按钮进入设置页面 -> 词典 -> 声音 -> 在启用声音前打钩,并将play改为aplay。 改完后如下图所示

i2472.png