http://forum.ubuntu.org.cn/viewtopic.php?f=35&t=243955&start=0
用ubuntu没有个字典很不方便,看到系统有自带的就不想试什么星际译王了,在网上找了下,方法如下:
首先安装词库:(那个各户断和服务器端不知道是不是必要的,我因为刚开始是用不了所以就都装了)
sudo apt-get install dict 客户端 (完后修改/etc/dictd/dict.conf来控制只从本地读字典,注释掉后面的服务器地址)
sudo apt-get install dictd 服务器端
sudo apt-get install dict-xdict dict-stardic 这两个是英汉字典的数据文件,翻译结果差不多。
sudo apt-get install dict-gcide 这个15M多的英文字典翻译结果很全,推荐安装。
然后“编辑”-“首选项”-“添加”,主机名添“127.0.0.1 ”,端口不变(2628),描述随便填个,其中的主机名网上很多都是填“localhost”,但是不能用,看了下外国朋友的网页,说是新版有个错误问题要填127.0.0.1替代localhost才可以。外文链接http://ubuntuforums.org/showthread.php?t=145949
首先安装词库:(那个各户断和服务器端不知道是不是必要的,我因为刚开始是用不了所以就都装了)
sudo apt-get install dict 客户端 (完后修改/etc/dictd/dict.conf来控制只从本地读字典,注释掉后面的服务器地址)
sudo apt-get install dictd 服务器端
sudo apt-get install dict-xdict dict-stardic 这两个是英汉字典的数据文件,翻译结果差不多。
sudo apt-get install dict-gcide 这个15M多的英文字典翻译结果很全,推荐安装。
然后“编辑”-“首选项”-“添加”,主机名添“127.0.0.1 ”,端口不变(2628),描述随便填个,其中的主机名网上很多都是填“localhost”,但是不能用,看了下外国朋友的网页,说是新版有个错误问题要填127.0.0.1替代localhost才可以。外文链接http://ubuntuforums.org/showthread.php?t=145949
HOWTO: use gnome-dictionary offline (& faster)
As a teacher, I find that gnome-dictionary and its applet are useful tools. But at first it was much too slow and required Internet access. Here are steps to install a database of definitions on your system so that gnome-dictionary works much faster and without Internet access.
1. Install the packagesdictd,dict-gcide, anddict-wn.
-- dictd is the dictionary database "server" of sorts
-- dict-gcide is a comprehensive free English dictionary
-- dict-wn is another dictionary with more up-to-date definitions, but it is not comprehensive
2. Install other dictionary packages you might want
-- Look in Synaptic at the many packages under dict-and read their descriptions. If you want to download all the dictionaries, you can just get the metapackage dict-freedict. I avoided this option because I did not want to clutter my definition screen or to wait while the program searched all these extra dictionaries I'd rarely (if ever) use.
-- dict-moby-thesaurusis available if you want a thesaurus, too.
3. Change the preferences in gnome-dictionary.
-- Applications > Dictionary opens gnome-dictionary
-- Edit > Preferences
-- change server to localhost
-- change the Database to "search all databases"
4. work in progress: Change the order in which definitions appear
-- The file /etc/dictd/dictd.order apparently controls the order in which definitions are searched, the order in which they appear, or maybe both. I want the up-to-date definition (from wn) to be listed first when they are available, so I changed my order to "wn gcide web1913..." It does not appear to have made any difference -- the old-fashioned definition still appears first.
1. Install the packagesdictd,dict-gcide, anddict-wn.
-- dictd is the dictionary database "server" of sorts
-- dict-gcide is a comprehensive free English dictionary
-- dict-wn is another dictionary with more up-to-date definitions, but it is not comprehensive
2. Install other dictionary packages you might want
-- Look in Synaptic at the many packages under dict-and read their descriptions. If you want to download all the dictionaries, you can just get the metapackage dict-freedict. I avoided this option because I did not want to clutter my definition screen or to wait while the program searched all these extra dictionaries I'd rarely (if ever) use.
-- dict-moby-thesaurusis available if you want a thesaurus, too.
3. Change the preferences in gnome-dictionary.
-- Applications > Dictionary opens gnome-dictionary
-- Edit > Preferences
-- change server to localhost
-- change the Database to "search all databases"
4. work in progress: Change the order in which definitions appear
-- The file /etc/dictd/dictd.order apparently controls the order in which definitions are searched, the order in which they appear, or maybe both. I want the up-to-date definition (from wn) to be listed first when they are available, so I changed my order to "wn gcide web1913..." It does not appear to have made any difference -- the old-fashioned definition still appears first.