flathub / flathub/dev.lizardbyte.app.Sunshine

Possible solution for the opened terminal.

Open
#162 12 comments 0 reactions 0 assignees View on GitHub
Dominant language
Shell
Stars
4
Forks
5
Avg merge
52m
Merged PRs (30d)
2

Description

KDE Debian 12 (wayland)

The use of this flatpak was cumbersome but since the official didn't work for me I used this. The proble was that i had to manually run this ```
sudo -i PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print$3}') \
flatpak run dev.lizardbyte.app.Sunshine```
with an opened terminal so i can use it.

I have a clean proposal to this:

1. Install pkexec
2. Make a script, example:
#!/bin/sh
PULSE_SERVER=unix:$(pactl info | awk '/Server String/{print $3}') flatpak run dev.lizardbyte.app.Sunshine

, place it somewhere and make it executable
3. change the desktop entry's Exec `Exec=pkexec /path/to/sunshine-wrapper.sh`

I don't think this is a great solution but if we make all these steps into a single script file the experience will be far better.

this is an example sh file that works on debian:
[gist file](https://gist.github.com/zachvlat/91899b7f4a775f19f4c9643e731e5d77)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.