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
Add labwc to XDG_CURRENT_DESKTOP to support a portals.conf #1716
base: master
Are you sure you want to change the base?
Conversation
https://github.com/flatpak/xdg-desktop-portal/blob/main/doc/portals.conf.rst.in#L136C1-L140C32 describes the content of the
However, in this PR the env var is using a semi-colon Edit:
So using the semi-colon |
I'd seen that and I'm not sure what it pertains to, perhaps some environment variable in the portals.conf? (I've not seen this convention in use anywhere yet.) From the Desktop Entry Specifications:
|
We're used to this by now. 😄 |
It also states directly before that quote:
So using colon |
With the latest changes the |
So it's the same value. Depending on your login manager, you can test this by adding the |
The sentence you quoted clearly stated that the |
It's the same value. I don't believe there should a semi-colon in one place and a colon in the other. Here's an example from Budgie's budgie-desktop.desktop. |
This value directly feeds into the environment variable. |
I usually prefer to implement something based on specs rather than look at what other people do. |
The previous `UseIn` key was deprecated in xdg-desktop-portal 1.17/1.18. It has been superceded by the portals.conf structure so that each desktop can configure the precise desired structure for portals. In addition, support was added to the Desktop Entry Specifications to support a `DesktopNames` key that login managers will use to set XDG_CURRENT_DESKTOP. * [portals.conf Documentation](https://github.com/flatpak/xdg-desktop-portal/blob/main/doc/portals.conf.rst.in) * [Example sway-portals.conf](https://salsa.debian.org/swaywm-team/sway/-/blob/debian/sid/debian/sway-portals.conf) * [Desktop Entry Specifications](https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html) Ref: flatpak/xdg-desktop-portal#955
As I personally don't use desktop portals it would be great if somebody could test this PR and verify that screensharing still works and it doesn't change anything regarding the used portals (e.g. kde ones rather than gtk or the other way around). |
For LXQt I'm using |
Not sure if this is relevant here, I've also added |
Is that with [preferred]
default=wlr;* stored as Although I guess in your case |
The previous
UseIn
key was deprecated in xdg-desktop-portal 1.17/1.18. It has been superceded by the portals.conf structure so that each desktop can configure the precise desired structure for portals. In addition, support was added to the Desktop Entry Specifications to support aDesktopNames
key that login managers will use to set XDG_CURRENT_DESKTOP.Ref: flatpak/xdg-desktop-portal#955