-
Notifications
You must be signed in to change notification settings - Fork 8
Buddy configuration
Everytime the app is started, a configuration file called settings.json
is read or created. After modifying the file, the app must be restarted for changes to apply.
On Windows the configuration file is located next to the executable.
On Linux the configuration file is located in $XDG_CONFIG_HOME/moondeckbuddy
or ~/.config/moondeckbuddy
.
default: 59999
The port to be opened by the app for communication.
default: ""
Can be used to enable/disable logging for various categories.
By default, Buddy logs information that is of severity INFO or above. To enable Buddy's debug logs, set the parameter value to "buddy.*.debug=true"
.
default: []
By default, Buddy will change resolution for display(-s) that is marked as primary.
Here you can override this choice, with a list of display names that you want to change resolution for instead.
By default, Buddy will change resolution for the default screen of the default display.
Here you can override the screen choice, with a list of screen names that you want to change resolution for instead.
Note: in the Buddy's configuration the screen is referred to as a display due to different concepts between X11 and Windows. Buddy will always work with the default display from the environment.
Resolution change not supported yet as the API is not mature enough and the compositor support is lacking.
Note: Although we cannot change the resolution directly with sunshine, we can nicely ask the ask the Wayland compositor to set the resolution using sunshine's Do and Undo actions.
Refer to the sunshine documentation section: Changing Resolution and Refresh Rate.
You can enable the debug mode to check what displays are available as they are printed when trying to change resolution.
default: ""
Specifies where to find the apps.json
file from Sunshine.
If the value is left empty (default):
- on Windows the registry will be checked for possible Sunshine installation directory;
- on Linux the default config location is used as a fallback (
$XDG_CONFIG_HOME/sunshine
or~/.config/sunshine
).
default: false
If set to true
, the Buddy will try to put the PC into hibernation mode if it is available. Otherwise it will try to suspend the PC as usual.
default: "SecureProtocols"
Allows to set the SSL protocol that is used by Buddy server. Some systems have problems when using the latest TLS version, so with this option one can downgrade the version.
Possible values:
-
SecureProtocols
- whatever the Qt Framework deems as secure; -
TlsV1_2
; -
TlsV1_2OrLater
; -
TlsV1_3
; -
TlsV1_3OrLater
.
default: true
If set to true
, the Buddy will try open Steam in Big Picture mode before launching the game.
If set to false
, it is up to the user to ensure that the game is launched in time (by clliking on launcher or by other means) before MoonDeck times out!
default: true
If set to true
, the Buddy will try to close Steam before going to sleep or hibernation. Some games are able to recover after sleep, while others will just crash the OS and restart the PC. Use with caution!
default: ""
If Buddy fails to select the correct MAC address, you can override it using this setting. Supported formats:
XX:XX:XX:XX:XX:XX
XX-XX-XX-XX-XX-XX
default: ""
Specify custom registry.vdf
location. Needed if running Steam from flatpak.
Example location: /home/frog/.var/app/com.valvesoftware.Steam/.steam/registry.vdf
.
default: ""
Specify custom Steam binary location. Needed if running Steam from flatpak.
In case you're using flatpak:
- Create a file that you want to use as binary.
- Set the contents to:
#!/bin/sh
exec flatpak run com.valvesoftware.Steam "$@"
chmod +x <file>
- Use the new file as Steam binary.