Xfce Forum

Sub domains
 

You are not logged in.

#1 2024-05-23 11:52:40

kay-z
Member
Registered: 2024-03-17
Posts: 6

Offline Dictionary not working

Hello,
I require a offline dictionary but can't seem to get it to work with xfce4-dict

What I have tried so far

I have installed dictd and dictd-server

-systemctl enable dictd
-systemctl start dictd
-changed dictionary server to "localhost"

The xFCE-dict gives errror : cannot connect to server

All online help I could find , tells me to install a dictionary like wordnet or dict-gcide, which are not available on fedora?
I do have hunspell-en-GM installed (not working)

Any advise on how to setup a offline dictionary(other applications / command line is also fine ) is much appreciated.

Thankyou

Offline

#2 2024-05-23 12:33:47

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Offline Dictionary not working

On Arch here. I installed dict-gcide, set the server to localhost and it works.

What does the following show:

systemctl status dictd

The gcide dictionary can be downloaded from: https://gcide.gnu.org.ua/download. It should be extracted to /usr/share/dictd. The two important files are:

/usr/share/dictd/gcide.dict.dz
/usr/share/dictd/gcide.index

Also make sure you add to /etc/dictd/dictd.conf the following:

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

Edit: More dictionary files available here.

Last edited by ToZ (2024-05-23 12:41:06)


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

#3 2024-05-23 13:52:33

kay-z
Member
Registered: 2024-03-17
Posts: 6

Re: Offline Dictionary not working

Thanks for the reply

The output for systemctl dictd status is

dictd.service - Dictd Dictionary Server Daemon
     Loaded: loaded (/usr/lib/systemd/system/dictd.service; enabled; preset: disabled)
    Drop-In: /usr/lib/systemd/system/service.d
             └─10-timeout-abort.conf
     Active: active (running) since Thu 2024-05-23 19:02:48 IST; 6min ago
    Process: 23488 ExecStart=/usr/sbin/dictd --listen-to 127.0.0.1 (code=exited, status=0/SUCCESS)
   Main PID: 23489 (dictd)
      Tasks: 1 (limit: 4368)
     Memory: 812.0K (peak: 1.8M)
        CPU: 7ms
     CGroup: /system.slice/dictd.service
             └─23489 "dictd 1.12.1: 1/1"

As for "two important files are:

/usr/share/dictd/gcide.dict.dz
/usr/share/dictd/gcide.index"

When I decompress the gcide dictionary downloaded from that source, it doesn't contain those two files

These are the files contained within.


abbrevn.lst
authors.lst
CIDE.A
CIDE.B
CIDE.C
CIDE.D
CIDE.E
CIDE.F
CIDE.G
CIDE.H
CIDE.I
CIDE.J
CIDE.K
CIDE.L
CIDE.M
CIDE.N
CIDE.O
CIDE.P
CIDE.Q
CIDE.R
CIDE.S
CIDE.T
CIDE.U
CIDE.V
CIDE.W
CIDE.X
CIDE.Y
CIDE.Z
COPYING
INFO
pronunc.png
pronunc.txt
README
symbols.png
tagset.txt
temp.txt
titlepage.png
webfont.txt

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.010 seconds, 7 queries executed - Memory usage: 527.87 KiB (Peak: 529.15 KiB) ]