Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: Howto: offline / local dictionary the easy way

  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,165
    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,165
    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
    May 2009
    Location
    Canada/India
    Beans
    79
    Distro
    Xubuntu

    Re: Howto: offline / local dictionary the easy way

    I concur joemun. Artha kicks ###.
    As human beings, our greatness lies not so much in being able to remake the world - that is the myth of the atomic age - as in being able to remake ourselves. - Mahatma Gandhi

  8. #8
    Join Date
    May 2009
    Location
    Massachusetts, USA
    Beans
    53
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Howto: offline / local dictionary the easy way

    I can't get this to work for me

    I followed the instructions to the letter: installed the dictd and dict-gcide packages via synaptic, opened Dictionary from the apps menu, added the new source with localhost in the hostname, made sure the new source was selected, and tried to look up a word, but every time I try, I get the error "Connection failed to the dictionary server at localhost:2628"...

    I'm a fairly recent convert from WinXP, and I'm not particularly Linux saavy, so I apologize if I'm making a stupid mistake and the solution is very obvious, but I'd appreciate any help you can give...

  9. #9
    Join Date
    May 2009
    Location
    Massachusetts, USA
    Beans
    53
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Howto: offline / local dictionary the easy way

    Help?

  10. #10
    Join Date
    Aug 2007
    Location
    India
    Beans
    Hidden!
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Howto: offline / local dictionary the easy way

    @Noobs*McGee:
    You can try this:
    http://ubuntuforums.org/showthread.php?t=1065384
    Last edited by legends2k; June 1st, 2009 at 01:04 PM. Reason: Typos
    Everyone has beauty but not everyone sees it.
    Artha ~ The Open Thesaurus

Page 1 of 3 123 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
  •