From 24d3ecd6d6dc9d6cfd1025542bbcc7310e94b5a2 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 | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 49b023e1..a9a0514a 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -23,13 +23,21 @@ 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: + - 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: