What does xdg-desktop-portal do?
xdg-desktop-portal offers a way for Flatpak applications to integrate with the desktop. It can allow applications to open URL's, share your screen and more. Depending on the implementation for your desktop there is a confirmation dialog before the application is able to access some portals.
How do I install xdg-desktop-portal?
How To Install xdg-desktop-portal-gnome on Ubuntu 22.04sudo apt-get update. Copy. After updating apt database, We can install xdg-desktop-portal-gnome using apt-get by running the following command: ... sudo apt update. Copy. ... sudo aptitude update. Copy. ... sudo apt-get -y purge xdg-desktop-portal-gnome. Copy.
What is xdg-desktop-portal WLR?
xdg-desktop-portal-wlr (or xdpw for short) allows applications to request screenshots and screencasts via xdg-desktop-portal in wlroots-based Wayland compositors.
Make sure XDG_CURRENT_DESKTOP is set. Make sure WAYLAND_DISPLAY and XDG_CURRENT_DESKTOP are imported into D-Bus. If you're running Sway, this can be added to your config file:
If you're interested in testing or development, check out CONTRIBUTING.md for more information.