best option for running Scrivener on Mint 19?

St
StarDog2
Posts: 85
Joined: Wed Oct 10, 2018 2:30 am
Platform: Windows

Fri Apr 19, 2019 1:31 pm Post

I'm currently using Scrivener for Windows on Linux Mint 19.1 using Crossover free trial on an elderly Laptop that was starting to choke on the last two versions of Win 10. I am trying to extend the life of that LT for another year or two so I can eventually get a Surface or Surface-like device. I believe Surface is the future of personal computing and not just for Windows users. I think Apple will have to eventually offer a device that lies somewhere between an iOS tablet and a Mac laptop.

I couldn't get it to run using straight wine or PlayOnLinux. I have decided NOT to buy Crossover when the trial ends as it violates the idea that I don't wanna spend any money on this Laptop. It works great, though Microsoft OneDrive and Linux have issues.

Instead, I have decided to continue to do the majority of my work on my Win 10 Desktop, and when I travel, to do my writing on the online version of MS Word, via Chromium browser. As yet, there isn't a version of Edge available for Linux. The success others have had with straight wine and POL makes me think I might try again but with more patience attached!

BTW, the native Linux titles that are alternatives to Scrivener all have problems if you are used to Scrivener itself. They aren't BAD, mind you, a few are downright clever (and L&L should investigate their offerings). But they all lack some key element of the Scrivener experience.

St
StarDog2
Posts: 85
Joined: Wed Oct 10, 2018 2:30 am
Platform: Windows

Fri Apr 19, 2019 5:15 pm Post

You know, this thought just occurred to me, if a complete Linux version of Scrivener just isn't feasible. How about a Linux (or Android, I'm flexible) "companion" program? How about a low-cost word processor that can download not an entire project, but a subset of the project, maybe just the outline and which then can insert a document as new text into a special folder within the 'Research area' of Scrivener "proper"? The user would then be able to move it to any location he/she chooses.

This would have the benefit of having people not have to look at other applications that might have both Windows/Mac versions and a Linux /Android version. It might be a useful way to generate some modest sales, and prevent the loss of some users to other titles.

User avatar
xiamenese
Posts: 4080
Joined: Mon Jan 29, 2007 1:32 am
Platform: Mac
Location: London or Exeter, UK.

Fri Apr 19, 2019 5:46 pm Post

StarDog2 wrote:You know, this thought just occurred to me, if a complete Linux version of Scrivener just isn't feasible. How about a Linux (or Android, I'm flexible) "companion" program? How about a low-cost word processor that can download not an entire project, but a subset of the project, maybe just the outline and which then can insert a document as new text into a special folder within the 'Research area' of Scrivener "proper"? The user would then be able to move it to any location he/she chooses.

This would have the benefit of having people not have to look at other applications that might have both Windows/Mac versions and a Linux /Android version. It might be a useful way to generate some modest sales, and prevent the loss of some users to other titles.

Essentially, you can do this already—at least I think you can/will be able to with v. 3 for Windows, you already can with v. 3 for Mac—using >File > Sync > with External Folder. I don't use it personally, but if you download the Mac v.3 manual, that will tell you how it works.

Mark
The Scrivenato sometimes known as Mr X.
iMac 27" (late 2015) 10.15.2, 24GB RAM, 512GB SSID
MBP17" (late 2011) 10.13.6, 16GB RAM, 2TB SSID
2017 iPad, iPadOS 13.3, 128GB, Apple Pencil
Scrivener, Scapple, Nisus Writer Pro, Bookends …

rc
rcentros
Posts: 8
Joined: Wed May 01, 2019 10:54 pm
Platform: Linux

Wed May 01, 2019 11:32 pm Post

Maghdalena wrote:I tried installing the Scrivener beta for Linux under Linux Mint XFCE 19.1, and it installed OK as far as I know, but it never started up. ...


I ran into the same situation. Any time that happens in Linux, try running the program in a terminal screen and it should give you errors (which allows you to correct them).

I'm running the Linux Scrivener beta 1.9.0 under Linux Mint 19.1 Cinnamon (now without issue). But I had to find and install the following files (The issue: Linux Mint 19.x — Ubuntu 18.04 — uses newer gstream and .png libraries, so you have to install the older ones, which are not in the current repositories).

Fortunately I saved the information in Simplenote, otherwise I would have already forgotten it. (I'm getting old and senile, Simplenote has become my brain)

You'll need libpng12-0_1.2.54-1ubuntu1.1_amd64.deb, which is available for download at:
https://packages.ubuntu.com/xenial/amd6 ... 0/download
(Look for the orange link security.ubuntu.com/ubuntu)

It's a .deb package (from Ubuntu) so just right-click on it and install it from Gdebi Package Installer.

You'll also need older versions of the gstreamer packages. I found this posted by someone named "Spurios" at this Github site:

https://github.com/toggl/toggldesktop/issues/1894

You'll need to open a terminal and copy and pate the following three lines (one at a time and hitting the ENTER after each cut and paste. (These both come from the French Ubuntu site.)

wget http://fr.archive.ubuntu.com/ubuntu/poo ... _amd64.deb

wget http://fr.archive.ubuntu.com/ubuntu/poo ... _amd64.deb

sudo dpkg -i libgstreamer*.deb

Since the last line is a "sudo" you'll be asked for your password.

After doing this, Scrivener should work. I haven't tried this with the older version of the Linux beta, or if with the 32 bit versions. But, since Linux Mint 19.x has won't "end of life" until 2023, this should be a 4 year solution. (Understanding that there won't be any upgrades to the Scrivener betas.)

I just started using Scrivener on my Linux box. I tried it before, thought it was too complicated, then came back and tried it again. Man, am I glad I did.

(EDIT: I didn't realize these links would be clickable. I'm not sure if the ones that use wget will work, but they'll definitely download. You can probably just use the Gdebi installer to install each of these as well, I don't know — I just copied and pasted into the terminal.)

(EDIT2: It looks both of the wget links download the same file (one has an underscore where the other has a hyphen, otherwise they look identical). You probably only need one or the other.
Linux Mint Cinnamon 19.1

User avatar
Maghdalena
Posts: 15
Joined: Thu Nov 13, 2014 6:21 am
Platform: Linux + Windows

Thu May 02, 2019 8:28 am Post

rcentros, Thanks so much, not just what to do, but where to get it. It's a little late now, but I"m going to try that out tomorrow.

As far as making notes, I totally get you. I don't know where I"d be without my Tomboy Notes. As you've said SimpleNote, and Tomboy Notes (for me) are our brains, lol. Again, thanks so much. I just didn't wnat to have to deal with using Wine/Play on Linux and/ or Crossover if I didn't have to.


May the Penguin God(s) watch over you and thanks again. ;)

Maghdalena

rc
rcentros
Posts: 8
Joined: Wed May 01, 2019 10:54 pm
Platform: Linux

Fri May 03, 2019 12:29 am Post

Maghdalena wrote:... I just didn't wnat to have to deal with using Wine/Play on Linux and/ or Crossover if I didn't have to. ...

I don't blame you. I've tried Wine and owned Crossover in the past (I'm sure they've both improved by now) but at the time it seemed that applications usually "almost" worked under Wine. It was irritating. I no longer use any application that won't run natively in Linux — haven't for about eight years now.

Hopefully the files (above) will get the Scrivener beta working for you. Last night I tried another solution on my laptop that appears to work (though my laptop is running Linux Mint 18 Mate, so it might have worked with a standard install).

https://www.wayoflinux.com/blog/scrivener-returns

Here you just download an AppImage tar ball, open it either in the /usr or ~/.local directory, make it executable and run it. It'll ask if you want to integrate Scrivener into your Menu system and that's it. Worked great. I guess AppImage is something like Snap or Flatpak. At any rate, there's more information at the link. Since you've already got Scrivener installed, it would probably make more sense to go with the first solution. The good thing about the AppImage choice is that it should work on any Linux distribution.

At any rate, good luck. Hopefully it all goes well.
Linux Mint Cinnamon 19.1

User avatar
Maghdalena
Posts: 15
Joined: Thu Nov 13, 2014 6:21 am
Platform: Linux + Windows

Fri May 03, 2019 5:05 am Post

RCentros, Well I tried it and the libpng worked and installed OK, but the gstreamer had broken dependencies. So what do I do now? Try Appimage? It's still not starting up. Since it's the same file as you said, both came up broken dependencies. Rats! Sad, now and really frustrated. BTW, I'm not sure I mentioned it, but I"m in a VM(VirtualBox)

I'm not really sure how to use these Appimages. I'm not opposed to using the Appimage, but I'm not sure exactly how they are expected to work. OK in the /usr folder or the `/local folder. Anywhere in those folder, in particular or just inside the folder? I assume it's one or the other, not both. Any advice? I'll just uninstall the beta and the libpng thing. Again, any suggestions, and can I uninstall the libpng and how so that it's off the system?

Thanks again, and looking forward to your reply. BTW, I did read that post, but was more than a little confused and overwhelmed, so thus the questions.

Maghdalena

rc
rcentros
Posts: 8
Joined: Wed May 01, 2019 10:54 pm
Platform: Linux

Fri May 03, 2019 6:38 am Post

Maghdalena wrote:RCentros, Well I tried it and the libpng worked and installed OK, but the gstreamer had broken dependencies. So what do I do now? Try Appimage? ...

Well, rats, sorry to hear that. Running Linux in a Virtual Box shouldn't be an issue. So don't worry about that (unless I'm wrong about that). At this point there are two options — either figure out what dependencies are needed and get them or try the AppImage option.

But first, maybe I was wrong about the two gstreamer files being the same. If you just downloaded one of the gstreamer files and installed it with the package manager, it might be better to do it the original way suggested in the article.

copy and paste the two wget lines into a terminal (ENTER) and download both files, and then copy and paste the command (dpkg) line into the terminal and run it from there. Maybe there's something I'm missing and that's why the dependencies didn't get met.

If you try the wget and dpkg route (as described in my first post) and that still doesn't work, go to to the terminal and type in "scrivener" (without the quotes) and ENTER. If Scrivener doesn't run this will tell you the issue (or at least the first issue) — once you fix this issue, you may have more as Linux will quit trying to load the application on the first error it hits.

It may be a simple dependency to fix, so I would try reloading the gstreamer files (using wget and dpkg in the terminal) and trying scrivener in the terminal. If it doesn't work, you can copy the error in a message and I'll see if its fairly simple to fix.

OR ...

You could just go straight to the AppImage instead. One (other) advantage of that route is that it already has the spell checker issue fixed.

If you go this route, just download the Scrivener AppImage tar ball, the file ends with a ".gz" — ( I'm guessing you're using 64-bit) and then, using your file manager, move it to your .local directory. (Please note the period in front of "local." That means the directory is normally hidden, I'm pretty sure Linux Mint Xfce works the same as Cinnamon and Mate, so just hit CNTROL+H to show hidden files in your file manager.) The AppImage will probably download to your Downloads folder. Just right-click on the downloaded file, copy it, and then paste it your .local folder (this is in your home directory), i.e., /home/yourname/.local. Then left-click the tar ball image you've just copied, and Extract. One done, right click the the extracted file (Scrivener ... AppImage), go to Properties>Permissions and set Executable ON. (It's just a tick box near the bottom of the dialogue). Once that's done, just left-click on the Image and follow the prompt(s). I think there is only one prompt, something about integrating Scrivener into your system.

I know it sounds complicated and the instructions on the linked website are probably clearer than mine. The reason I would go with the ~/.local option (the tilde is Linux shorthand for /home/yourname) instead of the /usr is because you may run into permission issues in the /usr directory.

Again, good luck. I want to see you get this going, so don't worry about bringing up any further issues or asking any questions.

EDIT: I just tried copying and pasting the wget lines into my terminal and found that the "middle"part has been cut out of them (since this forum is treating them as html instead of wget links). So you'll have to go to the website linked and move down a few messages to find Spurios' original wget lines. I should have tried this before.

The link you need ... https://github.com/toggl/toggldesktop/issues/1894
You'll have to triple click and copy on each of his long lines that he's posted as code.


EDIT 2: This might work, I think I can post as code here as well... just copy and paste each of these lines (one at a time) in a terminal and hit ENTER.

Code: Select all

wget http://fr.archive.ubuntu.com/ubuntu/pool/main/g/gst-plugins-base0.10/libgstreamer-plugins-base0.10-0_0.10.36-1_amd64.deb

wget http://fr.archive.ubuntu.com/ubuntu/pool/universe/g/gstreamer0.10/libgstreamer0.10-0_0.10.36-1.5ubuntu1_amd64.deb

sudo dpkg -i libgstreamer*.deb
Linux Mint Cinnamon 19.1

rc
rcentros
Posts: 8
Joined: Wed May 01, 2019 10:54 pm
Platform: Linux

Fri May 03, 2019 8:22 am Post

Maghdalena wrote:Thanks again, and looking forward to your reply. BTW, I did read that post, but was more than a little confused and overwhelmed, so thus the questions.


My posts are sometimes as clear as mud. Sorry. I think I would go with the AppImage option. I tried it on my laptop using a Live USB Linux Mint Cinnamon 19.1 "install." (I'm actually using this "install" now.)

Using the AppImage install, without loading any dependencies took about three minutes.

I'll try to simply the steps here:

    1. Download the AppImage file at this site https://www.wayoflinux.com/blog/scrivener-returns (use the TOP 64-bit link, there's actually two different files here. The one you want says "Erkus" at the end.

    2. In your file manager, right click on the downloaded file and copy it.

    3. Using your file manager move to your /home/yourname/.local directory and paste the file there (remember the period in front of .local, which means you'll need to click ctrl+h to see hidden files.)

    4. Right click on the tar ball file you just pasted and go to Properties > Permissions and click "Executable."

    5. Double click on the tar ball and Extract the files in the current directory (i.e. in ~/.local).

    6. Double click on the extracted AppImage file and click "yes" at the prompt.

    Scrivener should automatically start and run.

The only thing you might have to do is make a desktop icon and/or menu entry if the process doesn't do it automatically.
Linux Mint Cinnamon 19.1

an
andrewbond
Posts: 8
Joined: Sat Jul 05, 2014 2:31 am
Platform: Linux

Sat May 04, 2019 3:52 pm Post

The latest Beta version runs under Mint 19.1 if you've got WINE installed. PlayOnLinux is just an automated "shell" with WINE underneath. You must install PlayOnLinux or other WINE compilation before you can install Scrivener.

I run Mint 19.1 on an old laptop. I use CodeWeaver's "CrossOver" which is a commercial version of WINE that fully automates the installation of "shims" that are necessary to run Windows apps on WINE under Linux (or MacOS). Crossover also provides technical phone support for any question. IIRC, Crossover, Scrivener, and Scapple are the only non-free programs I run anymore. If that's not the case, they are the only ones I use nearly everyday.

I tried PlayOnLinux, but found that with some installations of Linux, Scrivener would run fine and on others it didn't and that was on the same laptop after a rebuild!

I've never had that issue with Crossover. But definitely try PlayOnLinux. If it works on your HW platform, it makes WINE so much easier to configure.

User avatar
Maghdalena
Posts: 15
Joined: Thu Nov 13, 2014 6:21 am
Platform: Linux + Windows

Thu May 09, 2019 5:03 am Post

rcentros wrote:
Maghdalena wrote:Thanks again, and looking forward to your reply. BTW, I did read that post, but was more than a little confused and overwhelmed, so thus the questions.


My posts are sometimes as clear as mud. Sorry. I think I would go with the AppImage option. I tried it on my laptop using a Live USB Linux Mint Cinnamon 19.1 "install." (I'm actually using this "install" now.)

Using the AppImage install, without loading any dependencies took about three minutes.

I'll try to simply the steps here:

    1. Download the AppImage file at this site https://www.wayoflinux.com/blog/scrivener-returns (use the TOP 64-bit link, there's actually two different files here. The one you want says "Erkus" at the end.

    2. In your file manager, right click on the downloaded file and copy it.

    3. Using your file manager move to your /home/yourname/.local directory and paste the file there (remember the period in front of .local, which means you'll need to click ctrl+h to see hidden files.)

    4. Right click on the tar ball file you just pasted and go to Properties > Permissions and click "Executable."

    5. Double click on the tar ball and Extract the files in the current directory (i.e. in ~/.local).

    6. Double click on the extracted AppImage file and click "yes" at the prompt.

    Scrivener should automatically start and run.

The only thing you might have to do is make a desktop icon and/or menu entry if the process doesn't do it automatically.


RCentros:

OK. I downloaded it and found the .local folder and copied it as you said, but when I right-clicked on the tar-ball, unextracted and went to the permissions, I couldn't find 'executable" What I found was::

Owner-
Access: None, read only, write only, read and write.

Then: Group: (maghdalena, that's me)
Access: None, read only, write only, read and write

then,
Others: none, write only, read only, read and write, The default is for owner and group, which are both me, read and write, and for others: read-only, so which is the "executable" am I looking in the wrong place. I'm in the properties, and in the permissions tab, so what do I do next to make it executable or is it already? Sorry, I'm just so new to all this AppImage thing. Still trying to be positive here. Am I in the right place? So far it's still hasn't been extracted until I figure the executable thing. it's in the /home/yourname/.local so I'm pretty sure I"m in the right folder, but not finding any executable or make executable command, so maybe I don't recognize which selection is "executable" New to Linux too, so there you are.

Katherine (Maghdalena) Logan

Edit: 1:53: I found the appimage. apparently, the tarball is not the appimage itself, so didn't have the little box to make executable. I found it at the App Hub (https://www.appimagehub.com/p/1262832/) and downloaded that, and tested it by making it executable, and double clicked it and it opened right up for me. I'm good now. I got to thinking and found it the other day in Windows, (I'm in a Virtual Machine for Linux for right now till I get a second hard drive, but thanks for bringing the App Image to my attention. Do I still put a copy of it in the .local folder, or the opt folder/scrivener, and how do I put it in the menu? At least this way I can run Scrivener till 2023 at least.

The only other thing I can think what I didn't do is extract it to .local then locate the appimage and make that executable, but I couldn't do it with the compressed file. Still, I'm happy, and I can at least use it. Thanks again.
Last edited by Maghdalena on Thu May 09, 2019 6:10 am, edited 1 time in total.

User avatar
Maghdalena
Posts: 15
Joined: Thu Nov 13, 2014 6:21 am
Platform: Linux + Windows

Thu May 09, 2019 5:13 am Post

andrewbond wrote:The latest Beta version runs under Mint 19.1 if you've got WINE installed. PlayOnLinux is just an automated "shell" with WINE underneath. You must install PlayOnLinux or other WINE compilation before you can install Scrivener.

I run Mint 19.1 on an old laptop. I use CodeWeaver's "CrossOver" which is a commercial version of WINE that fully automates the installation of "shims" that are necessary to run Windows apps on WINE under Linux (or MacOS). Crossover also provides technical phone support for any question. IIRC, Crossover, Scrivener, and Scapple are the only non-free programs I run anymore. If that's not the case, they are the only ones I use nearly everyday.

I tried PlayOnLinux, but found that with some installations of Linux, Scrivener would run fine and on others it didn't and that was on the same laptop after a rebuild!

I've never had that issue with Crossover. But definitely try PlayOnLinux. If it works on your HW platform, it makes WINE so much easier to configure.


I have Play on Linux installed and Wine 1.6 and 3.0 which were in the Software Manager, but not really sure how to set up Play on Linux. How do I set it up and install Scrivener on it or do I download it into Play on Linux then install it or what? I'm really new to all of this. I've spent most of my time in Windows. I was in Mac from around 1996, then from 2004 or so in Windows, but since Windows 7 is reaching the end of life next Janurary, decided to move to Linux. Scrivener, and David RM's The Journal are the only things in Windows that I can't live without. That and OneNote, but I can access it on Microsoft's website. But I do most of my researching for my first book in Scrivener, so can't really give it up. So can you walk me through the steps. I have the MS true type fonts already installed. They're showing up in LibreOffice Writer, anyway.

Thanks for your patience.

rc
rcentros
Posts: 8
Joined: Wed May 01, 2019 10:54 pm
Platform: Linux

Mon May 13, 2019 8:06 am Post

Maghdalena wrote:Edit: 1:53: I found the appimage. apparently, the tarball is not the appimage itself, so didn't have the little box to make executable. I found it at the App Hub (https://www.appimagehub.com/p/1262832/) and downloaded that, and tested it by making it executable, and double clicked it and it opened right up for me. I'm good now. I got to thinking and found it the other day in Windows, (I'm in a Virtual Machine for Linux for right now till I get a second hard drive, but thanks for bringing the App Image to my attention. Do I still put a copy of it in the .local folder, or the opt folder/scrivener, and how do I put it in the menu? At least this way I can run Scrivener till 2023 at least.

Glad to hear you got it working. Sorry it took so long to respond. I didn't even know about the AppImage hub. I'm not sure where you put the image, but it should work from anywhere. I just personally prefer it in the ~/.local directory because I "feel" that I'm more in "control" of it there. But, since I'm the only user on the machine, it really doesn't matter. It's just a personal preference. Does the spell-checker work in the AppImage you downloaded from the Hub? If it doesn't the fix is listed (as a sticky) in this forum. As for setting up a desktop launcher on the desktop, I'm not completely sure how to do that in Xfce (since I don't use that desktop), but I think you just right-click on the desktop and create a new launcher. You'll have to fill in the information (tell the launcher where your file is, name it, etc.). The tough part is finding the right icon image. I actually found (and downloaded) a .png image of the new round logo, but right now I can't find it. I like the new logo. I'll keep looking for where I found it.
Linux Mint Cinnamon 19.1

User avatar
theswede
Posts: 54
Joined: Thu May 16, 2013 10:55 am
Platform: Mac, Win + iOS

Sun Jul 28, 2019 8:11 am Post

devinganger wrote:So garpu linked to the ExaGear Desktop -- what's the problem with that, other than it not being free?


https://electronza.com/exagear-the-end/

Not being free libre means it will disappear. It's only a matter of time. That is actually the main worry I have with Scrivener as well; I don't mind paying, but I know it has a limited lifetime.
Jesper Anderson SA5NEO
Computer scientist. Software engineer. Scifi writer. Scuba diver.

User avatar
devinganger
Posts: 1735
Joined: Sat Nov 06, 2010 1:55 pm
Platform: Mac, Win + iOS
Location: Monroe, WA 98272 (CN97au)
Contact:

Sun Jul 28, 2019 9:00 am Post

theswede wrote:
devinganger wrote:So garpu linked to the ExaGear Desktop -- what's the problem with that, other than it not being free?


https://electronza.com/exagear-the-end/

Not being free libre means it will disappear. It's only a matter of time. That is actually the main worry I have with Scrivener as well; I don't mind paying, but I know it has a limited lifetime.


There are plenty of free libre software packages that have disappeared as well, and there are many paid software packages that I *wish* would disappear.
--
Devin L. Ganger, WA7DLG
Not a L&L employee; opinions are those of my cat
Winner "Best in Class", 2018 My First Supervillain Photo Shoot