Skip to content

Possible solution for the opened terminal. #162

@zachvlat

Description

@zachvlat

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions