Page 1 of 2 12 LastLast
Results 1 to 10 of 25

Thread: Howto: offline / local dictionary the easy way

Hybrid View

  1. #1
    Join Date
    May 2007
    Location
    Brooklyn, NY
    Beans
    193
    Distro
    Ubuntu 11.04 Natty Narwhal

    Howto: offline / local dictionary the easy way

    I searched all over to find an offline dictionary solution to meet my needs, since I'm often in need of a dictionary and thesaurus I can use offline. Having not found an adequate solution in OpenDict (its dictionaries are only for foreign languages like Latvian and its website is inundated with spam), Stardict (it's bloated, written in bad English, and generally annoying to use) or other programs, and not always having access to the internet whenever I need a dictionary, I figured out how to set up a local DICT server and thereby use the Dictionary program that's already included with Ubuntu to access locally stored dictionaries. It's not all that difficult, it turns out.

    First, install DictD:

    Code:
    sudo apt-get install dictd
    this installs a DICT server. now you can install whatever dictionaries you want. Dictionaries are in the repos, here's a list I found using a package search:

    http://packages.ubuntu.com/search?su...&keywords=dict

    so to install a thesaurus, for example, use
    Code:
    sudo apt-get install dict-moby-thesaurus
    Now to configure Dictionary, open the Dictionary program (in <Hardy it's in Accessories, in Intrepid it's under Office), go into Edit -> Preferences, click on "Add" to add a source, then under "Description" give it a name like "Local Dictionaries," under "hostname" type "localhost" [EDIT: In Jaunty and later you might try putting "127.0.0.1" (without the quotes) instead; see below] and leave the port number the same. Now click "add" and now whenever you're offline you can choose "Local Dictionaries" from "Dictionary Sources" and access your dictionaries offline!
    Last edited by jon.reeve; June 28th, 2009 at 07:25 PM. Reason: updated for jaunty
    MSI x350 / Ubuntu Natty 11.04 (64 bit)
    Poems at---------------jonreeve.com---------------

  2. #2
    Join Date
    Nov 2006
    Location
    Arizona bush
    Beans
    Hidden!
    Distro
    Kubuntu 11.04 Natty Narwhal

    Re: Howto: offline / local dictionary the easy way

    Thanks! I just spent an hour trying to edit my config files which was rather confusing since the setup was nothing like the old way. Dah ... so simple!

  3. #3
    Join Date
    May 2009
    Beans
    1

    Re: Howto: offline / local dictionary the easy way

    Thanks, you just saved me so much trouble...

    *kudos*

  4. #4
    Join Date
    Sep 2006
    Beans
    3,170
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Howto: offline / local dictionary the easy way

    Thanks

  5. #5
    Join Date
    Jun 2006
    Location
    Venezuela/Caracas
    Beans
    13
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Howto: offline / local dictionary the easy way

    Artha is a dictionary like wordweb on windows, for linux download de deb packages and just double click.IMHO it is the best dictionary for linux so far.
    http://artha.sourceforge.net.

  6. #6
    Join Date
    Sep 2006
    Beans
    3,170
    Distro
    Ubuntu Karmic Koala (testing)

    Re: Howto: offline / local dictionary the easy way

    Quote Originally Posted by joemun View Post
    Artha is a dictionary like wordweb on windows, for linux download de deb packages and just double click.IMHO it is the best dictionary for linux so far.
    http://artha.sourceforge.net.
    It depends on tcl tk which just suck :/

  7. #7
    Join Date
    Sep 2009
    Beans
    167

    Re: Howto: offline / local dictionary the easy way

    Quote Originally Posted by jon.reeve View Post

    Code:
    sudo apt-get install dict-moby-thesaurus
    Now to configure Dictionary, open the Dictionary program (in <Hardy it's in Accessories, in Intrepid it's under Office), go into Edit -> Preferences, click on "Add" to add a source, then under "Description" give it a name like "Local Dictionaries," under "hostname" type "localhost" [EDIT: In Jaunty and later you might try putting "127.0.0.1" (without the quotes) instead; see below] and leave the port number the same. Now click "add" and now whenever you're offline you can choose "Local Dictionaries" from "Dictionary Sources" and access your dictionaries offline!
    OK; thanks, but this does not explain if we want to have 2 or more dictionaries.It seems that there is no way to install more than one and let the program know which one to select...

  8. #8
    Join Date
    May 2007
    Location
    Brooklyn, NY
    Beans
    193
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Howto: offline / local dictionary the easy way

    Quote Originally Posted by sopadeajo View Post
    OK; thanks, but this does not explain if we want to have 2 or more dictionaries.It seems that there is no way to install more than one and let the program know which one to select...
    What problems are you having with installing more than one dictionary? For me, it's as simple as installing more dictionary packages. For example, I installed the Collaborative English Dictionary, a French-English dictionary and an English-French dictionary this way:

    Code:
    sudo apt-get install dict-gcide dict-freedict-fra-eng dict-freedict-eng-fra
    And I can install as many as I want. Now the Dictionary application lists several dictionaries under "available dictionaries."
    MSI x350 / Ubuntu Natty 11.04 (64 bit)
    Poems at---------------jonreeve.com---------------

  9. #9
    Join Date
    Jun 2009
    Beans
    32

    Re: Howto: offline / local dictionary the easy way

    Hello. I want to install a greek-english dictionary but there is no such thing in the repos. Is it posible to find it from another source and install it under ubuntu or should it be already prepared in some sort of way. Cheers

  10. #10
    Join Date
    Feb 2010
    Beans
    3

    Re: Howto: offline / local dictionary the easy way

    sudo apt-get install dict-gcide dict-freedict-fra-eng dict-freedict-eng-fra

    I already update but I cannot find the application

    Can you help me, please?

    Last edited by sitthykun; June 24th, 2010 at 07:02 AM. Reason: I forgot reference command

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •