Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-27-2023, 03:06 PM   #1
cliffskoog
Junior Member
cliffskoog began at the beginning.
 
cliffskoog's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2023
Location: Ireland
Device: likebook
Question 7.1 - Only splash screen on Acer 714 chromebooK

Hi
Kovid writes me that he has no chromebook, so he can't help. Therefore I'm posting here. He suggested I try try to reinstall with debug options, but I was spooked when I couldn't run Calibre and reverted to 6.29, I'll probably follow his advice when Calibre gets to 7.2 and Chrome to 120 or more, but for now I'm just relieved to have 6.29.
When I first tried to upgrade, I was told to install an xcb cursor package, which I did. The second time Calibre did seem to install, but only the splash screen appeared.
Maybe someone has suggestions?
Thanks
cliffskoog is offline   Reply With Quote
Old 11-27-2023, 08:31 PM   #2
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,072
Karma: 71733976
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
See a post I just made on using flatpak for calibre on a chromebook. Check the Library Management forum.

I've also had luck with native calibre and the Chromebook; just need to document what I did .

Sent from my Pixel 6a using Tapatalk
PeterT is offline   Reply With Quote
Advert
Old 11-28-2023, 09:34 PM   #3
cliffskoog
Junior Member
cliffskoog began at the beginning.
 
cliffskoog's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2023
Location: Ireland
Device: likebook
Hi
I entered that
'sudo apt install libopengl0 libxcb-cursor0 libnss3'
and I was told they were already installed.
And I don't understand about the Wayland option.
Flatpak? I'd rather live with 6.29 awhile longer.
Thanks for giving me something to try though!
cliffskoog is offline   Reply With Quote
Old 11-28-2023, 09:58 PM   #4
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,072
Karma: 71733976
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I was just trying to document what I did from a clean install of the linux environment. Your mileage might vary.

Wayland is just the code that talks between an application (calibre) and the display (screen of the chromebook in this case).


A flatpak is just a means of packaging an application along with all of dependencies; installing a flatpak does not change any of the underlying O/S components.
PeterT is offline   Reply With Quote
Old 11-28-2023, 11:52 PM   #5
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 43,654
Karma: 22446730
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
All you need to do is run calibre like this:

QT_QPA_PLATFORM=xcb calibre
kovidgoyal is offline   Reply With Quote
Advert
Old 11-29-2023, 12:41 PM   #6
cliffskoog
Junior Member
cliffskoog began at the beginning.
 
cliffskoog's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2023
Location: Ireland
Device: likebook
YES. That worked. Make it sticky for other lost souls!
And I get to thank you again too.
cliffskoog is offline   Reply With Quote
Old 11-29-2023, 02:09 PM   #7
Quoth
the rook, bossing Never.
Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.Quoth ought to be getting tired of karma fortunes by now.
 
Quoth's Avatar
 
Posts: 10,414
Karma: 82723493
Join Date: Jun 2017
Location: Ireland
Device: All 4 Kinds: epub eink, Kindle, android eink, NxtPaper11
Quote:
Originally Posted by PeterT View Post
Wayland is just the code that talks between an application (calibre) and the display (screen of the chromebook in this case).
Unfortunately they seem to have released an Alpha version, not even Beta. It's buggy, lacking components and compatibility. Maybe it's a better idea than X-Windows, but so far the implementation is useless.


Quote:
Originally Posted by PeterT View Post
A flatpak is just a means of packaging an application along with all of dependencies; installing a flatpak does not change any of the underlying O/S components.
Unfortunately it solves dependencies by creating other issues. I only use flatpak or snap if deb or author install isn't available. Maybe it's a good idea and it's not as broken as Wayland. It may also by default only install for the user installing (or upgrading).
Quoth is offline   Reply With Quote
Old 11-30-2023, 09:23 AM   #8
cliffskoog
Junior Member
cliffskoog began at the beginning.
 
cliffskoog's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2023
Location: Ireland
Device: likebook
ChromeOS Calibre's [Desktop Entry]

Quote:
Originally Posted by kovidgoyal View Post
All you need to do is run calibre like this:

QT_QPA_PLATFORM=xcb calibre
It is very welcome also that in 7.1 I now can scroll with my touchscreen, with 6.29 that was not possible.

However the way I now have to start Calibre with the terminal command above has another drawback: I now have to add books by navigating to their folder from within Calibre. Before I could add books from the ChromeOS filebrowser's context menu. These issues are really only inconveniences, but if there is a fix, I would like to know. I suspect that the answer might be in the launcher commands. I have tried to substitute the new terminal command into it, but that did not work. Calibre's ChromeOS Linux launcher is in usr/share/applications

Here is what it looks like, and thanks some more if you have any suggestions:
Spoiler:


