View Single Post
Old 01-03-2025, 09:24 PM   #6
ReaderFeeder
Junior Member
ReaderFeeder began at the beginning.
 
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.
ReaderFeeder is offline   Reply With Quote