-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: sway-portals.conf for xdg-desktop-portals #7773
Labels
enhancement
New feature or incremental improvement
Comments
Sway does not officially support xdg-desktop-portal. xdpw is a third-party project. I don't think it's Sway's responsibility to ship any kind of portal-related file. |
Ok -- i'll got for a note in the Arch Wiki. |
archlinux-github
pushed a commit
to archlinux/aur
that referenced
this issue
Oct 29, 2023
As of version 1.17, xdg-desktop-portal requires desktops to declare which portals should be used. For Sway, this requires a file /usr/share/xdg-desktop-portal/sway-portals.conf (or a local user config). A reasonable default is to use GTK for the file picker (as wlr doesn't have file picker support) and wlr for screencast/screenshot support. Fedora does this similarly. [1] Upstream is not interested in shipping a configuration file [2] so we need to do it downstream. Fixes #72297 Fixes #79883 [1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf [2] swaywm/sway#7773 See https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/commit/c85a455eb653256b57b0b1661e398a48946e85b4
Hello! Could be this issue related to the fact that I can't record my screen anymore? Thanks |
Open a new issue for this. |
WillPower3309
pushed a commit
to WillPower3309/swayfx
that referenced
this issue
Nov 27, 2023
Integrates commits c85a455e and 2f9c63b0 from extra/sway. Copied from c85a455e: > As of version 1.17, xdg-desktop-portal requires desktops to declare > which portals should be used. For Sway, this requires a file > /usr/share/xdg-desktop-portal/sway-portals.conf (or a local user > config). > > A reasonable default is to use GTK for the file picker (as wlr doesn't > have file picker support) and wlr for screencast/screenshot support. > Fedora does this similarly. [1] > > Upstream is not interested in shipping a configuration file [2] so we > need to do it downstream. > > [1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf > [2] swaywm/sway#7773 https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/commit/c85a455eb653256b57b0b1661e398a48946e85b4 https://gitlab.archlinux.org/archlinux/packaging/packages/sway/-/commit/2f9c63b0539119acb63d6028c61d41c7faa1cebb
archlinux-github
pushed a commit
to archlinux/aur
that referenced
this issue
Nov 28, 2023
As of version 1.17, xdg-desktop-portal requires desktops to declare which portals should be used. For Sway, this requires a file /usr/share/xdg-desktop-portal/sway-portals.conf (or a local user config). A reasonable default is to use GTK for the file picker (as wlr doesn't have file picker support) and wlr for screencast/screenshot support. Fedora does this similarly. [1] Upstream is not interested in shipping a configuration file [2] so we need to do it downstream. Fixes #72297 Fixes #79883 [1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf [2] swaywm/sway#7773
archlinux-github
pushed a commit
to archlinux/aur
that referenced
this issue
Jan 26, 2024
As of version 1.17, xdg-desktop-portal requires desktops to declare which portals should be used. For Sway, this requires a file /usr/share/xdg-desktop-portal/sway-portals.conf (or a local user config). A reasonable default is to use GTK for the file picker (as wlr doesn't have file picker support) and wlr for screencast/screenshot support. Fedora does this similarly. [1] Upstream is not interested in shipping a configuration file [2] so we need to do it downstream. Fixes #72297 Fixes #79883 [1] https://src.fedoraproject.org/rpms/sway/blob/rawhide/f/sway-portals.conf [2] swaywm/sway#7773
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Since version 1.17, xdg-desktop-portals requires desktops to declare which portals should be used. This is via a file, e.g.
/usr/share/xdg-desktop-portal/sway-portals.conf
:Or this more precise one used by Fedora. Or "default=*" to just use whatever is available.
It's not clear to me whether Sway should provide a default, individual distributions should provide their own, or end users should take care of it with a local config. The Arch Linux packagers prefer an upstream file.
The text was updated successfully, but these errors were encountered: