From 26862595d0e744b141e0c3b8c926587a90ce77a6 Mon Sep 17 00:00:00 2001 From: Rico Harnisch Date: Sun, 6 Oct 2024 14:56:17 +0200 Subject: [PATCH] Corrected documentation of startup calls for Linux+Flatpak: This resolves issue #3261. --- docs/getting_started.md | 2 +- .../linux/flatpak/dev.lizardbyte.app.Sunshine.metainfo.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index 02de66e3882..4b0533ee0b6 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -224,7 +224,7 @@ flatpak run dev.lizardbyte.app.Sunshine ##### Run with KMS capture (Wayland & X11) ```bash -sudo -i PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print$3}') flatpak run dev.lizardbyte.app.Sunshine +sudo -i PULSE_SERVER=unix:/run/user/$(id -u $whoami)/pulse/native flatpak run dev.lizardbyte.app.Sunshine ``` ##### Uninstall diff --git a/packaging/linux/flatpak/dev.lizardbyte.app.Sunshine.metainfo.xml b/packaging/linux/flatpak/dev.lizardbyte.app.Sunshine.metainfo.xml index 7b4f1f18a86..43c4cbdfe32 100644 --- a/packaging/linux/flatpak/dev.lizardbyte.app.Sunshine.metainfo.xml +++ b/packaging/linux/flatpak/dev.lizardbyte.app.Sunshine.metainfo.xml @@ -32,7 +32,7 @@

flatpak run --command=additional-install.sh @PROJECT_FQDN@

NOTE: Sunshine uses a self-signed certificate. The web browser will report it as not secure, but it is safe.

NOTE: KMS Grab (Optional)

-

sudo -i PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print$3}') flatpak run @PROJECT_FQDN@

+

sudo -i PULSE_SERVER=unix:/run/user/$(id -u $whoami)/pulse/native flatpak run @PROJECT_FQDN@