This is based on
https://shkspr.mobi/blog/2023/01/how...atpak-wayland/
I thought I'd document the steps required to succesfully run the flatpack version of calibre 7.x on a ChromeBook.
Ensure ChromeOS linux environment up to date
- sudo apt update
- sudo apt upgrade
Install flatpak
Add standard flatpak repository
Shutdown and restart Linux environment
Install calibre
- flatpak install com.calibre_ebook.calibre
Launch calibre
- flatpak run com.calibre_ebook.calibre
As expected calibre dies with message
- The Wayland connection broke. Did the Wayland compositor die?
Install flatseal
- flatpak install com.github.tchx84.Flatseal
Run flatseal
- flatpak run com.github.tchx84.Flatseal
Select calibre and the Show details button
- Initial settings
- Disable the X11 windowing system and Wayland windowing system options
Launch calibre
- flatpak run com.calibre_ebook.calibre
No wayland errors
Additionally calibre (and flatseal) should be found in the ChromeOS Linux apps folder.
What is not currently known is whether the flatseal edits will need to be redone on each update.