Linux 1.9.01 Beta Released

Jo
Jonnny
Posts: 1
Joined: Fri Jul 17, 2020 3:29 pm
Platform: Linux

Mon Jul 20, 2020 4:59 pm Post

I too wish to add my thanks.

I am using Debian 10. However, the suggested dependencies do not exist. Does anyone know if I am missing a particular repo?

I should mention that I get this message:

Code: Select all

/usr/share/scrivener/bin/Scrivener: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory


Thanks.

sb
sberla365
Posts: 3
Joined: Sat Nov 07, 2015 5:03 pm
Platform: Mac

Tue Aug 11, 2020 8:18 pm Post

Hi all,

has anybody installed Scrivener on Ubuntu 20.4?
I used the deb package and did both a manual install and through the software manager. Installation was a piece of cake, Scrivener shows up in the apps and everything. Only problem is that it does not run. Any idea?

sc
scshrugged
Posts: 559
Joined: Wed Feb 10, 2016 6:55 pm
Platform: Mac + iOS

Tue Aug 11, 2020 9:02 pm Post

sberla365 wrote:Hi all,

has anybody installed Scrivener on Ubuntu 20.4?
I used the deb package and did both a manual install and through the software manager. Installation was a piece of cake, Scrivener shows up in the apps and everything. Only problem is that it does not run. Any idea?

I have not but yesterday did get the AppImage to somewhat work in Mint Cinnamon 20.

I say work somewhat because I only used it for a few minutes––just repeatedly opened and closed Scrivener and navigated in its Tutorial. I'm not even sure that I installed it properly. I'm a returning Linux newbie so just briefly trying the Scrivener AppImage was a goal for that self-training session as part of my longterm strategy. See the following thread made by @theswede. He's experienced and successfully uses the AppImage. There's a link in his OP to the hosting site. It's well worth a look.

viewtopic.php?f=33&t=57941
I'm a Scrivener user, not an L&L employee.

ju
juliarez
Posts: 1
Joined: Sat Aug 15, 2020 10:11 am
Platform: Linux

Sat Aug 15, 2020 10:40 am Post

sberla365 wrote:Hi all,

has anybody installed Scrivener on Ubuntu 20.4?
I used the deb package and did both a manual install and through the software manager. Installation was a piece of cake, Scrivener shows up in the apps and everything. Only problem is that it does not run. Any idea?


Yes. It's more than likely missing a set of libraries that are no longer supplied/supported in 20.x

This is just in the nature of computers. Things shouldn't break when upgrading minor versions (the 'x' bit in 20.x), but all bets are very much off on major version changes. (16.x -> 18.x, 18.x -> 20.x)

If you want to see what's missing, you can run this in a terminal session:

Code: Select all

ldd /usr/share/scrivener/bin/Scrivener


(Assuming an install from the .deb package)

Finding the packages for the libraries you'll need can be a bit of a faff. For optimum trust, they should come from an Ubuntu archive site. However, I think libpng12 came from some random dropbox a/c that was listed in one of the threads here. I mean, it's probably Just Fine. But, y'know, if I were some black-hatted haxx0r type, that would be a jolly good way of getting someone to install a bank-detail-stealing backdoor...

Anyway.

This is the list of packages that I keep to one side for when I have to re-install Scrivener on a new Ubuntu rig:

Code: Select all

libgstreamer0.10-0_0.10.36-1.5ubuntu1_amd64.deb
libpng12-0_1.2.54-1ubuntu1b_amd64.deb
libgstreamer-plugins-base0.10-0_0.10.36-1_amd64.deb
multiarch-support_2.27-3ubuntu1.2_amd64.deb


If you install them with dependency warnings turned off, you can do without multiarch-support. However, Do Not Do That, because you'll no longer be able to install/upgrade anything else on your machine.

el
elsandkls
Posts: 3
Joined: Mon Aug 24, 2020 11:58 am
Platform: Linux + Windows

Mon Aug 24, 2020 12:11 pm Post

I just reinstalled Scrivener on my Ubuntu box and tried to write a tutorial on the steps. It might help.

http://kidshideaway.net/scrivener-works-under-ubuntu-19

I'm coping with the instructions from the page here, but I'm not sure how well it will look.
Add the sources to the apt config.

Code: Select all

sudo vi /etc/apt/sources.list


Use the editor of your choice, I use vi, not that is a protected file so you must use sudo.

Code: Select all

deb http://us.archive.ubuntu.com/ubuntu/ pool main universe multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial main universe multiverse


Then run the apt command to install the packages.


Code: Select all

sudo apt-get update
sudo apt-get install multiarch-support*
sudo apt-get install gir1.2-gst* libgstreamer-plugins-base0* libgstreamer0*




If you are still getting errors about adding packages try this:



Code: Select all

sudo apt-get install libgthread* libglib* libgobject*  libgbase* libgmodule* libvisual*




If your getting png errors then try the easy way, and restest, if that doesn't work see below instructions for compiling the module on your install so it will be compatible.


Code: Select all

sudo apt-get install libpng12*

el
elsandkls
Posts: 3
Joined: Mon Aug 24, 2020 11:58 am
Platform: Linux + Windows

Mon Aug 24, 2020 12:12 pm Post

Lingering PNG error solution:

PNG errors - Manual install

Code: Select all

cd /usr/lib/x86_64-linux-gnu/

*** your directory may vary

Code: Select all

apt-get update
apt-get upgrade
apt-get autoremove
sudo apt-get install libtool autoconf build-essential pkg-config automake tcsh
wget http://archive.ubuntu.com/ubuntu/pool/main/libp/libpng/libpng_1.2.54.orig.tar.xz
tar -xvf libpng_1.2.54.orig.tar.xz
cd libpng-1.2.54
./autogen.sh
./configure
make -j8
sudo make install
sudo ldconfig

el
elsandkls
Posts: 3
Joined: Mon Aug 24, 2020 11:58 am
Platform: Linux + Windows

Mon Aug 24, 2020 12:15 pm Post

BadPixMap errors
Next, you are probably going to get some perms errors.
To fix the perms error that displays itself as "BadPixMap".

Code: Select all

sudo QT_X11_NO_MITSHM=1 $pathto/$ScrivenerFolder/$ScriverFile


Example:

Code: Select all

 sudo QT_X11_NO_MITSHM=1 /usr/share/scrivener/bin/Scrivener /home/my_user_name/Scrivener_Files/DragonDiary.scriv/DragonDiary.scrivx


That should be it. You should be up and running. If you're not post some error messages and I'll help ya figure it out.

https://github.com/unetbootin/unetbootin/issues/66 -- more information about the reason for the permissions errors.

we
webmost
Posts: 1
Joined: Thu Sep 03, 2020 4:45 pm
Platform: Windows

Thu Sep 03, 2020 4:55 pm Post

Appeared to install without probs... however

will not start

exMPLE OUTPUT:

webmost@ubuntulaptop:~$ ls -al /usr/share/scrivener/scrivener.sh
ls: cannot access '/usr/share/scrivener/scrivener.sh': No such file or directory

webmost@ubuntulaptop:~$ /usr/share/scrivener/bin/scrivener.sh
/usr/share/scrivener/bin/scrivener.sh: 37: exec: /usr/share/scrivener/bin/Scrivener: not found

webmost@ubuntulaptop:~$ ls -al /usr/share/scrivener/bin/Scrivener
-rwxrwxr-x 1 root root 18542548 Oct 20 2015 /usr/share/scrivener/bin/Scrivener

webmost@ubuntulaptop:~$ /usr/share/scrivener/bin/Scrivener
bash: /usr/share/scrivener/bin/Scrivener: No such file or directory

webmost@ubuntulaptop:~$ sudo /usr/share/scrivener/bin/Scrivener
[sudo] password for webmost:
sudo: unable to execute /usr/share/scrivener/bin/Scrivener: No such file or directory

any clues?

Fu
FunkyStickman
Posts: 12
Joined: Sun Sep 02, 2012 1:11 am
Platform: Linux

Thu Nov 26, 2020 3:56 pm Post

I got it running on Ubuntu 20.10 by going to the Ubuntu packages repo website, and downloading/installing these three packages:
gstreamer0.10-plugins-base_0.10.36-2ubuntu0.2_amd64.deb
libgstreamer0.10-0_0.10.36-1.5ubuntu1_amd64.deb
libgstreamer-plugins-base0.10-0_0.10.36-2ubuntu0.2_amd64.deb

You have to get these packages from the 16.04 repo:
https://packages.ubuntu.com/xenial/

ni
nicolasstag
Posts: 4
Joined: Wed Dec 16, 2020 8:17 pm
Platform: Linux + Windows

Sun Jan 10, 2021 4:46 am Post

I can't get it to work on Linux Mint 20.

I downloaded the latest deb and I can't get it to work for the life of me -- I click on the application in my start menu and it does nothing. I tinkered around with installing some of the things listed in previous replies and I can't seem to get it to work. Is anyone else using Mint?

Be
Bezzeb
Posts: 1
Joined: Tue Jan 12, 2021 10:34 am
Platform: Linux

Tue Jan 12, 2021 12:55 pm Post

nicolasstag wrote:I can't get it to work on Linux Mint 20.

I downloaded the latest deb and I can't get it to work for the life of me -- I click on the application in my start menu and it does nothing. I tinkered around with installing some of the things listed in previous replies and I can't seem to get it to work. Is anyone else using Mint?


Hi, I use Scrivener every day on Linux Mint 20, and have done so on every version of Mint going back the better part of a decade. Scrivener for Linux kicks ass, but dealing with old .deb's leads to much pain and sorrow due to "dependency hell".

Good news for us Linux heads though: A while back, i upgraded to Mint 20.1, and of course set about reinstalling Scrivener. To my great joy, I found a wonderful human being over at WayOfLinux has created an "appimage" file which makes it vastly easier get Scrivener working. (If not familiar, "appimage" packages contain their own dependencies, so they can seamlessly run on any Linux distribution under the sun, provided appimages are supported, which with Mint and virtually all distros, has been true for years.)

1. Go DuckDuckGo with the keywords "scrivener appimage" and locate the WayOfLinux web page. Scroll half way down and download the appropriate version.
2. Decompress the archive and place the ".appimage" file in a cozy home folder location for safekeeping. (Doesn't matter where, but it's less messy if you don't move the appimage file after you run it.)
3. Double click the appimage file. When asked something about integrating with the desktop, click okay, and it will set up a launcher menu shortcut.

Voila, bingo. Scrivener runs.

4. Lastly, because i don't work with XML files, I right clicked one of my ".scrivx" files and told it to always use scrivener, and now i just double click them to launch.
4.1 (If you actually do other things with XML files on the regular, you'll have to manually manage when to use Scrivener and when not to.)

The only quirk i notice is that after writing for 3 or 4 hours, the program gets sluggish, so i need to restart it. I'm in the habit of just closing it before i stand up for a break. That saves all edits and lets my cloud backup do its sync business. Then with fresh coffee, i double click my .scrivx file and continue. User interface stays snappy, i just make the bug into a part of my rhythm.

I do wish Lit and Late would take my Linux money. I'd click a donate link or add them to my patreon, but they don't have either. But until then, the appimage file makes version 1.9 essentially eternal.

Good luck and happy Linux Scrivenering!
(If that isn't a verb it should be.)

ni
nicolasstag
Posts: 4
Joined: Wed Dec 16, 2020 8:17 pm
Platform: Linux + Windows

Sun Jan 17, 2021 4:34 pm Post

Bezzeb wrote:
nicolasstag wrote:I can't get it to work on Linux Mint 20.

I downloaded the latest deb and I can't get it to work for the life of me -- I click on the application in my start menu and it does nothing. I tinkered around with installing some of the things listed in previous replies and I can't seem to get it to work. Is anyone else using Mint?


Hi, I use Scrivener every day on Linux Mint 20, and have done so on every version of Mint going back the better part of a decade. Scrivener for Linux kicks ass, but dealing with old .deb's leads to much pain and sorrow due to "dependency hell".

Good news for us Linux heads though: A while back, i upgraded to Mint 20.1, and of course set about reinstalling Scrivener. To my great joy, I found a wonderful human being over at WayOfLinux has created an "appimage" file which makes it vastly easier get Scrivener working. (If not familiar, "appimage" packages contain their own dependencies, so they can seamlessly run on any Linux distribution under the sun, provided appimages are supported, which with Mint and virtually all distros, has been true for years.)

1. Go DuckDuckGo with the keywords "scrivener appimage" and locate the WayOfLinux web page. Scroll half way down and download the appropriate version.
2. Decompress the archive and place the ".appimage" file in a cozy home folder location for safekeeping. (Doesn't matter where, but it's less messy if you don't move the appimage file after you run it.)
3. Double click the appimage file. When asked something about integrating with the desktop, click okay, and it will set up a launcher menu shortcut.

Voila, bingo. Scrivener runs.

4. Lastly, because i don't work with XML files, I right clicked one of my ".scrivx" files and told it to always use scrivener, and now i just double click them to launch.
4.1 (If you actually do other things with XML files on the regular, you'll have to manually manage when to use Scrivener and when not to.)

The only quirk i notice is that after writing for 3 or 4 hours, the program gets sluggish, so i need to restart it. I'm in the habit of just closing it before i stand up for a break. That saves all edits and lets my cloud backup do its sync business. Then with fresh coffee, i double click my .scrivx file and continue. User interface stays snappy, i just make the bug into a part of my rhythm.

I do wish Lit and Late would take my Linux money. I'd click a donate link or add them to my patreon, but they don't have either. But until then, the appimage file makes version 1.9 essentially eternal.

Good luck and happy Linux Scrivenering!
(If that isn't a verb it should be.)


You're my hero -- this worked like a charm. Thank you, thank you, thank you!!!