From fe491eef36e8d322d5464953dd53b837e6bfbb9f Mon Sep 17 00:00:00 2001 From: Philippe Coval Date: Wed, 10 Mar 2021 17:22:51 +0100 Subject: [PATCH] snap: Add daemon and update title of window Title can be retrieved using xwininfo on Xorg Resolution maybe be manually adjusted, Full path are used to revent rentrance Change-Id: Ibf5a71da0b6b5fe56ddcf4ed5c7811c6632c8500 Relate-to: https://github.com/adoptware/pinball/issues/21 Signed-off-by: Philippe Coval --- snap/snapcraft.yaml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 49b023e1..0ffb912f 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -23,13 +23,22 @@ plugs: environment: LD_LIBRARY_PATH: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/pulseaudio" LIBGL_DRIVERS_PATH: "$SNAP/usr/lib/$SNAPCRAFT_ARCH_TRIPLET/dri" - XWAYLAND_FULLSCREEN_WINDOW_HINT: title="pinball" + XWAYLAND_FULLSCREEN_WINDOW_HINT: title="Emilia Pinball" apps: + daemon: + command-chain: + - bin/run-daemon + - usr/local/bin/xwayland-kiosk-launch + command: usr/local/bin/pinball + daemon: simple + restart-condition: always pinball: command: usr/local/bin/pinball xwayland-kiosk-pinball: - command: usr/local/bin/xwayland-kiosk-launch pinball --fullscreen + command-chain: + - usr/local/bin/xwayland-kiosk-launch + command: usr/local/bin/pinball layout: /usr/local: