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

Thread: Adding Dictionaries to StarDict

  1. #1
    Join Date
    Sep 2007
    Beans
    50

    Adding Dictionaries to StarDict

    After a lot of fooling around I finally got starDict to see additional dictionaries. I found it not to be intuitive, so I am doing this quick writeup.

    First thing I did was change the net dictionary preferences:

    1. I use a local one but you may prefer to just disable this under:
    - Goto preferences dialog in stardict (lower left most button on window)
    - Network -> Net Dict
    - unMark the enable network dictionaries option

    2. Download the dictionaries of your choice from:
    http://stardict.sourceforge.net/Dictionaries.php

    Just click on each link above until you find the dictionaries you need. The RPM versions I've found to be easiest to deal with once converted to deb packages (below).

    3a. If you downloaded RPM packages then run the following command from the terminal in the directory were you downloaded them:
    Code:
    alien -d *.rpm
    3b. If you downloaded the archives then:
    - extract the files, easiest is with file roller
    right click -> extract (a directory is created with the archive name)

    4. You need to then move the directories that will contain 3 files to
    /usr/share/stardict/dic/
    for example from the terminal
    Code:
    sudo mv dictDirectory/ /usr/share/stardict/dic/
    5. Once you've done adding all the directories, open stardict and goto:
    - Manage Dictionaries (next to preferences on the bottom left)
    - Manage Dictionaries -> Manage Dict
    - You will want to reorder the order that definitions are displayed here for Query Dict and Scan Dict. This will control definition search order.

    Hope this helps someone.

    - George
    Last edited by ugm6hr; January 31st, 2009 at 01:21 PM.

  2. #2
    Join Date
    Oct 2008
    Location
    New Dehi, India
    Beans
    119
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Adding Dictionaries to StarDict

    To make Stardict pronounce English words you may use WyabdcRealPeopleTTS package. Download it here:
    http://prdownloads.sourceforge.net/s...r.bz2?download

    In Linux, copy WyabdcRealPeopleTTS.tar.bz2 to your home folder, then give these commands:
    $ sudo cp WyabdcRealPeopleTTS.tar.bz2 /usr/share
    $ cd /usr/share
    $ sudo tar xjvf WyabdcRealPeopleTTS.tar.bz2

    If it doesn't pronounce, change 'play' to 'aplay':
    configuration, Dictionary/Sound/'Command for playing Wav files: aplay'
    Last edited by munishvit; March 6th, 2009 at 11:21 AM.
    Nature Thoughts & Symmetry

  3. #3
    MountainX's Avatar
    MountainX is offline Iced Blended Vanilla Crème Ubuntu
    Join Date
    Jan 2008
    Location
    A place with no mountains
    Beans
    1,610
    Distro
    Kubuntu

    Re: Adding Dictionaries to StarDict

    Quote Originally Posted by pigphish View Post
    After a lot of fooling around I finally got starDict to see additional dictionaries. I found it not to be intuitive, so I am doing this quick writeup.
    Thank you!

  4. #4
    Join Date
    Sep 2007
    Beans
    2

    Re: Adding Dictionaries to StarDict

    I have downloaded the oxford collocation dictionary, but the problem is that it works only if all the other dictionaries are disable. when I enable any of the other dictionaries, the oxford collocation dictionary cannot be seen in the main window. but other dictionaries work together properly.
    can anybody help me?

  5. #5
    Join Date
    Oct 2008
    Beans
    22

    Re: Adding Dictionaries to StarDict

    Hey guys!

    I've been using Stardict with local dictionaries for a year... but now after reinstalling the system, the programme will not work with the dictionaries unless started from the sudo.
    I tried to sudo nautilus and changed the privileges for myself to be able to read and write the files in /usr/share/stardict/dic, but this didn't work. so now the only way for me on my PC to start stardict with my local dictionaries - is to sudo stardict.

    I must be doing something wrong, but I can't get what exactly. could somebody help me with this?

  6. #6
    Join Date
    Jun 2009
    Location
    Cornwall UK
    Beans
    50
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Adding Dictionaries to StarDict

    Quote Originally Posted by pigphish View Post
    After a lot of fooling around I finally got starDict to see additional dictionaries. I found it not to be intuitive, so I am doing this quick writeup.

    First thing I did was change the net dictionary preferences:

    1. I use a local one but you may prefer to just disable this under:
    - Goto preferences dialog in stardict (lower left most button on window)
    - Network -> Net Dict
    - unMark the enable network dictionaries option

    2. Download the dictionaries of your choice from:
    http://stardict.sourceforge.net/Dictionaries.php

    Just click on each link above until you find the dictionaries you need. The RPM versions I've found to be easiest to deal with once converted to deb packages (below).

    3a. If you downloaded RPM packages then run the following command from the terminal in the directory were you downloaded them:
    Code:
    alien -d *.rpm
    3b. If you downloaded the archives then:
    - extract the files, easiest is with file roller
    right click -> extract (a directory is created with the archive name)

    4. You need to then move the directories that will contain 3 files to
    /usr/share/stardict/dic/
    for example from the terminal
    Code:
    sudo mv dictDirectory/ /usr/share/stardict/dic/
    5. Once you've done adding all the directories, open stardict and goto:
    - Manage Dictionaries (next to preferences on the bottom left)
    - Manage Dictionaries -> Manage Dict
    - You will want to reorder the order that definitions are displayed here for Query Dict and Scan Dict. This will control definition search order.

    Hope this helps someone.

    - George
    I am a newcomer to the excellent Ubuntu system. I need a little more help please. I have extracted the dictionary directory with its three files. How do I move these to usr/share/stardict/dic/ ? I presume that the directories have to be made first? If so how exactly?

  7. #7
    Join Date
    Dec 2009
    Beans
    2

    Re: Adding Dictionaries to StarDict

    Quote Originally Posted by Chough39 View Post
    I am a newcomer to the excellent Ubuntu system. I need a little more help please. I have extracted the dictionary directory with its three files. How do I move these to usr/share/stardict/dic/ ? I presume that the directories have to be made first? If so how exactly?
    No need to make directories.Follow these steps:
    1.run the command gksudo nautilus in terminal
    [aro$ gksudo nautilus]
    2. A window will open click on file system->usr->share->stardict
    ->dict
    3. paste all three folders( those extracted) in dict folder
    4. Once you've done adding all the directories, open stardict and goto:
    - Manage Dictionaries (next to preferences on the bottom left)
    - Manage Dictionaries -> Manage Dict
    - You will want to reorder the order that definitions are displayed here for Query Dict and Scan Dict. This will control definition search order.

  8. #8
    Join Date
    Mar 2010
    Beans
    2

    Re: Adding Dictionaries to StarDict

    First I want to say thanks to you all. I'm new to ubuntu and you've helped me install such amazing stardict. But I've got a problem using it. I don't know if you guys can help me out. I installed stardict and added many dictionaries to it successfully as you can see here.
    http://www.mediafire.com/imageview.p...ey=iiynnoniwgn
    The deal is I can't get a single word I want.Please help me out of this. Thanks in advance
    Last edited by longdooooo; March 12th, 2010 at 01:59 AM.

  9. #9
    Join Date
    Mar 2010
    Beans
    2

    Re: Adding Dictionaries to StarDict

    Sorry,but I don't mean to spam.I've known how to make it work after searching on many forums. Can you believe this! I just need to go to the terminal and type : sudo stardict. I don't know why it's so different? Can anyone tell me why it works perfectly when we run from the terminal instead of running from the menu Application>Accessory>stardict?
    And I have one more question.I don't know if this is the right place to ask but can anyone help me deal with the password? The thing is every time we use sudo, the terminal asks for password?Is there any way to make it automatically type it for us? I tried to make a file to run stardict like this:
    cat > runstardict.sh
    sudo stardict
    ^Z
    the file above can run stardict but the first time you run it since you logged in ubuntu you have to type the password. I want to run it without typing the password just like the one in the menu bar they give us.Any help would be appreciated. Thanks in advance

  10. #10
    Join Date
    Feb 2009
    Beans
    2

    Re: Adding Dictionaries to StarDict

    Thank you this really helped me to set up stardict for english russian. Excellent job!

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
  •