Find a file
columbarius bae393a684 screencast: support modifiers in build_format
When announcing support for dmabufs via PipeWire this is done by adding
the SPA_FORMAT_VIDEO_modifier property to an EnumFormat. Producers can
choose between two different ways [1]:

* Supporting only implicit modifiers by adding the property as a sigle
  value together with the SPA_POD_PROP_FLAG_MANDATORY flag
* Support for multiple modifiers. This is done by announcing a
  SPA_CHOICE_ENUM array together with the use of the
  SPA_POD_PROP_FLAG_MANDATORY and SPA_POD_PROP_FLAG_DONT_FIXATE flag

[1] https://docs.pipewire.org/page_dma_buf.html
2022-04-10 13:38:01 +02:00
.builds ci: drop FreeBSD workaround after 22af25749e 2021-06-01 18:24:28 +02:00
contrib contrib/systemd: add ConditionEnvironment 2021-05-03 18:17:29 -04:00
include screencast: introduce buffer_type 2022-04-10 13:38:01 +02:00
protocols build: remove intermediate static library 2021-04-18 15:02:44 +02:00
src screencast: support modifiers in build_format 2022-04-10 13:38:01 +02:00
.editorconfig Add yml exception to editorconfig 2020-03-13 21:01:32 +01:00
.gitignore Fix CI with libpipewire02, libdrm. Remove png.h unused import. Cleanup style. 2020-03-13 21:01:32 +01:00
CONTRIBUTING.md Fix link to trigger-screen-shot.py 2021-03-04 20:42:40 +01:00
LICENSE Initial commit 2018-12-12 11:46:19 +01:00
meson.build build: define _GNU_SOURCE for PipeWire 0.3.49 2022-04-04 13:08:47 +02:00
meson_options.txt Add man page 2021-03-15 18:09:32 +01:00
org.freedesktop.impl.portal.desktop.wlr.service.in Add D-Bus and systemd service files 2020-04-10 10:48:41 +02:00
README.md readme: update IRC channel 2021-05-26 08:35:38 +02:00
wlr.portal Add wlroots to portal manifest UseIn list 2021-04-23 16:51:07 +02:00
xdg-desktop-portal-wlr.5.scd Fix typo 2021-12-23 18:25:44 +01:00

xdg-desktop-portal-wlr

builds.sr.ht status

xdg-desktop-portal backend for wlroots

Building

meson build
ninja -C build

Installing

From Source

ninja -C build install

Distro Packages

Packaging status

Running

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:

exec dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway

When correctly installed, xdg-desktop-portal should automatically invoke xdg-desktop-portal-wlr when needed.

Configuration

See man 5 xdg-desktop-portal-wlr.

Manual startup

At the moment, some command line flags are available for development and testing. If you need to use one of these flags, you can start an instance of xdpw using the following command:

xdg-desktop-portal-wlr -r [OPTION...]

To list the available options, you can run xdg-desktop-portal-wlr --help.

FAQ

Check out or FAQ for answers to commonly asked questions.

Please see the screencast compatibility guide for more information on compatible applications and how to get them working.

If you have a question or problem that is not mentioned in those documents, please open an issue or come chat with us in #sway on Libera Chat.

Contributing

If you're interested in testing or development, check out CONTRIBUTING.md for more information.

License

MIT