Flatpak is a cross-distribution framework for distribution and running of sandboxed applications. XDG Desktop Portal provides Nuvola Player with desktop integration. KDE Discover and GNOME Software make the browsing and installation of Flatpaks easier.
All required packages are available in OpenSUSE repositories, run following commands as root/sudo to install them:
zypper install flatpak xdg-desktop-portal xdg-desktop-portal-kde discover
zypper install flatpak xdg-desktop-portal xdg-desktop-portal-gtk gnome-software
Then restart your computer to add Flatpak paths alongside the system ones. Otherwise, you may see strange errors. Unfortunately, just logging out and logging in is not enough.
The Flathub repository provides GNOME Platform runtime, which is used by Nuvola to share common dependencies with other Flatpak apps to reduce disk & memory usage. The Nuvola Player repository contains Nuvola Player Service and individual integration scripts.
Although GNOME Software can open Flatpak repository files
*.flatpakrepo) directly since the version 3.22,
is currently broken in Leap 15.0 (it works in OpenSUSE Tumbleweed
though). You need to run following commands instead:
gnome-software --local-filename flathub.flatpakrepo
gnome-software --local-filename nuvola.flatpakrepo
Finally, refresh the database of packages: Launch GNOME Software → switch to the Updates screen → click the Refresh button in the top left corner.
Launch a Linux terminal emulator and run following commands:
flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak remote-add --if-not-exists nuvola https://dl.tiliado.eu/flatpak/nuvola.flatpakrepo
Nuvola Player Service is an optional background service that provides integration scripts with global shared resources such as a global configuration storage, global keyboard shortcuts, a HTTP remote control server, and a command-line controller. While this service is optional, the installation is recommended.
In order to install Nuvola Player Service with KDE Discover, launch KDE Discover, search for Nuvola Player Service and finally click the Install button.
In order to install Nuvola Player Service with GNOME Software, launch GNOME Software, search for Nuvola Player Service and finally click the Install button.
Alternatively, launch a Linux terminal emulator and run a following command:
flatpak install nuvola eu.tiliado.Nuvola