Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: virtual desktop triggers #173

Open
alexforencich opened this issue Apr 27, 2021 · 4 comments · May be fixed by #181
Open

Feature request: virtual desktop triggers #173

alexforencich opened this issue Apr 27, 2021 · 4 comments · May be fixed by #181

Comments

@alexforencich
Copy link

The use of virtual desktops is becoming more common. It would be great if there was a way to select different scenes based on the currently-selected virtual desktop. For instance, this could be used to prevent certain virtual desktops from being streamed accidentally by switching to a static image or freeze frame or similar.

@WarmUpTill
Copy link
Owner

Thanks for the suggestion!

Can you give a concrete example how to set up and use virtual desktops, just to avoid that I am misunderstanding what you are referring to when talking about virtual desktops?

Also which OS are you referring to and do you happen to know where to find the corresponding API?

@alexforencich
Copy link
Author

alexforencich commented Apr 29, 2021

I'm running XFCE on Arch Linux, but I know virtual desktops are a thing on most linux distros, on OSX, and on windows. Maybe virtual desktops is not the most common term, some googling returned "multiple desktops" and "workspaces". Anyway, the idea is you can basically have different "sets" of windows and you can cycle through which one is the active one. Maybe you have email on one, web browser on another, text editor on another, etc. The idea is that if you switch to, say, the email virtual desktop, you could set up OBS to freeze the frame before the switch, blur the screen, display an image, etc. until switching to a different virtual desktop. Or perhaps you want to queue up different programs on different virtual desktops, and then use a different scene in OBS for some of them (perhaps with different overlays, or with overlays in different positions) and have OBS switch automatically when switching desktops.

@WarmUpTill WarmUpTill linked a pull request May 14, 2021 that will close this issue
@WarmUpTill
Copy link
Owner

WarmUpTill commented May 14, 2021

I now added a first draft of the requested functionality with the linked PR.
So far I have only implemented the necessary functions for Linux.
virtual-desktop

You can find a test build here in a few minutes:
https://github.com/WarmUpTill/SceneSwitcher/actions/runs/843620834

Let me know if you run into any issues!
And sorry that it took so long for me to create a first somewhat working version of your request.

@WarmUpTill
Copy link
Owner

I merged the changes contained in the recent release to the virtual-desktop branch and started a new build:
https://github.com/WarmUpTill/SceneSwitcher/actions/runs/912233736

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants