How to fix niri window manager screen capture

Jan 22, 2026    #niri   #niri-wm   #window-manager   #obs   #wayland   #screen-share   #screen-capture   #compositor   #smithay-compositor   #niri-window-manager   #screen-sharing   #pipewire  

What is the issue?

  1. The main issue here is the portal you do not have the correct portals.
  2. Niri is not starting correctly.
  3. Portals are overidden by other portals or not starting at all .

Let’s address them one by one

1. For niri you only need these two(three) necessary portal to do screen sharing

find these packages in your corresponding distro and install them.

2. to fix this you just have to run this on startup(tty)

# systemd
niri-session
# others
dbus-run-session niri --session

3. To address this issue,

~/.config/xdg-desktop-portal

[preferred]
org.freedesktop.impl.portal.FileChooser=gnome;
org.freedesktop.impl.portal.ScreenCast=gnome;
org.freedesktop.impl.portal.Screenshot=gnome;
org.freedesktop.impl.portal.RemoteDesktop=gnome;

ref: niri wiki