I tried an idea: I would like to use a launchpad key command to modify reader.pref and restart the framework after a mistaken modification by Aa menu. I.E. the modifications changed back by Aa menu are the lines
Code:
FONT_FAMILY=
HORIZONTAL_MARGIN=
In launchpad folder I put the readerpref.sh file with the following contents:
Code:
#!/bin/sh
sed -i "s/FONT_FAMILY=.*/FONT_FAMILY=alt/" /mnt/us/system/com.amazon.ebook.booklet.reader/reader.pref
sed -i "s/HORIZONTAL_MARGIN=.*/HORIZONTAL_MARGIN=15/" /mnt/us/system/com.amazon.ebook.booklet.reader/reader.pref
/etc/init.d/framework restart &
In a personal launchpad ini file I put the lines
Code:
;; edit reader.pref
R P = !/mnt/us/launchpad/readerpref.sh
After this you need to restart launchpad and all is OK. Do not forget: the readerpref.sh file has to have Unix EOLs or it will not work.
My only issue is that framework restart actually restarts the whole kindle, not only the framework, as it should.