From: Jose Rodriguez on
On Tue, 17 Jun 2008 11:18:01 +0200
Johann Spies <jspies(a)sun.ac.za> wrote:

> I have the following in /etc/dictd/dict.conf:
>
> server localhost
> server dict.org
> server dict0.us.dict.org
> server alt0.dict.org

I have the same only that I commented everything but localhost--I
always work offline--although having them all present doesn't cause
any problem, dictd tries localhost first and the others afterwards.

On top of that, I think you have to tell dict where the files to be
looked up are. So, after installing the dict files you want,
you point at them in /etc/dictd/dictd.conf. This is what
my dictd.conf looks like:

access {
allow localhost
allow 127.0.0.1
# this allows access only from local host
}

# Database section here:

database thesaurus {data "/usr/share/dictd/moby-thesaurus.dict.dz"
index "/usr/share/dictd/moby-thesaurus.index"}

database elements {data "/usr/share/dictd/elements.dict.dz"
index "/usr/share/dictd/elements.index"}

database foldoc {data "/usr/share/dictd/foldoc.dict.dz"
index "/usr/share/dictd/foldoc.index"}

database freedict-eng-ita{data"/usr/share/dictd/freedict-eng-ita.dict.dz"
index "/usr/share/dictd/freedict-eng-ita.index"}

database freedict-eng-spa{data"/usr/share/dictd/freedict-eng-spa.dict.dz"
index "/usr/share/dictd/freedict-eng-spa.index"}

database freedict-eng-lat {data"/usr/share/dictd/freedict-eng-lat.dict.dz"
index "/usr/share/dictd/freedict-eng-lat.index"}

database gcide {data "/usr/share/dictd/gcide.dict.dz"
index "/usr/share/dictd/gcide.index"}

#include /var/lib/dictd/db.list


When you're done you have to restart dictd (/etc/init.d/dictd
restart).

> > It appears to me that the user interface of Dictionary 2.14.0
> > is in need of repair.

You may want to file a bug if it works after manually changing
the configuration file. This is the sort of things that people
get quite annoyed at.



--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Russell L. Harris on
I have complied with all the recommendations posted in this thread
thus far, but Dictionary 2.14.0 still is going out to the web
(dict.org ?) for definitions. I know that this is so, because my DSL
service went out a night or two ago, and I could not retrieve
definitions.

Is there a reliable "offline dictionary howto" which has a
comprehensive list of everything which needs to be installed and
configured?

RLH


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Ron Johnson on
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 06/20/08 20:13, Russell L. Harris wrote:
> I have complied with all the recommendations posted in this thread
> thus far, but Dictionary 2.14.0 still is going out to the web
> (dict.org ?) for definitions. I know that this is so, because my DSL
> service went out a night or two ago, and I could not retrieve
> definitions.
>
> Is there a reliable "offline dictionary howto" which has a
> comprehensive list of everything which needs to be installed and
> configured?

I only have this access list in my /etc/dictd/dictd.conf :
access {
allow localhost
allow 127.0.0.1
# this allows access only from local host
}

In GNOME Dictionary Preferences, what dict server is it looking at?

- --
Ron Johnson, Jr.
Jefferson LA USA

"Kittens give Morbo gas. In lighter news, the city of New New
York is doomed."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkhcXFYACgkQS9HxQb37XmcSUgCeKqQdGQUQepUN8SPpxKfZUQjZ
e80AoIa1gWu9vNdz8cNcHIO86LnGEwbg
=mrO1
-----END PGP SIGNATURE-----


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
From: Russell L. Harris on
* Ron Johnson <ron.l.johnson(a)cox.net> [080620 20:49]:
> In GNOME Dictionary Preferences, what dict server is it looking at?

edit -> preferences -> source = localhost

But no specifics are displayed. The only way I have found to view or
add details is to click the "+add" button, whereupon the "add
dictionary source" dialogue box opens, with all the fields blank.

But now and then I manage to find the right combination of clicks in
the dialogue box, whereupon parameters appear in the fields. The
behaviour is inconsistent.

I think that the package is broken.

RLH


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org