Ubuntu 20.04 has some problems with Deep Art Effects, this is Ubuntu’s fault (they broke Java 8).
Happily there is a solution to this problem that fixes Java 8 as is explained below.
First thing first
You want to download Deep Art Effects to start with. When prompted select the “Save to disk” option, attempting to open it at this stage it won’t work properly if at all.
Go to Deep Art Effects and download the latest version for Linux
Scary time!
OK – Open up a terminal, You’re now going to type in (or cut & paste) EXACTLY what’s written in the grey boxes here
Start off by making sure everything is up to date, update anything that needs it
sudo apt-get update sudo apt-get upgrade
Next you need to install Java and JavaFX
sudo apt-get install openjdk-8-jre sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
You now need to install a package called OpenJFX and it’s support files, this is the stuff they originally broke after 16.04. You can still install it, you just have to ask for a specific version which you can do like this.
Ubuntu 20.04 needs access to some files from 16.04 but these versions are no longer compatible with 20.04. Don’t worry, we’ve got fixed versions – we’ll get to those soon..
As you’re going to be using some minimally altered system files you need to install the files that are required to support them before you try installing our altered versions.
sudo apt-get install libavcodec-dev libavcodec-extra libavformat-dev
With that done you need to download this file and use the “Save to disk” option.
The contents of the file are minimally altered versions of the pre-existing Ubuntu 16.04. Basically all we did was change the specific dependencies to make them accept the above libav* files as accptable for use (which they are)
Now you can install the specific version of OpenJFX that works with Java 8 using our modified .deb files.
cd ~/Downloads tar zxvf dae-ubuntu-20.04-java-fix.tgz cd dae-ubuntu-20.04-java-fix sudo dpkg -i libopenjfx-jni_8u161-b12-1ubuntu2_amd64.deb libopenjfx-java_8u161-b12-1ubuntu2_all.deb openjfx_8u161-b12-1ubuntu2_amd64.deb cd ~
A problem here is that the next time the system checks for new versions it’ll find the bad version of OpenJFX and upgrade to it, you don’t want to do this.
sudo apt-mark hold openjfx libopenjfx-java libopenjfx-jni dpkg --get-selections | grep hold
The second line above is just to check, you should see the three packages with all marked ‘hold’. This means that when the system updates it’ll leave the good OpenJFX where it is.
Finally you can install Deep Art Effects
cd ~ sudo dpkg -i Downloads/deep-art-effects-linux-1.2.5.deb
You can now start up Deep Art Effects by clicking on Applications at the top left of your screen and typing in ‘deeparteffects’