Quote:
Originally Posted by Geeky
Is there a way to prevent the firmware on overwriting the dictionaries upon syncing? At least that's the behaviour I encountered. Whenever the Kobo syncs, the custom dictionaries get replaced with the stock ones. Usually in a situation like this I'd go with a chattr or chflags command and set the files flag to immutable. Now I guess it won't be that easy on the Kobo. Anyone got a workaround for this problem?
|
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.
Quote:
Originally Posted by Geeky
Some dictionaries offer to edit the search term (i.e. the marked word/phrase), by taping the arrow in the upper left corner. Some don't allow this. Now obviously when I install custom dictionaries, I'd like to replace only "editable" ones. Or is there a way to change that behaviour, f.e. by editing the mysql database file?
|
I don't know a solution for this.