feat(apps): add per-app output_name stream-audio override fix .desktop for artix with openrc#5364
Closed
DipCrai wants to merge 4 commits into
Closed
feat(apps): add per-app output_name stream-audio override fix .desktop for artix with openrc#5364DipCrai wants to merge 4 commits into
DipCrai wants to merge 4 commits into
Conversation
Allow each application to specify its own output_name to override the global display capture setting. This enables users to stream different displays per application without restarting Sunshine. The field is optional - when left empty, the global output_name setting is used as before.
Member
|
Thank you for the PR! I have the same feedback as #4863 (review) |
Author
|
okay :) thank you for the reply. btw i'm using build with this changes now. i just wanted to make one app for mirroring my screen and the other one for displaying my virtmon :) |
When systemd is not found (e.g. Artix with OpenRC), generate the .desktop file with a direct Exec line instead of using systemctl.
Add a checkbox to override audio streaming per application. Fix save/restore of both output_name and stream_audio so that apps without overrides always use the global config.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Allow each application to specify its own output-name to override the global display capture setting. This enables users to stream different displays per application without restarting Sunshine.
Each application can also override audio streaming with an optional stream-audio checkbox — useful for headless or second-monitor setups where host audio should be muted.
Both fields are optional — when left empty/unset, the global config is used as before.
Description
Per-app Display Id (output-name)
An optional Display Id (output-name) field per application, letting each app capture a different display without restarting Sunshine or running multiple instances.
Per-app audio streaming (stream-audio)
A new Stream Audio checkbox per application, allowing per-app control of audio streaming. When unchecked, no audio will be streamed for that app.
Desktop file init auto-detect
The
.desktopfile now auto-detects whether systemd is available. On systems without systemd (e.g. Artix with OpenRC),Execpoints directly to the sunshine binary instead ofsystemctl start ....Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage