Share StarDict dictionary files between Windows and Linux

Source: Internet
Author: User
Article Title: Share the StarDict dictionary file between Windows and Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.

StarDict (http://stardict.sourceforge.net/download.php) is a very good free dictionary, its main body is actually a dictionary engine. But because there are a lot of enthusiastic people, they have contributed a lot of dictionary files (http://stardict.sourceforge.net/Dictionaries_zh_CN.php), making this free dictionary become very huge, there are a lot of content you can not think.
 
Back to the topic of this article, because StarDict has Windows and Linux versions (and more versions adapted to different operating system platforms), and their dictionary files are the same, therefore, if you have installed Windows and Linux on your computer, just one dictionary file is enough. The procedure is as follows:

Install corresponding StarDict versions on Windows and Linux, download the StarDict dictionary files from the Internet, and decompress these files to the Dic directory under the StarDict installation directory of Windows. For example, the Chinese and English longways dictionary installed on my machine is located:

D: \ Program Files \ StarDict \ dic \ stardict-langdao-ce-gb-2.4.2

There should be such (or similar) files.
Langdao-ce-gb.dict.dz
Langdao-ce-gb.idx
Langdao-ce-gb.idx.oft
Langdao-ce-gb.ifo

After installing the Windows program, go back to your Linux and find the installation directory of your StarDict dictionary. Here I will take my machine as an example, if your machine also installs StarDict from the Ubuntu source, the dictionary file will be placed in:

/Usr/share/stardict/dic

After confirming the location, run the following statement (modify the installation directory based on your machine)

Ln-s "/media/wind/Program Files/StarDict/dic/stardict-langdao-ce-gb-2.4.2"/usr/share/stardict/dic/stardict-langdao-ce-gb-2.4.2"

(Note:/media/wind is my Linux Windows D: disk mount point .)

In this way, you can establish a soft connection to the directory under Windows in/usr/share/stardict/dic. Through this soft connection, StarDict in Linux can find the desired dictionary file.

However, if you put the dictionary file in linux, there is no way for StarDict in Windows to obtain a shared dictionary.

Cause: first, there is no perfect solution to read Ext2/Ext3 in Windows.

Second, there is no soft connection function in Linux/Unix in Windows.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.