ubuntu9.10自带字典(Dictionary 2.28.1)配置本地词库

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

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 packages dictddict-gcide, and dict-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-thesaurus is 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.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
Linux 大全; 按照A~Z区分; A a−Linux a−Linux is an x86 floppy−based mini−distribution, where assembly code meets Linux kernel. It contains only programs written in assembly language. It is extemely small, yet functional, and provides HTTP and FTP services out−of−the−box. Initial version 0.17 was released August 17, 2002. A floppy−based distribution. From LWN Distribution List http://www.tldp.org/LDP/Linux−Dictionary/html/index.html a2p Awk to Perl translator From whatis http://www.tldp.org/LDP/Linux−Dictionary/html/index.html a2ps GNU a2ps 'Anything to PostScript' converter and pretty−printer a2ps converts files into PostScript for printing or viewing. It uses a nice default format, usually two pages on each physical page, borders surrounding pages, headers with useful information (page number, printing date, file name or supplied header), line numbering, symbol substitution as well as pretty printing for a wide range of programming languages. Historically, a2ps started as a text to PostScript converter, but thanks to powerful delegations it is able to let you use it for any kind of files, ie it can also digest manual pages, dvi files, texinfo, .... Among the other most noticeable features of a2ps are: − various encodings (all the Latins and others), − various fonts (automatic font down loading), − various medias, − various printer interfaces, − various output styles, − various programming languages, − various helping applications, − and various spoken languages. From Debian 3.0r0 APT http://www.tldp.org/LDP/Linux−Dictionary/html/index.html a2ps The a2ps filter converts text and other types of files to PostScript format. A2ps has pretty−printing capabilities and includes support for a wide number of programming languages, encodings (ISO Latins, Cyrillic, etc.), and media. From Redhat 8.0 RPM http://www.tldp.org/LDP/Linux−Dictionary/html/index.html a52dec Utilities to extract and decode ATCS A/52 streams Utilities to extract and decode ATCS A/52 streams. The A/52 standard is used in a variety of applications, including digital television and DVD. It is also known as AC−3. From Debian 3.0r0 APT http://www.tldp.org/LDP/Linux−Dictionary/html/index.html AA Auto Answer (MODEM) From VERA http://www.tldp.org/LDP/Linux−Dictionary/html/index.html aa3d An ASCII art stereogram generator This program generates the well known and popular random dot stereograms in ASCII art. From Debian 3.0r0 APT http://www.tldp.org/LDP/Linux−Dictionary/html/index.html AAA Authentication, Authorization and Accounting From VERA http://www.tldp.org/LDP/Linux−Dictionary/html/index.html AAC Advanced Audio Coding (IIS, MPEG) From VERA http://www.tldp.org/LDP/Linux−Dictionary/html/index.html AAC Authorization and Access Control (IETF) From VERA http://www.tldp.org/LDP/Linux−Dictionary/html/index.html AAD Authorized AutoCAD Dealer (AutoCAD, CAD) From VERA http://www.tldp.org/LDP/Linux−Dictionary/html/index.html A

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值