View Single Post
Old 04-16-2012, 01:15 PM   #245
dpavlin
Connoisseur
dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.dpavlin can really shake a tail feather.
 
dpavlin's Avatar
 
Posts: 61
Karma: 116628
Join Date: May 2011
Location: Zagreb, Croatia
Device: Kindle K3G and DXG
Shutdown Amazon framework before reader and restart it afterwards

Quote:
Originally Posted by reprep View Post
how should i edit the launchpad file to shutdown the kindle framework before the reader starts?
Good question!

In launchpad/kpdf.sh add stop and start calls around ./reader.lua like:

Code:
/etc/init.d/framework stop
./reader.lua "$1" # ... more test here
/etc/init.d/framework start
I'm not sure, but this might stop screen saver from working while we are in reader. You might want to comment out killall and final echo as well.

Alternative would be to copy exists kpdf.sh to kpdf-no-framework.sh and then add new keyboard shortcut to launchpad/kpdf.ini

Last edited by dpavlin; 04-16-2012 at 01:17 PM. Reason: Suggested additional keyboard shortcut
dpavlin is offline   Reply With Quote