[Desktop Entry]
Version=1.0
Type=Application
Name=calibre
GenericName=E-book library management
Comment=E-book library management: Convert, view, share, catalogue all your e-books
TryExec=calibre
Exec=calibre --detach %U
Icon=calibre-gui
Categories=Office;
X-GNOME-UsesNotifications=true
MimeType=application/vnd.ms-word.document.macroenabled.12;text/x-markdown;application/epub+zip;application/vnd.oasis.opendocument.text;application/x-cb7;text/fb2+xml;application/ereader;application/x-mobipocket-subscription;text/plain;application/x-cbc;application/oebps-package+xml;application/x-sony-bbeb;text/html;image/vnd.djvu;application/x-cbz;text/rtf;application/x-cbr;application/xhtml+xml;application/x-mobipocket-ebook;application/vnd.openxmlformats-officedocument.wordprocessingml.document;applicati on/x-ruby;application/pdf;application/x-mobi8-ebook;x-scheme-handler/calibre;

Last edited by theducks; 11-30-2023 at 05:33 PM. Reason: spoilered log
cliffskoog is offline   Reply With Quote
Old 11-30-2023, 08:08 PM   #9
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,072
Karma: 71733976
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I took the approach of initially copying that file to my home directory.
cp /usr/share/applications/calibre-gui.desktop ~/test.desktop

I then edited test.desktop and changed
name=calibre to name=Test

and the line
Exec=calibre --detach %U to Exec=env QT_QPA_PLATFORM=xcb calibre --detach %U

Then did
desktop-file-validate test.desktop
to ensure I had no errors.

Finally did
sudo desktop-file-install test.desktop

I now have a new application in the ChromeBook's Linux Application folder called Test which successfully launches calibre.

After that I cleaned up by removing the test application
sudo rm /usr/share/applications/test.desktop

recopying the calibre-gui.desktop file and making the one required change to it
cp /usr/share/applications/calibre-gui.desktop ~/

Exec=calibre --detach %U to exec=env QT_QPA_PLATFORM=xcb calibre --detach %U


and finally reinstalled the desktop file
sudo desktop-file-install calibre-gui.desktop

My limited testing showed no issues, and no need to edit the other calibre desktop files.

I had NO problems selecting a file in the ChromeBook's File manager app and selecting to open it with calibre.

Last edited by PeterT; 11-30-2023 at 08:10 PM.
PeterT is offline   Reply With Quote
Old 11-30-2023, 08:37 PM   #10
cliffskoog
Junior Member
cliffskoog began at the beginning.
 
cliffskoog's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2023
Location: Ireland
Device: likebook
Wow. That was an informative post. Now I know more about setting up generic ChromeOS linux launchers too! I expected it should be simple, but before I knew not what I was doing.
Thanks.
cliffskoog is offline   Reply With Quote
Old 11-30-2023, 08:45 PM   #11
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,072
Karma: 71733976
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I will admit this was all brand new to me! Google was my friend in learning about the desktop file, and the key was reading about the exec= option and using the env command in it
PeterT is offline   Reply With Quote
Old 11-30-2023, 09:12 PM   #12
PeterT
Grand Sorcerer
PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.PeterT ought to be getting tired of karma fortunes by now.
 
PeterT's Avatar
 
Posts: 12,072
Karma: 71733976
Join Date: Nov 2007
Location: Toronto
Device: Nexus 7, Clara, Touch, Tolino EPOS
I also think that simply installing the modified calibre-gui.desktop to ~/.local/share/applications/ will override the one in /usr/share/applications and will have the benefit of surviving calibre reinstalls.

desktop-file-install --dir=${HOME}/.local/share/applications/ calibre-gui.desktop
PeterT is offline   Reply With Quote
Old 11-30-2023, 09:21 PM   #13
cliffskoog
Junior Member
cliffskoog began at the beginning.
 
cliffskoog's Avatar
 
Posts: 6
Karma: 10
Join Date: Nov 2023
Location: Ireland
Device: likebook
Yes. I will get a round Tuit.
Thanks.
cliffskoog is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Calibre on Acer Chromebook? geordiejohn Devices 45 09-12-2021 09:11 AM
Calibre on Acer Chromebook? geordiejohn Devices 2 07-23-2021 12:34 PM
Acer C720P Touchscreen Chromebook - $249 at Best Buy tubemonkey Deals and Resources (No Self-Promotion or Affiliate Links) 0 04-09-2014 05:17 AM
Refurb Acer C710-2847 Chromebook: $130 + tax jj2me Deals and Resources (No Self-Promotion or Affiliate Links) 1 08-17-2013 02:52 PM
New Acer Chromebook C710-2055 SeaKing News 114 06-25-2013 09:23 AM


All times are GMT -4. The time now is 08:28 PM.


MobileRead.com is a privately owned, operated and funded community.