Difference between revisions of "Sdcv"

From ArchWiki
Jump to navigation Jump to search
m (Deleted the dead link super scripts. None of the links were dead.)
(Define sdcv as a dictionary)
Line 1: Line 1:
 
[[Category:Dictionaries]]
 
[[Category:Dictionaries]]
{{Pkg|sdcv}} is the console version of the StarDict program that provides console access to dictionaries in StarDict's format
+
{{Pkg|sdcv}} is a command line dictionary. It provides access to dictionarsies in StarDict's format.
  
 
== Installation ==
 
== Installation ==

Revision as of 19:48, 8 March 2016

sdcv is a command line dictionary. It provides access to dictionarsies in StarDict's format.

Installation

sdcv is available from the official repositories

Usage

sdcv can be started from the command line:

sdcv

This gives you a 'shell-like' command-line from which you can query the database.

Adding dictionaries

There are various places on the web where you can download StarDict dictionaries. Here are some links to get you started:

Then you can extract the files into /usr/share/stardict/dic.

If you don't have root permissions, you can set the STARDICT_DATA_DIR environment variable. A good choice might be:

export STARDICT_DATA_DIR=$XDG_DATA_HOME

sdcv will look in the dic subdirectory so make sure that is created and place your dictionaries inside it

After that, you should be set

Tips

Alias sdcv

sdcv isn't a very good name for a terminal command you are likely to use a lot. A good name might be:

alias def="/usr/bin/sdcv"

See Also