Make screenshare work in wayland

(under Archlinux/sway) ..

Packages to install:

  • xdg-desktop-portal
  • xdg-desktop-portal-wlr
  • optionally wireplumber

ENV to set:

export XDG_CURRENT_DESKTOP=sway
export QT_QPA_PLATFORM=wayland

# or put this in sway config 
exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway

Programs to run

pipewire
/usr/lib/xdg-desktop-portal-wlr -p BGRx 
/usr/lib/xdg-desktop-portal
wireplumber
edited 13.01.2023
created 25.11.2021
EOF
[+] click to leave a comment [+]
the comment system on this blog works via email. The button
below will generate a mailto: link based on this page's url 
and invoke your email client - please edit the comment there!

[optional] even better, encrypt the email with my public key

- don't modify the subject field
- specify a nickname, otherwise your comment will be shown as   
  anonymous
- your email address will not be disclosed
- you agree that the comment is to be made public.
- to take down a comment, send the request via email.

>> SEND COMMENT <<