+ @PROJECT_LONG_DESCRIPTION@ +
+ +NOTE: Allow Sunshine Virtual Input (Required)
+sudo chown $USER /dev/uinput && echo 'KERNEL=="uinput", SUBSYSTEM=="misc", + OPTIONS+="static_node=uinput", TAG+="uaccess"' | sudo tee + /etc/udev/rules.d/60-sunshine-input.rules
+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@
+@PROJECT_LONG_DESCRIPTION@ diff --git a/packaging/linux/sunshine.desktop b/packaging/linux/sunshine.desktop index 71955530..bc8a995c 100644 --- a/packaging/linux/sunshine.desktop +++ b/packaging/linux/sunshine.desktop @@ -4,7 +4,7 @@ Name=@PROJECT_NAME@ Exec=/usr/bin/env systemctl start --u sunshine Version=1.0 Comment=@PROJECT_DESCRIPTION@ -Icon=sunshine +Icon=@SUNSHINE_DESKTOP_ICON@ Keywords=gamestream;stream;moonlight;remote play; Categories=AudioVideo;Network;RemoteAccess; Actions=RunInTerminal; diff --git a/packaging/linux/sunshine.service.in b/packaging/linux/sunshine.service.in index 008179a6..df914ebf 100644 --- a/packaging/linux/sunshine.service.in +++ b/packaging/linux/sunshine.service.in @@ -4,7 +4,8 @@ StartLimitIntervalSec=500 StartLimitBurst=5 [Service] -ExecStart=@SUNSHINE_EXECUTABLE_PATH@ +@SUNSHINE_SERVICE_START_COMMAND@ +@SUNSHINE_SERVICE_STOP_COMMAND@ Restart=on-failure RestartSec=5s