Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Discussion options

Hi, Is it possible to interact with companion app via CLI? I want to interact with it from a script, to be able to enable the driver once connection from Moonlight to Sunshine is initiated and set proper resolution to the display that would come from the client request, and disable once streaming is ended, can I do that currently? And if so, how?

I am currently doing something similar with usbmmidd and disabling the driver on the fly.

You must be logged in to vote

Replies: 1 comment

Comment options

From results point of view:
It could be a little rude as it is VDD github but I think Apollo (fork of sunshine) with built in virtual display can achieve exactly what You are trying to do. It takes client requested resolution (moonlight resolution setting), creates virtual display for this resolution when streaming, and disables it when stream ends. No needs to fiddle with scripts etc.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
🙏
Q&A
Labels
None yet
2 participants
Morty Proxy This is a proxified and sanitized view of the page, visit original site.