View Single Post
Old 01-19-2011, 11:26 PM   #13
kranu
I <3 my Kindle
kranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensionskranu can understand the language of future parallel dimensions
 
Posts: 528
Karma: 51332
Join Date: Nov 2010
Location: United States
Device: Kindle 3G + WiFi
Quote:
Originally Posted by mobad View Post
While I won't claim to know how the Kindle judges what should be indexed and what has already been indexed, I have a feeling that a constantly updating file will probably trigger the indexer and would probably decrease your battery life.

A bit off topic but while looking for other interesting commands in the Kindle I found that arecord can record sound from the built in microphone (doesn't seem like anyone else has mentioned it.)

Just run "arecord -f dat test.wav" then "aplay -f dat test.wav" to try it out.

Anyway back on topic.
The method I'm going to use is text to speech as there are not any simple ways that I know of to display text on screen (One could use launchpad to do so possibly) and will need the launchpad program https://www.mobileread.com/forums/showthread.php?t=97636

Install launchpad then create a file called percent.ini in the launchpad folder containing:

[Actions]
;; run TTS Percent
Shift P = !/mnt/us/launchpad/scripts/percent.sh TTS_Percent &

Next create a file called percent.sh in launchpad/scripts containing:

#!/bin/sh
say "..........$(gasgauge-info -s)"

The periods are there to wake up the sound card but I don't know if they actually do anything.

Now just chmod +x percent.sh.

Now just hit "Shift Shift P" whenever you want to hear the percentage remaining.
Yay this works quite well! =)
kranu is offline   Reply With Quote