Quote:
Originally Posted by datanoise
Hi.
My question is: what would be the easier (and cleanest!) way to launch a command each time koreader is started or (even better) is there already a way to easily have koreader change the system poweroff screensaver?
|
The easiest is not the cleanest. Both would require a PB to tinker with and some free time.
The cleanest (I dunno if this is possible on Pocketbook): figure out a way to stop the framework (aka inkview) to react to both input events (power key and magnetic cover) and figure out a way to tell inkview to go to sleep. If you find a way to do both you can repurpose all screensaver logic and it will behave as it does on kobos.
The easiest way would be a plugin that generates a cover for each new book opened. You could repurpose part of screensaver logic but need to do a few things yourself, namely:
- add logic to skip books without covers (a fallback image?)
- check if the image was written to disk
- check for FW incompatibilities and do nothing if the FW has other ways to write the screensaver.
- ...