App Examples#
Since not all applications behave the same, we decided to create some examples to help you get started adding games and applications to Sunshine.
Attention
Throughout these examples, any fields not shown are left blank. You can enhance your experience by
adding an image or a log file (via the Output
field).
Common Examples#
Desktop#
Field |
Value |
Application Name |
|
Image |
|
Steam Big Picture#
Note
Steam is launched as a detached command because Steam starts with a process that self updates itself and the original process is killed. Since the original process ends it will not work as a regular command.
Field |
Linux |
macOS |
Windows |
Application Name |
|
||
Detached Commands |
|
|
|
Image |
|
Epic Game Store game#
Note
Using URI method will be the most consistent between various games, but does not allow a game to be launched using the “Command” and therefore the stream will not end when the game ends.
URI (Epic)#
Field |
Windows |
Application Name |
|
Detached Commands |
|
Binary (Epic w/ working directory)#
Field |
Windows |
Application Name |
|
Command |
|
Working Directory |
|
Binary (Epic w/o working directory)#
Field |
Windows |
Application Name |
|
Command |
|
Steam game#
Note
Using URI method will be the most consistent between various games, but does not allow a game to be launched using the “Command” and therefore the stream will not end when the game ends.
URI (Steam)#
Field |
Linux |
macOS |
Windows |
Application Name |
|
||
Detached Commands |
|
|
|
Binary (Steam w/ working directory)#
Field |
Linux |
macOS |
Windows |
Application Name |
|
||
Command |
|
|
|
Working Directory |
|
|
Binary (Steam w/o working directory)#
Field |
Linux |
macOS |
Windows |
Application Name |
|
||
Command |
|
|
Linux#
Changing Resolution and Refresh Rate (Linux - X11)#
Field |
Value |
Command Preparations |
Do: |
Undo: |
Changing Resolution and Refresh Rate (Linux - Wayland)#
Field |
Value |
Command Preparations |
Do: |
Undo: |
Flatpak#
Attention
Because Flatpak packages run in a sandboxed environment and do not normally have access to the host,
the Flatpak of Sunshine requires commands to be prefixed with flatpak-spawn --host
.
macOS#
Changing Resolution and Refresh Rate (macOS)#
Note
This example uses the displayplacer tool to change the resolution. This tool can be installed following instructions in their GitHub repository.
Field |
Value |
Command Preparations |
Do: |
Undo: |
Windows#
Changing Resolution and Refresh Rate (Windows)#
Note
This example uses the QRes tool to change the resolution and refresh rate. This tool can be downloaded from their SourceForge repository.
Field |
Value |
Command Preparations |
Do: |
Undo: |
Tip
You can change your host resolution to match the client resolution automatically using the Nonary/ResolutionAutomation project.