From 4010509f4da4f7d288dbebbce0f839a47942cb8c Mon Sep 17 00:00:00 2001 From: Tarulia Date: Mon, 2 Feb 2026 17:29:56 +0100 Subject: [PATCH] linux: Check for no desktop portal being present --- checks/linux.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/checks/linux.py b/checks/linux.py index c4b5eac..d51605d 100644 --- a/checks/linux.py +++ b/checks/linux.py @@ -96,8 +96,9 @@ def checkWayland(lines): return [LEVEL_CRITICAL, "Running under XWayland", "OBS is running under XWayland, which prevents OBS from being able to capture.
To fix that, you will need to run OBS with the following command in a terminal:

obs -platform wayland

"] - hasNoPipewireCapture = search('[pipewire] No capture', lines) - if len(hasNoPipewireCapture) > 0: + hasPipewirePortal = search('[pipewire]', lines) + hasNoPipewireCapture = search('[pipewire] No capture', hasPipewirePortal) + if not hasPipewirePortal or hasNoPipewireCapture: return [LEVEL_CRITICAL, "No PipeWire capture on Wayland", """In order to capture displays or windows under Wayland, OBS requires the appropriate PipeWire capture portal for your Desktop Environment.

An overview of available capture portals can be found on the Arch Linux Wiki: