![](/static/f79995a8/assets/icons/icon-96x96.png)
![](https://lemmy.ml/pictrs/image/4qCJsb8xk5.png)
Another option may be to try using a dummy plug to fake a monitor with whatever resolution and aspect ratio you need. There are scripts that work with the sunshine/moonlight combo already listed that will switch your primary to the dummy plug when connected and switch back on disconnect.
Yea! It’s just an hdmi plug with no cable that makes your machine think that a monitor is plugged in. They are about $5-$10 online. You can set it to whatever resolution that you want so when you turn your main monitor off, this dummy monitor is still “on” and it will be what gets used when you start streaming to another device. There are ways to automatically switch to this dummy monitor and turn off all other monitors when you connect to stream and set everything back when you disconnect but I haven’t messed with that yet.