个人工具

“Stardict”的版本间的差异

来自Ubuntu中文

跳转至: 导航, 搜索
第1行: 第1行:
==安装stardict==
+
<font color="red">注意:文中ftp.ubuntu站点的密码http://forum.ubuntu.org.cn/viewtopic.php?t=9685</font>
 +
 
 +
== 安装stardict ==
 +
 
 
如果出现需要输入[Y/n]或[y/N],一律输入y并回车。
 
如果出现需要输入[Y/n]或[y/N],一律输入y并回车。
  
'''Ubuntu'''  
+
'''Ubuntu'''
<pre class='wrappre'>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</pre>
+
<pre class="wrappre">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</pre>  
安装完成后的快捷方式在(应用程序 -> 附件 -> 星际译王)
+
安装完成後的快捷方式在(应用程序 -&gt; 附件 -&gt; 星际译王)
  
'''Kubuntu'''  
+
'''Kubuntu'''
<pre class='wrappre'>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</pre>
+
<pre class="wrappre">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</pre>  
安装完成后的快捷方式在(主菜单 -> 附件 -> 星际译王)
+
安装完成後的快捷方式在(主菜单 -&gt; 附件 -&gt; 星际译王)
  
 
== StarDict更多词典的安装 ==
 
== StarDict更多词典的安装 ==
  
你可以在这个地址[http://ftp.ubuntu.org.cn/stardict.sourceforge.net/ http://ftp.ubuntu.org.cn]找到很多的词典,下载你喜欢的词典後只需把它解压到
+
你可以在这个地址[http://ftp.ubuntu.org.cn/stardict.sourceforge.net/ http://ftp.ubuntu.org.cn]找到很多的词典,下载你喜欢的词典后只需把它解压到
<pre>~/.stardict/dic</pre>
+
<pre>~/.stardict/dic</pre>  
 
 
 
<pre>/usr/share/stardict/dic</pre>  
 
<pre>/usr/share/stardict/dic</pre>  
第26行: 第29行:
 
=== 安装 WyabdcRealPeopleTTS ===
 
=== 安装 WyabdcRealPeopleTTS ===
  
到[http://ftp.ubuntu.org.cn/stardict.sourceforge.net/WyabdcRealPeopleTTS.tar.bz2 http://ftp.ubuntu.org.cn] 下载後执行
+
到[http://ftp.ubuntu.org.cn/stardict.sourceforge.net/WyabdcRealPeopleTTS.tar.bz2 http://ftp.ubuntu.org.cn] 下载后执行
  
 
  sudo tar -xvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share
 
  sudo tar -xvf WyabdcRealPeopleTTS.tar.bz2 -C /usr/share
第32行: 第35行:
 
=== 安装OtdRealPeopleTTS(确保空闲空间&gt;3G) ===
 
=== 安装OtdRealPeopleTTS(确保空闲空间&gt;3G) ===
  
到[http://ftp.ubuntu.org.cn/home/dbzhang800/wiki/OtdRealPeopleTTS.tar.gz http://ftp.ubuntu.org.cn] 下载後手动安装
+
到[http://ftp.ubuntu.org.cn/home/dbzhang800/wiki/OtdRealPeopleTTS.tar.gz http://ftp.ubuntu.org.cn] 下载后手动安装
  
注意:需下载112.3M,安装後会消耗2.9G空间
+
注意:需下载112.3M,安装后会消耗2.9G空间
  
解压缩,然後执行
+
解压缩,然后执行
  
 
  sudo apt-get install python mpg321 #先安装python及mpg321
 
  sudo apt-get install python mpg321 #先安装python及mpg321
第43行: 第46行:
 
=== 发音设置(针对老板本stardict) ===
 
=== 发音设置(针对老板本stardict) ===
  
如果您安装的是 ubuntu/gnome, 那么只要安装真人发音包之後不需要任何设置,stardict 就可以发音了。
+
如果您安装的是 ubuntu/gnome, 那么只要安装真人发音包之后不需要任何设置,stardict 就可以发音了。
  
如果您确认安装的是 statdict'''-gtk''' ,并且安装了 sox , 那么无须任何设置就可以发音了, 不过依然推荐修改下让星际译王用 alsa , 启动stardict後,点击主界面<span style="background-color: rgb(255, 255, 255);">右下角按钮进入设置页面</span> -&gt; 词典 -&gt; 声音 -&gt; 在启用声音前打钩,并将play改为aplay。 改完後如下图所示
+
如果您确认安装的是 statdict'''-gtk''' ,并且安装了 sox , 那么无须任何设置就可以发音了, 不过依然推荐修改下让星际译王用 alsa , 启动stardict后,点击主界面<span style="background-color: rgb(255, 255, 255);">右下角按钮进入设置页面</span> -&gt; 词典 -&gt; 声音 -&gt; 在启用声音前打钩,并将play改为aplay。 改完后如下图所示
  
 
  http://paste.ubuntu.org.cn/i2472.png
 
  http://paste.ubuntu.org.cn/i2472.png

2007年11月29日 (四) 10:03的版本

注意:文中ftp.ubuntu站点的密码http://forum.ubuntu.org.cn/viewtopic.php?t=9685

安装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 查询单词的时候同时读音。以下两个可以任选其一


安装 WyabdcRealPeopleTTS

http://ftp.ubuntu.org.cn 下载后执行

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

安装OtdRealPeopleTTS(确保空闲空间>3G)

http://ftp.ubuntu.org.cn 下载后手动安装

注意:需下载112.3M,安装后会消耗2.9G空间

解压缩,然后执行

sudo apt-get install python mpg321 #先安装python及mpg321
./INSTALL #安装OtdRealPeopleTTS

发音设置(针对老板本stardict)

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

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

i2472.png