View Single Post
Old 07-03-2026, 08:06 AM   #3
kaspar
Connoisseur
kaspar began at the beginning.
 
Posts: 51
Karma: 10
Join Date: Dec 2024
Device: Kindle Scribe
Quote:
Originally Posted by kbarni View Post
Thanks, this looks great!

However I encountered some bugs:

- first, launch.sh (or the booklet) won't display abiword. It will run somewhere in the background (as I see the process) but no window is displayed. If I click the scriptlet again, it says Abiword is already running. When running from kterm, I get:
Code:
[abiword-launch] launching ./abiword on DISPLAY=:0
Aborted
[abiword-launch] abiword exited rc=134
The "Aborted" line appears about 1 minute after "launching"

- If I start directly ./abiword from kterm, I can see the window (without the toolbar button icons - but this is normal), it responds to touch events, but keypresses aren't registered - they go to kterm. (And the UI is very slow.)

I had other issues too, but first I think these should be addressed, so I'm sure it starts with the correct setup.

I'm testing on PW11 with firmware 5.18.5

Some other observations:
- Make the booklet cover 1.4:1 or 1.5:1 aspect ratio, to have the same size as the book covers (I prefer to use 320x480)
- I think it's an overkill to check the installation at every launch. You can just create a package with a "documents" folder containing the booklet and "kindle-abiword" containing the app (you can add the "extensions" folder for kual). The user just copies everything on the Kindle and it's installed.
Thanks for testing! I firmly believe the delay is caused by the massive icons folder in /mnt/us/kindle_abiword/share/fonts. Massive in number of individual files, not file size.

If you wait even longer, I am somewhat confident that the booklet will work eventually.

There was a tradeoff in making the payload a tar.gz for a fast initial transfer to the Kindle vs watching 2,442 items in that folder transfer over at a snail’s pace via USB (as I did many times). It takes forever. But the tradeoff isn’t great because that waiting still has to happen somewhere. This is the biggest problem to tackle right now. Perhaps only 10 icons are actually needed! Maybe less.

The booklet has a failsafe to not launch multiple instances of Abiword because in testing, waiting for this process to complete caused me to execute it several times before it could launch the first time. I think Abiword is also perhaps indexing the icons on first run.

Once that is solved, I completely agree that a more simplified launcher is appropriate.

Regarding icon ratio - I have to say I was rather amused that a square icon worked, and thought to myself that it differentiated between book and application. But I will fix it to follow the standard.

I will get it up on github soon if you'd like to collaborate.
kaspar is offline   Reply With Quote