Quote:
Originally Posted by tshering
I don't know how to prevent that the dictionaries get replaced, but this is how I deal with it.
I have a directory /mnt/onboard/customdict/ that contains my custom dictionaries, and this script
Code:
#!/bin/sh
DICTPATH="/mnt/onboard/.kobo/dict/"
CUSTOMDICTPATH="/mnt/onboard/customdict/"
for f in $CUSTOMDICTPATH*.zip; do
if [ ! -e "$DICTPATH$(basename "$f")" ]; then
cp "$f" "$DICTPATH"
elif [ $(stat -c%s $f) -ne $(stat -c%s $DICTPATH$(basename "$f")) ]; then
cp "$f" "$DICTPATH"
fi
done
Previously, I used to start this script from rcS with every power circle. Since the introduction of kobo launcher, I use this application for starting it.
I don't know a solution for this.
|
hi
how can I exactly use this method ?
is this the way ?
unzip koboroot.gz in windows go to etc\init.d edit rcS by notepad++ and add the code there
build a folder "customdict" on kobo and
zip it again and transfer to .kobo ?