This is a striped down version of a personal project.
I use it as a dashboard (it can easily be modified to be so thanks to pillow(python), but I'm releasing this for a more popular use case.
How it works:
There are three distinct kindle states that this app distinguishes
- Screensaver layer is ON & Screen power is OFF = Screensaver
- Screensaver layer is ON & Screen power is ON = Lock screen
- Screensaver layer is OFF & Screen power is ON = Active use
It takes advantage of the 2nd state, a state that doesn't automatically freeze or close the app, and displays a composite images to the screen at set intervals. This will continue indefinitely, until you switch to another state or the battery dies.
The script in the "extensions/screengen" folder restarts it if it somehow closes, and opens it after reboot.
There's really not much to say about it... you can add your own modules/data to the display using pillow.
Requirements:- Jailbreak
- Python 3
- KUAL
- Linkss(recommended)
Install and Start:- Copy paste to root directory or "/mnt/us"
- Run through KUAL
- Go to screensaver then lock screen
Update:- Overwrite the python(.py) files in "screengen" folder
Configure:- Go to screengen folder or "/mnt/us/screengen"
- Edit config.py
- Under "# Settings" you have several options for configuration
- Alter task_one_timer to change image cycle frequency
- Alter task_two_timer to change data and screen refresh frequency
- Remember to add images with descriptive names to the "photos" folder
Note:
The program itself seems stable enough for release, but I'm still on the process of making the code look cleaner, and making it easier to add modules.
You may have to disable this on KUAL and Reboot to disable, this is easy to patch up in code but...
Special Credits:- Jailbreak Community - I'm not sure who specifically to credit for this, but without it, this wouldn't be viable in the first place
- NiLuJe - For building the tools necessary to run this Python, fbink, and linkss
- Peterson - For the Online Screensaver whose SH code I borrowed and which served as as an inspiration for this project