Thread
:
How to install dictionaries for QStarDict ?
View Single Post
zimon
2010-03-31 , 22:56
Posts: 1,341 | Thanked: 708 times | Joined on Feb 2010
#
35
@asasan
1) Start X Terminal program
2) give command: sudo gainroot
3) give command: apt-get install bzip2
4) give command: apt-get install mstardict
5) give command: exit
6) give command: cd
7) give command: mkdir .stardict
8) give command: mkdir -p /home/user/MyDocs/mstardict
9) give command: cd .stardict
10) give command: ln -s ../MyDocs/mstardict dic
11) give command: cd /home/user/MyDocs/mstardict
12) Now you have to know in what place you have downloaded the *.tar.bz2 dictionary files. Let's call that directory FOOBAR
13) give command: mv FOOBAR/*.tar.bz2 .
13.1) Or if you haven't downloaded any dictionaries yet, you can do it in the terminal also.
Let's say you want en-fr dictionary. You have gone to
http://xdxf.revdanica.com/down2/inde...info_limit=256
...and found there the link to the last of the files.
13.2) give command: wget
http://downloads.sourceforge.net/xdx...-2.4.2.tar.bz2
14) give command: bzip2 -d *.tar.bz2
15) give command: ls
16) Now for each of the *.tar files do 17
17) give command: tar xf somedictionaryfile.tar
18) In the end, after you have extracted all the files from TAR-archives, you can remove the tar-files by giving command: rm *.tar
19) give command: exit
20) Both QstarDict and mstardict should now find your dictionaries.
If any of the above steps fails, reply here with the whole error message what it gives. BE carefull to get all spaces and dots (.) right in above commands.
BTW, I agree with you, it SHOULD be alot easier if these kind of applications ever get promoted to normal repositories and not just -testing, -devel ones.
A TIP:
When in Terminal, you can make the program guess what do you mean by hitting TAB-button (it is a virtual button on the screen)
Lets say you want to give command:
tar xf stardict-comn_sdict_axm05_English_French-2.4.2.tar.bz2
You can just type: tar xf star
...and then hit TAB-button. If there is only one filename starting with "star", it will complete the whole string. If there is many, it won't give anything. But now if you hit TAB twice, it will give a list of filenames starting with "star". Add just few letters to make the difference, and hit TAB again so now it can complete because there is no contradictions in the hint.
Easy also to surf inside the file hierarchy, just give hints and TAB once or if nothing happens TAB twice. Try with ls and cd commands.
Last edited by zimon; 2010-03-31 at
23:34
. Reason: wget thing, ash/bash trick
Quote & Reply
|
The Following User Says Thank You to zimon For This Useful Post:
rebhana
zimon
View Public Profile
Send a private message to zimon
Find all posts by zimon