![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
|
![]()
Has anyone using Sigil on Linux via Flatpak gotten epubcheck to work? Right now it seems to fail because Java is not visible to the sandboxed Sigil installation.
|
![]() |
![]() |
![]() |
#2 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#3 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 27,820
Karma: 198099188
Join Date: Jan 2010
Device: Nexus 7, Kindle Fire HD
|
How does Sigil Flatpak run plugins (assuming you're talking about the epubcheck plugin)? Does it use its own sandboxed python or the system python?
|
![]() |
![]() |
![]() |
#4 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
In use Sigil on Linux in Flatpak but I use epubcheck in the terminal and that works great. Just install epubcheck via your package manager.
|
![]() |
![]() |
![]() |
#5 |
Sigil Developer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 8,019
Karma: 5449552
Join Date: Nov 2009
Device: many
|
Kinda defeats the who purpose of plugins though.
|
![]() |
![]() |
![]() |
#6 |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Yes and no. I managed to get the BibiReader and EpubJSReader plugins working fine in a Linux Flatpak, but not the ReadiumReader. I can't say as I miss epubcheck as it works really well in the terminal.
Actually I see Sigil 1.9.10 is now available in my depository without need of using a Flatpak. It wasn't before. Last edited by bookman156; 10-30-2022 at 12:22 PM. |
![]() |
![]() |
![]() |
#7 | |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 5,635
Karma: 23190435
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
![]() |
![]() |
![]() |
#8 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
![]() |
![]() |
![]() |
#9 | |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 75,690
Karma: 134319572
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 | |
Zealot
![]() Posts: 143
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
|
I repost on this thread in case anyone else has flatpak problems -
At the end of November, 2022, before getting too involved in making my own build - although I did look at DiapDealer's remarkably clear instructions - I made a visit to the Sigil flatpak's github site. I posted an 'issue' about the matter of difficulty for the plugin to get in touch with java. I also mentioned ODTimport which also needs java. Overnight, this issue has been taken into account with an update pushed. The Readme has also been updated to state : Quote:
|
|
![]() |
![]() |
![]() |
#11 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 413
Karma: 2289864
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
Just to add a later note: I'm going to try Sigil because the Calibre Editor is increasingly slow/messy on Linux and full of useless tidbits. And window positioning no longer works.
Running Sigil 2.0.1 on Pop!_OS 22.04 Found Sigil in the Pop!_Shop. What it loads is a flatpak, though they don't tell you that going in...but it is the latest version and seems to work fine. So I downloaded the epubcheck plugin and got the python thing working without much problem (do the "auto" and restart Sigil). Then it couldn't find the epubcheck.jar file. Had to download the epubcheck zip file as a stand-alone and copy the files into the preferences location. That worked. But then it couldn't find the java executable, so I tried the command: Code:
flatpak install flathub org.freedesktop.Sdk.Extension.openjdk17//22.08 But it worked, the epubcheck now works inside Sigil. (It also works fine from the command line after having to download it separately, so I may just dump the plugin.) But what a great waste of space! One day if I feel very bored, I'll try the build instructions and get rid of all the flatpak crap...but that looks like a real big job. |
![]() |
![]() |
![]() |
#12 | |
Zealot
![]() Posts: 143
Karma: 10
Join Date: Nov 2015
Location: Europe EEC
Device: Kindle Fire HD6
|
Quote:
For details of my traumas building for the first time on Ubuntu as well as all the help I received leading to a successful build, see the recent thread: https://www.mobileread.com/forums/sh...d.php?t=357115 Since then, I have rebuilt a couple of times to take advantage of some improvements Kevin implemented before release. The first-time build is the greatest mind obstacle. |
|
![]() |
![]() |
![]() |
#13 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 413
Karma: 2289864
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
|
![]() |
![]() |
![]() |
Tags |
epubcheck, flatpak, java, linux, sigil |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux Mint 20: Binary or Flatpak? | enuddleyarbl | Calibre | 11 | 03-07-2021 08:04 PM |
Flatpak and Kindle | zoliky | Devices | 0 | 11-27-2020 11:20 AM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 10:41 AM |
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook | rosshalde | Sigil | 12 | 11-13-2014 09:34 AM |
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari | Zire | Lounge | 4 | 05-24-2005 09:12 PM |