Use Powershell cmdlet DisplayConfig to manage display setup #578
Unanswered
yufanyufan
asked this question in
Sunshine
Replies: 1 comment
-
There is NO recommendation at all. These are just examples. If you'd like you could submit this to https://github.com/LizardByte/awesome-sunshine |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Show & Tell
Body
The current recommendation of managing display setup uses long list of tools, like qres, MultiMonitorTool, hdr-switch.
Some of those tools are not updated in years.
I suggest to update the doc to use DisplayConfig as example.
DisplayConfig can handle monitor switch, resolution, refresh rate, hdr, scaling. It is everything in one open source package.
https://www.powershellgallery.com/packages/DisplayConfig
Example:
powershell -c 'Set-DisplayPrimary 1'
powershell -c "Set-DisplayResolution 1 -Width $Env:SUNSHINE_CLIENT_WIDTH -Height $Env:SUNSHINE_CLIENT_HEIGHT"
powershell -c 'Set-DisplayScale 1 -Scale 200'
powershell -c 'if ($Env:SUNSHINE_CLIENT_HDR -eq \"true\") {Set-DisplayHdr 1 -EnableHDR}'
Beta Was this translation helpful? Give feedback.
All reactions