Question / Help [i3wm]Record only a workspace

Antonio05200

New Member
Hi,
I’m using obs-studio in i3wm. I would like to know if it is possible recording a i3 workspace while I’m not using it. Thanks
 

whjones2

New Member
I don't think that's possible, as X hasn't rendered that workspace. You can try stacking windows, as you'll be on the same workspace as OBS, but you'll still be restricted to one windows at a time, as opposed to one workspace at a time. I'm going through my own whiteboard process to determine the best way to use OBS with i3wm on Arch Linux.
 

whjones2

New Member
Aloha Antonio05200,

I may have misspoken in my original response to your query. I still don't think there's a way to recored a workspace you are not using, but you can switch to other workspaces while recording. I noticed an OBS icon in the right-hand-most corner of my i3bar. When I right-clicked on the icon, I saw a 'Hide' option. Furthermore, when you set up a Hotkey, you are then able to switch to a different workspace. I should have watched a few more OBS tutorial videos on YouTube before I answered. The only problem I'm having is that I'm using an Intel NUC7i5BNH, which is a mini-computer (it's like an Apple Mac Mini, but with Arch Linux inside), with a 7th generation Core i5 CPU with integrated graphics (Iris Plus Graphics). I still get a bit of screen flicker when I record, but that may be down to the CPU.

To better explain my answer, when you look at the Screen Capture source, you are capturing Screen 0. When you switch to another workspace, you are moving that workspace to Screen 0, so in effect, you are using the new workspace. You are not recording the previous workspace any longer. I hope this helps to answer your question. If you have any other questions, or would like any further explanation of my answer, please respond to this thread.
 

cranix

New Member
Thank you, whjones2, your last paragraph explained why I couldn't get a video running in a browser in a different workspace to display in OBS other than a still snapshot.

I'm completely new to OBS and trying to get it working on linux and Windows 10. Windows 10 is the first version to have multiple desktops (like linux has had for years). Having the browser running a video in one workspace and OBS in another works fine on the Windows box. I couldn't see what I was doing wrong on linux but your second paragraph makes sense.
 
Top