Sample Header Ad - 728x90

OBS can't do window capture under Sway

3 votes
1 answer
2756 views
I'm running Fedora Linux with Sway, and I wanted to capture some stuff with OBS.  However, there is simply no option to do a "Window capture".  As far as I can tell, this is usually attributed to problems with PipeWire or xdg-desktop-portal-wlr.  Despite that, I can do a full screen capture – that works via PipeWire, and to select the monitor it prompts me with a nice window, which is, presumably, generated by xdg-desktop-portal-wlr.  So, I guess, those work just fine: screenshot showing Screen Capture source selection (?) window As suggested in xdg-desktop-portal-wlr GitHub repo, I've also added this to my sway config: exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway However, that didn't really help.  What else can cause OBS to refuse to capture windows?
Asked by keddad (643 rep)
Dec 9, 2021, 09:48 AM
Last activity: Jun 20, 2022, 05:28 PM