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

Jonathan B. (not verified)
March 7th, 2010 01:16 am
Thank you for that! I am donating a computer with Ubuntu Linux on it to someone who doesn't have Internet.
ewen (not verified)
March 28th, 2010 04:06 am
GoldenDict may be a much better option. You can download nearly innumerable dictionaries for it and it runs from the tray. Highlight a word anywhere and hit the special key and the word is defined for you. Or just open the program and type in your word.

Post new comment

  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <img> <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd> <blockquote> <h1> <h2> <h3> <h4> <h5> <h6> <p> <br>
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.
  • Use syntax $$latex$$ to insert LaTeX formulas.
  • Image links with 'rel="lightbox"' in the <a> tag will appear in a Lightbox when clicked on.
  • Search Engines will index and follow ONLY links to allowed domains.

More information about formatting options

Type the characters you see in this picture. (verify using audio)
Type the characters you see in the picture above; if you can't read them, submit the form and a new image will be generated. Not case sensitive.