View Single Post
Old 02-22-2015, 08:12 AM   #142
barobach_so
Connoisseur
barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.barobach_so knows what's going on.
 
Posts: 76
Karma: 25460
Join Date: Feb 2015
Device: kobo h2o
Quote:
Originally Posted by tshering View Post
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 ?
barobach_so is offline   Reply With Quote