10-28-2022, 09:16 AM | #1 |
Zealot
Posts: 100
Karma: 1204
Join Date: Jun 2012
Device: Bookari (née Mantano Reader) on Android; Kindle Fire HD
|
Sigil Flatpak and Java
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.
|
10-28-2022, 09:45 AM | #2 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
Advert | |
|
10-28-2022, 03:36 PM | #3 |
Grand Sorcerer
Posts: 28,040
Karma: 199464182
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?
|
10-29-2022, 09:50 PM | #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.
|
10-30-2022, 11:42 AM | #5 |
Sigil Developer
Posts: 8,160
Karma: 5450818
Join Date: Nov 2009
Device: many
|
Kinda defeats the who purpose of plugins though.
|
Advert | |
|
10-30-2022, 01:09 PM | #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 01:22 PM. |
10-30-2022, 01:22 PM | #7 | |
Grand Sorcerer
Posts: 5,640
Karma: 23191067
Join Date: Dec 2010
Device: Kindle PW2
|
Quote:
|
|
10-30-2022, 01:47 PM | #8 | |
Addict
Posts: 368
Karma: 1000000
Join Date: Mar 2016
Device: none
|
Quote:
|
|
10-30-2022, 04:54 PM | #9 | |
Resident Curmudgeon
Posts: 76,415
Karma: 136564696
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
Quote:
|
|
12-26-2022, 05:13 PM | #10 | |
Groupie
Posts: 177
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:
|
|
01-04-2024, 10:26 PM | #11 |
Evangelist
Posts: 420
Karma: 2737916
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. |
01-05-2024, 01:19 PM | #12 | |
Groupie
Posts: 177
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. |
|
01-05-2024, 10:37 PM | #13 |
Evangelist
Posts: 420
Karma: 2737916
Join Date: May 2013
Location: Ontario, Canada
Device: Kindle KB, Oasis, Pop_Os!, Jutoh, Kobo Forma
|
|
Tags |
epubcheck, flatpak, java, linux, sigil |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Linux Mint 20: Binary or Flatpak? | enuddleyarbl | Calibre | 11 | 03-07-2021 09:04 PM |
Flatpak and Kindle | zoliky | Devices | 0 | 11-27-2020 12:20 PM |
Sigil-0.8.900 released for testing - Wait for Sigil-0.8.901 | KevinH | Sigil | 106 | 10-04-2015 11:41 AM |
Sigil on Nook vs Sigil on Kobo vs Sigil on iBook | rosshalde | Sigil | 12 | 11-13-2014 10:34 AM |
[Apple]Java Embedding Plugin 0.9.2: Force java to run in browsers other than Safari | Zire | Lounge | 4 | 05-24-2005 10:12 PM |