Closed ghost closed 6 years ago
Is it possible to change the location of $HOME/.stardict to something else like, for example $HOME/.local/.stardict` ? I tried setting the STARDICT_DATA_DIR, but that did not change the fact that sdcv created the .stardict dir (empty) on every run.
You can look at man sdcv
. There are two type of directories where sdcv
search dictionaries,
system's directotires (like /usr/share/stardict/dic
) and user's directories (~/.stardict/dic
).
All options (STARDICT_DATA_DIR
and --data-dir=
) are used for changing path to system's directories, not path to user's dictionaries.
If you do not use system's dictories, you can run sdcv
like this:
sdcv -x --data-dir=$HOME/.local/stardict
Or use symlinks
I did try the command you shared, and it still created an empty ~/.stardict
folder! All i'm looking for is to not have such a dir created!
I did try the command you shared, and it still created an empty ~/.stardict folder! All i'm >looking for is to not have such a dir created!
$HOME/.stardict
creation is not optional, but you can always set HOME
variable to what you want:
HOME=$HOME/.local sdcv
after that you find that $HOME/.local/.stardict
exists, but no $HOME/.stardict
Thx, this solved the problem for me!
Is it possible to change the location of
$HOME/.stardict
to something else like, for example $HOME/.local/.stardict` ?I tried setting the
STARDICT_DATA_DIR
, but that did not change the fact thatsdcv
created the.stardict
dir (empty) on every run.