I’ve done some work, no success but some of the results might be useful.
PPA for Ubuntu 20.04:
Snap definition:
name: komorebi-unofficial
summary: komorebi
description: |
Note: this is not an official release.
version: '2.2.1'
grade: stable
confinement: strict
base: core20
license: GPL-3.0
icon: snap/gui/icon.png
architectures:
- build-on: amd64
package-repositories:
- type: apt
ppa: readableauthor/ppa
parts:
komorebi:
plugin: nil
stage-packages:
- komorebi
# This part removes all the files in this snap which already exist in
# connected content and base snaps. Since these files will be available
# at runtime from the content and base snaps, they do not need to be
# included in this snap itself.
#
# More info: https://forum.snapcraft.io/t/reducing-the-size-of-desktop-snaps/17280#heading--cleanup-part
#
cleanup:
after: # Make this part run last; list all your other parts here
- komorebi
plugin: nil
build-snaps: # List all content-snaps and base snaps you're using here
- core20
- gnome-3-38-2004
override-prime: |
set -eux
for snap in "core20" "gnome-3-38-2004"; do # List all content-snaps and base snaps you're using here
cd "/snap/$snap/current" && find . -type f,l -exec rm -f "$SNAPCRAFT_PRIME/{}" \;
done
apps:
komorebi-unofficial:
extensions:
- gnome-3-38
command: usr/bin/komorebi
desktop: usr/share/applications/org.komorebiteam.komorebi.desktop
environment:
# PATH: /snap/gnome-3-34-1804/current/usr/bin:/snap/gnome-3-28-1804/current/usr/bin:/snap/gnome-3-38-2004/current/usr/bin:$PATH
PYTHONPATH: $SNAP/usr/lib/python3/dist-packages:$SNAP/usr/lib/python3.6/site-packages:$SNAP/usr/local/lib/python3.6/dist-packages:$SNAP/usr/lib/python3.6/dist-packages:$PYTHONPATH
# Fallback to XWayland if running in a Wayland session.
DISABLE_WAYLAND: 1
plugs:
- home
- opengl
- audio-playback
Snap log output:
Gtk-Message: 21:02:00.329: Failed to load module "canberra-gtk-module"
Gtk-Message: 21:02:00.334: Failed to load module "canberra-gtk-module"
No configuration file found. Creating one..
[INFO]: loading Gst
[ERROR]: got an invalid wallpaper. Setting to default: foggy_sunny_mountain
** (komorebi:49274): CRITICAL **: 21:02:00.569: file komorebi@exe/src/Utilities.c: line 1142: uncaught error: No such file or directory (g-file-error-quark, 4)
** (komorebi:49274): WARNING **: 21:02:00.672: Could not open /sys/class/dmi/id/chassis_type: Failed to open file “/sys/class/dmi/id/chassis_type”: Permission denied
** (komorebi:49274): WARNING **: 21:02:00.672: Could not open /sys/firmware/acpi/pm_profile: Failed to open file “/sys/firmware/acpi/pm_profile”: Permission denied
(komorebi:49274): Clutter-Gst-CRITICAL **: 21:02:01.248: Unable to create playbin element
**
Clutter-Gst:ERROR:clutter-gst-playback.c:2018:clutter_gst_playback_init: assertion failed: (priv->pipeline != NULL)
Bail out! Clutter-Gst:ERROR:clutter-gst-playback.c:2018:clutter_gst_playback_init: assertion failed: (priv->pipeline != NULL)
Aborted (core dumped)