PDA

View Full Version : [SOLVED] Dictionary Off-line



gpdas
August 16th, 2010, 03:04 AM
I would like to install a good off-line dictionary like Oxford with phonetics. Any idea !!! I am using Ubuntu 10.04.

lykwydchykyn
August 16th, 2010, 04:57 AM
The way I do it is to install dictd server. Then you can choose from a number of dictionary modules to install to your dictd server -- you probably want WordNet or GCIDE (dict-wn and dict-gcide packages, respectively).

Once you do that, I can use any dict client like gdict and set it to use localhost.

gpdas
August 16th, 2010, 07:49 AM
Hi, Thanks for giving me some hints. I am new to Ubuntu. Please tell me the exact procedure/ Commands to install the off-line English to English dictionary.

lykwydchykyn
August 16th, 2010, 06:08 PM
- Open synaptic
- Install these packages: dictd, dict-wn, dict-gcide, gnome-utils
- Run "gnome-dictionary"
- Go to "edit->preferences"
- Click "add" to add a source
- Call it "My Dictionary" or something like that, then change the server from "dict.org" to "localhost"
- Click "add". Select "My Dictionary" as your default.

gpdas
August 25th, 2010, 01:38 PM
I run gnome-dictionary from terminal. One new window opens. There I set as per the description. But it shows error ' Unable to contact localhost:2628.

lykwydchykyn
August 25th, 2010, 02:40 PM
Can you tell me what these say:


ps -e |grep dict




sudo netstat -tnap |grep dict

gpdas
August 26th, 2010, 06:55 AM
1052 ? 00:00:00 dictd
1969 pts/0 00:00:00 gnome-dictionar


I ma getting these line when
ps -e | grep dict
is given.

lykwydchykyn
August 26th, 2010, 03:11 PM
That means dictd is running. The second command would tell you what port, so you can verify that your port setting is correct.

gpdas
January 14th, 2011, 03:36 AM
Hello, in my Ubuntu 10.04 I am not able to install off-line dictionary.The 2nd command i.e
sudo netstat -tnap}grep dict
gives no output. Pl help.

lykwydchykyn
January 14th, 2011, 03:13 PM
What do you get from


sudo apt-get install dictd

gpdas
January 15th, 2011, 02:37 AM
If i give
sudo apt-get install dictd
The following comes

dictd is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

lykwydchykyn
January 17th, 2011, 06:15 AM
So it's installed but not running. That means either it's not configured to run at boot, or it's crashing. What happens with this command:



sudo service dictd restart


Followed by this command


sudo grep dictd /var/log/syslog

gpdas
January 21st, 2011, 07:30 AM
Pl see the output of the two commands.

gpdas@gpdas-laptop:~$ sudo service dictd restart
[sudo] password for gpdas:
* Restarting dictionary server dictd [ OK ]
gpdas@gpdas-laptop:~$ sudo grep dictd /var/log/syslog
gpdas@gpdas-laptop:~$

gpdas
January 22nd, 2011, 07:53 AM
Finally I install Goldendict from Ubuntu Software center. Immediately my Off-line Dictionary started working. Thanks to the people who had taken interest in this.