Hi all,
Lately I've been reading a really long book and I found the percentage read field really distracting because, in the back of my head, I would count the number of page turns it took for the percent to increment and start doing math instead of reading. ANYWAY, I tried the progress bar remover hack for some reason it didn't work so well for me, and I realized that I don't mind the progress bar, just the percent. I made a really gross hack to remove it and I thought I share it so other people can use it. Also, if you have suggestions for improvements, that would be greatly appreciated.
What I did:
1) Made a folder called "percrem" in /mnt/us/
2) In that folder, made percrem.sh. That's the script that does the work. Mind the permissions. It's nice to put the script there so you can tweak it from the mounted kindle instead of ssh-ing in and traversing the filesystem.
3) created /etc/init.d/percrem. Here's the code I used:
4) Symbolically linked the init.d entry to rc5.d/ directory
ln -s /etc/init.d/percrem /etc/rc5.d/S97percrem
5) Restarted (init 6)
==
I find the it works great for me. What it does is constantly write whitespace to that area. Unfortunately it does this all the time, not just while you a reading a book. If you want the script to wait unit the kindle is done starting up, you can add "usleep 60000000" to the script in /mnt/us/percrem. The refresh speed hasn't really been an issue for me, but I'd always like to make it faster :)
Anyway, if the percentage read is something that bothers you, you may want to try this hack, especially as I improve it. As always, ideas for improvements are very welcome!
Lately I've been reading a really long book and I found the percentage read field really distracting because, in the back of my head, I would count the number of page turns it took for the percent to increment and start doing math instead of reading. ANYWAY, I tried the progress bar remover hack for some reason it didn't work so well for me, and I realized that I don't mind the progress bar, just the percent. I made a really gross hack to remove it and I thought I share it so other people can use it. Also, if you have suggestions for improvements, that would be greatly appreciated.
What I did:
1) Made a folder called "percrem" in /mnt/us/
2) In that folder, made percrem.sh. That's the script that does the work. Mind the permissions. It's nice to put the script there so you can tweak it from the mounted kindle instead of ssh-ing in and traversing the filesystem.
Code:
#!/bin/sh
while :; do
# write whitespace directly over the percent
eips 0 38 " "
# sleep for a tenth of a second
usleep 100000
done
Code:
#!/bin/sh
# /etc/init.d/percrem
case "$1" in
start)
echo "Starting progrem"
/mnt/us/percrem/percrem.sh &
;;
stop)
echo "Stopping progrem"
killall percrem.sh
;;
*)
echo "Usage: /etc/init.d/percrem {start|stop}"
exit 1
;;
esac
exit 0
ln -s /etc/init.d/percrem /etc/rc5.d/S97percrem
5) Restarted (init 6)
==
I find the it works great for me. What it does is constantly write whitespace to that area. Unfortunately it does this all the time, not just while you a reading a book. If you want the script to wait unit the kindle is done starting up, you can add "usleep 60000000" to the script in /mnt/us/percrem. The refresh speed hasn't really been an issue for me, but I'd always like to make it faster :)
Anyway, if the percentage read is something that bothers you, you may want to try this hack, especially as I improve it. As always, ideas for improvements are very welcome!