diff --git a/packaging/check-app-specific.sh b/packaging/check-app-specific.sh index a5d4a93380..244dc6b3cc 100644 --- a/packaging/check-app-specific.sh +++ b/packaging/check-app-specific.sh @@ -21,7 +21,7 @@ for name in ("ai.storyteller.lightcraft.yml", "ai.storyteller.lightcraft.bundle. assert "--talk-name=org.a11y.Bus" in manifest["finish-args"], f"{name} lost --talk-name=org.a11y.Bus" # Without the host's cursor themes the pointer vanishes on Wayland once a tool hides it (#1657). xcursor = [a for a in manifest["finish-args"] if a.startswith("--env=XCURSOR_PATH=")] - assert xcursor == ["--env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons"], f"{name}: XCURSOR_PATH is {xcursor}" + assert xcursor == ["--env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons:~/.cursors"], f"{name}: XCURSOR_PATH is {xcursor}" manifests.append(manifest) for key in ("runtime", "runtime-version", "sdk", "finish-args"): assert manifests[0][key] == manifests[1][key], f"Flatpak manifests disagree on {key}" diff --git a/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml b/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml index cb3fc446c0..795eb33593 100644 --- a/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml +++ b/packaging/linux/flatpak/ai.storyteller.lightcraft.bundle.yml @@ -32,7 +32,7 @@ finish-args: # ~/.icons stays first, as in the default search path: a theme there is found once that folder is # granted (flatpak override --user --filesystem=~/.icons:ro ai.storyteller.lightcraft). The # sandbox's own folders (the app's, the runtime's, an Icontheme extension's) stay searched last. - - --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons + - --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons:~/.cursors # X11 shared memory (MIT-SHM). Without it the X11 fallback is slow or fails. - --share=ipc # GPU access for the wgpu renderer (Vulkan, or GL as a fallback). diff --git a/packaging/linux/flatpak/ai.storyteller.lightcraft.yml b/packaging/linux/flatpak/ai.storyteller.lightcraft.yml index 625c8e91b6..7a2ca36d18 100644 --- a/packaging/linux/flatpak/ai.storyteller.lightcraft.yml +++ b/packaging/linux/flatpak/ai.storyteller.lightcraft.yml @@ -38,7 +38,7 @@ finish-args: # ~/.icons stays first, as in the default search path: a theme there is found once that folder is # granted (flatpak override --user --filesystem=~/.icons:ro ai.storyteller.lightcraft). The # sandbox's own folders (the app's, the runtime's, an Icontheme extension's) stay searched last. - - --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons + - --env=XCURSOR_PATH=~/.icons:/run/host/user-share/icons:/run/host/share/icons:/app/share/icons:/usr/share/icons:/usr/share/runtime/share/icons:~/.cursors # X11 shared memory (MIT-SHM). Without it the X11 fallback is slow or fails. - --share=ipc # GPU access for the wgpu renderer (Vulkan, or GL as a fallback).