I just wanted to provide a brief update on the Scrivenix Project.
First, thank you to everyone who slogged through the manual install and spent time testing this out and providing me with feedback. At this point I believe we have an install working on most versions of Linux. The only changes I plan to make now are a few tweaks to the text in the dialogue boxes, unless new bugs/issues are reported.
At present we have successful deployment on:
Fedora (Wayland / GNOME)
Linux Mint (X11 / Cinnamon)
Manjaro (Wayland / KDE)
PopOS (Wayland / Cosmic)
Debian (Wayland / Gnome)
Ubuntu 24.04 LTS (Wayland / Gnome)
KDE Neon (Wayland / KDE)
This covers most of the major distribution branches. Iâd still like to see some more beta testing before I package it as a Flatpak and start the process of getting it accepted on Flathub.
For those of you a little unsure about trying it out, Iâve made a proof of concept video detailing a full installation on Ubuntu from start to finish.
I currently move from Windows 11 to CachyOS and tried to install Scrivener with your setup and it seemed to work, the icon shows up in my application menu, but when I click on Scrivenix, other than the pointer showing busy for a moment, nothing much happens.
Is arch/cachy simply not supported ATM or are there other things I can try?
Iâm sure it is something simple we can work through. Arch is the least tested distro so far, but this is a great opportunity for me, so letâs talk through it.
You downloaded the files from GitHub how long ago? Within the last couple of days or was it longer? Just want to make sure we are both working from the most recent files.
You are following the steps in the Install.txt file? If so, sounds like you got through step 2 without any errors? You can see how that should go in the âBuilding the Environmentâ section of this video https://www.youtube.com/watch?v=HF0IFLG417s&t=1s which starts at about the 2:40 mark. Itâs important we get the green check mark next to each package that it installs.
Just to rule out a problem with the app shortcut pop open a terminal and run
flatpak run com.local.Scrivenix
If the install dialogue opens and allows you to proceed then the shortcut didnât create correctly and thatâs an easy fix, if it still fails to launch then Wine is failing silently and we can almost certainly figure out why. Letâs rule out 1, 2, and 3 as issues first.
I followed the steps and nothing did fail obviously, although in the huge stream of stuff, I canât be sure. I got the final output as advised in install.txt
If I run this, nothing happens and I get back to the prompt.
I never get to the installer.
I also tried installing Scrivener directly via wine independently and it starts, but hangs at âloading fontsâ.
That part at least, should be easily solved by running winecfg and adding an override for âsapiâ (or the Speech API) to use native Windows methods. TTS wonât work, I donât believe anyone has figured that out, but at least it wonât crash trying.
Screenshot...
If for some reason that does not work, you can rename or delete the âtexttospeechâ folder from the install folder, but that is a much more annoying approach as you have to remember to do that after every upgrade.
Amber gave you some good advice Another approach is to navigate into the wine prefix and find Scrivener in the Program Files and look for a folder called âTexttoSpeechâ and delete it. That will get past the loading on fonts hangup.
Even if you do that and it works, I would appreciate if you could give me a little more information so I can sort out this Arch support problem.
The install dialogue boxes are built on Zenity. Can your run this and paste the results back here? This will tell me if Zenity is supported on your install:
flatpak run --command=bash com.local.Scrivenix -c 'which zenity; which wine; which wine64; echo $PATH'
Step 2 â Run Wine directly inside the sandbox with error output visible
This bypasses the 2>/dev/null suppression in the wrapper script:
flatpak run --command=bash com.local.Scrivenix -c âexport WINEPREFIX=â$HOME/.var/app/com.local.Scrivenix/wineâexport PATH=â/app/bin:$PATHâexport WINELOADER=/app/bin/wineexport WINESERVER=/app/bin/wineserverWINEDEBUG=err+all wine â$WINEPREFIX/drive_c/Program Files/Scrivener3/Scrivener.exeâ 2>&1 | tee /tmp/scrivenix-debug.txt
Then send me the contents of /tmp/scrivenix-debug.txt. Thatâs the most likely place to find the actual error. You can send it to me as a private message on here, or I can DM you my email address so you can send the .txt file directly.
Thanks to both of you. The override worked for the direct install through wine, but I canât activate the license. I guess that is what the actual problem is with Linux? I read that in other threads.
As for Scrivenix: I entered the commands you posted, this is the return:
/usr/bin/zenity
/app/bin/wine
which: no wine64 in (/app/bin:/usr/bin)
/app/bin:/usr/bin
This gives me an error:
WINEPREFIX=â/home/thomas/.var/app/com.local.Scrivenix/wineâexport: line 1: âexport: command not found
Thereâs likely to be a few more back and forth messages to get this sorted out. Do you want to take this into direct messages? I sent you one on here and also included my Email. Iâm happy to correspond either way.
The next thing I want to try is having every line of the script print as it is executed so I can see exactly where the Script goes off the rails during initial launch.
flatpak run --command=bash com.local.Scrivenix -c 'bash -x /app/bin/scrivenix-wrapper.sh 2>&1 | tee /tmp/scrivenix-trace.txt'
The output file from that command assuming it runs should identify the problem
So Scrivenix did not work for me, and we couldnât figure out why. adgalloway tried on a fresh install of CachyOS with KDE Plasma and it worked for him.
What did work for me in the end:
Installing Scrivener 3 normally via Wine.
Adding an override for sapi as AmberV explained above.
Installing all the fonts via WineTricks.
That got Scrivener to work without crashing or hanging, but I could not authorise.
dgalloway then also told me to install dotnet 4.0 and 4.8, and that did the trick for the authorisation.
I had installed the âgaming packageâ that CachyOS offers, since I was told it was a good way to get all the wine stuff running and set up (Iâm not a gamer), so this may make my system different from a vanilla install.
I also installed the âproaudio packageâ that adds wine stuff for running windows audio plugins.
So thanks a ton to dgalloway and AmberV to get me up and running - after just three days, I have most of my software working, including Affinity, DaVinci Resolve and my 4 DAWs and feel that I finally may have found my Linux home
BTW: This is the installer for Affinity that worked for me (may be interesting to more people here):
I used the python option for the new free unified Affinity.