![]() |
#1 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,235
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Successfully running calibre 7.x in Flatpack on ChromeOS
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
Install calibre
Launch calibre
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. |
![]() |
![]() |
![]() |
#2 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,115
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Weird, why would you need to disable both? It must be using either X11 or Wayland. I am guessing the difference between calibre 7 and 6 is that Qt was updated and now uses wayland which is broken on chromebooks.
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,235
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
For the non flatpak install I used
sudo apt install libopengl0 libxcb-cursor0 libnss3 followed by the standard Kovid supplied instructions sudo -v && wget -nv -O- https://download.calibre-ebook.com/linux-installer.sh | sudo sh /dev/stdin I then had to set the variable QT_QPA_PLATFORM to xcb QT_QPA_PLATFORM - On Linux set this to wayland to force calibre to use Wayland and xcb to force use of X11. so QT_QPA_PLATFORM=xcb calibre Please note I've only done limited testing in either case. |
![]() |
![]() |
![]() |
#4 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,235
Karma: 78869092
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Just tested. Just disabling the wayland setting is sufficient.
|
![]() |
![]() |
![]() |
#5 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,115
Karma: 27110892
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Good to know, thanks. So yet another case of Wayland breaking things.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Sep 2020
Device: none
|
Following instructions by PeterT for installing the non-flatpack version of Calibre 7.x I could start it from the Terminal but starting it from the icon in the Chrome OS start menu still failed until I did the following to add the environment variable:
from the Linux Terminal edit the file /usr/share/applications/calibre-gui.desktop I used vim, so: sudo vim /usr/share/applications/calibre-gui.desktop change the line: Exec=calibre --detach %U to read: Exec=env QT_QPA_PLATFORM=xcb calibre --detach %U If you haven't used vim or vi before it's a bit of a learning curve. type an i to enter insert mode, a q to quit insert mode and then :wq to write and quit vim. |
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre for ChromeOS | NSILMike | Calibre | 20 | 01-04-2025 11:49 PM |
Running calibre.exe --shutdown-running-calibre does *NOT* terminate the E-book Viewer | MReader67 | Calibre | 4 | 06-12-2023 01:53 PM |
Linux Flatpack question | barrettloganj13 | Calibre | 6 | 06-03-2023 06:45 AM |
Update Calibre on ChromeOS | Patricia1066 | Devices | 3 | 07-23-2022 04:46 PM |
Touch Python/Pygame successfully running on Kobo Touch | KevinShort | Kobo Developer's Corner | 18 | 10-24-2012 03:08 PM |