How to make gnome-dictionary work offline
So, I guess I was wrong about gnome-dictionary, it can be configured to work offline
. All you have to do to make it work is, install the server packages, some dictionaries, a little tweaking in the configuration and there is your gnome-dictionary working in offline mode. It might not provide all the features of stardict but it does the job.
Lets start with the installation of the server packages and a dictionary package. Run the following commands to install them.
[shredder12]$ sudo apt-get install dictd dict-gcide
Dictd is the dictionary server and dict-gcide is the comprehensive free dictionary. I searched for some dictionaries in Fedora repos but couldn't find any, I hope you linuxers can help me out with this
. If you are looking for a thesaurus then you can install the dict-moby-thesaurus package in ubuntu.
[shredder12]$ sudo apt-get install dict-moby-thesaurus
Now, all you need to do is configure the dictd server to connect to localhost and not dict.org. Open the gnome-dictionary, go to Edit -> Preferences, add a new source and change the server to "127.0.0.1". It should look something like this.
Now, you will be easily able to use gnome-dictionary offline. If it doesn't work then try restarting the application or the server itself.
[shredder12]$ sudo service dictd restart
You can even try and change the order of the dictionaries in which the definitions will appear. You can do this by editing your /etc/dictd/dictd.order file.
[shredder12]$ sudo gedit /etc/dictd/dictd.order
and just change the order.
As you might have noticed, I was unable to find dictionaries in fedora. If you know some, do tell. I would love to add them in the article.








































2 Comments
Post new comment