~alpine/users

3 2

Missing default config for xdg-desktop-portal-wlr

Details
Message ID
<ade8235e-76f4-41f1-b0cd-ed9fed4d0e31@disroot.org>
DKIM signature
missing
Download raw message
I am following the wiki article for Sway[0] to configure Firefox
screensharing and failed at executing xdg-desktop-portal-wlr:

$ exec /usr/libexec/xdg-desktop-portal-wlr
... [ERROR] - config: no config file found

which is true: /etc/xdg/xdg-desktop-portal-wlr/config is missing.

So, I wonder what we would do about this:

- Package a default config that works. Maybe the one in the contrib [1] or in xdg-desktop-portal-wlr(5)?
- Put an example config in the wiki with guide to customize. Speaking of the wiki, the instruction to run `exec pipewire` seems to conflict with the wiki page on pipewire[2]

Should I file an issue on the aport repo?

[0]: https://wiki.alpinelinux.org/wiki/Sway#Configuration
[1]: https://github.com/emersion/xdg-desktop-portal-wlr/blob/master/contrib/config.sample
[2]: https://wiki.alpinelinux.org/wiki/PipeWire#Usage
Details
Message ID
<CMR2O8ZJH5WX.1R2NY12WPSMNU@sumire>
In-Reply-To
<ade8235e-76f4-41f1-b0cd-ed9fed4d0e31@disroot.org> (view parent)
DKIM signature
missing
Download raw message
On Thu Sep 8, 2022 at 3:50 PM CEST, Huy Ngo wrote:
> I am following the wiki article for Sway[0] to configure Firefox
> screensharing and failed at executing xdg-desktop-portal-wlr:
>
> $ exec /usr/libexec/xdg-desktop-portal-wlr
> ... [ERROR] - config: no config file found
>
> which is true: /etc/xdg/xdg-desktop-portal-wlr/config is missing.
>
> So, I wonder what we would do about this:
>
> - Package a default config that works. Maybe the one in the contrib [1] or in xdg-desktop-portal-wlr(5)?
none of the options seem to be good to set/hardcode as a default-  is it
possible to have an empty config that is accepted? by default a chooser
is only needed with >1 monitor, and the rest don't seem required
> - Put an example config in the wiki with guide to customize. Speaking of the wiki, the instruction to run `exec pipewire` seems to conflict with the wiki page on pipewire[2]
which exec pipewire?
>
> Should I file an issue on the aport repo?
>
> [0]: https://wiki.alpinelinux.org/wiki/Sway#Configuration
> [1]: https://github.com/emersion/xdg-desktop-portal-wlr/blob/master/contrib/config.sample
> [2]: https://wiki.alpinelinux.org/wiki/PipeWire#Usage
Details
Message ID
<CMTMFCG9DWK8.25H4LLZPTUC9A@rajin>
In-Reply-To
<CMR2O8ZJH5WX.1R2NY12WPSMNU@sumire> (view parent)
DKIM signature
missing
Download raw message
On Thu Sep 8, 2022 at 9:59 PM CST, alice wrote:
> On Thu Sep 8, 2022 at 3:50 PM CEST, Huy Ngo wrote:
> > - Package a default config that works. Maybe the one in the contrib
> > [1] or in xdg-desktop-portal-wlr(5)?
> none of the options seem to be good to set/hardcode as a default-  is
> it possible to have an empty config that is accepted? by default a
> chooser is only needed with >1 monitor, and the rest don't seem
> required

I see, thanks. I just tested with an empty config and it does work with
one screen.

> > - Put an example config in the wiki with guide to customize.
> > Speaking of the wiki, the instruction to run `exec pipewire` seems
> > to conflict with the wiki page on pipewire[2]
> which exec pipewire?

It was in the screenshare instruction, which contradicts the instruction
that one should use pipewire startup wrapper.  Not too important detail,
though.

> >
> > [0]: https://wiki.alpinelinux.org/wiki/Sway#Configuration
> > [1]: https://github.com/emersion/xdg-desktop-portal-wlr/blob/master/contrib/config.sample
> > [2]: https://wiki.alpinelinux.org/wiki/PipeWire#Usage
Details
Message ID
<CMTTTJXXAA4M.1L4A6YFOECN0A@sumire>
In-Reply-To
<CMTMFCG9DWK8.25H4LLZPTUC9A@rajin> (view parent)
DKIM signature
missing
Download raw message
On Sun Sep 11, 2022 at 3:53 PM CEST, Huy Ngo wrote:
> On Thu Sep 8, 2022 at 9:59 PM CST, alice wrote:
> > On Thu Sep 8, 2022 at 3:50 PM CEST, Huy Ngo wrote:
> > > - Package a default config that works. Maybe the one in the contrib
> > > [1] or in xdg-desktop-portal-wlr(5)?
> > none of the options seem to be good to set/hardcode as a default-  is
> > it possible to have an empty config that is accepted? by default a
> > chooser is only needed with >1 monitor, and the rest don't seem
> > required
>
> I see, thanks. I just tested with an empty config and it does work with
> one screen.
and without a config it fails/reports errors? in that case, i should add
an empty one

>
> > > - Put an example config in the wiki with guide to customize.
> > > Speaking of the wiki, the instruction to run `exec pipewire` seems
> > > to conflict with the wiki page on pipewire[2]
> > which exec pipewire?
>
> It was in the screenshare instruction, which contradicts the instruction
> that one should use pipewire startup wrapper.  Not too important detail,
> though.
aha, thanks, i see it now. fixed

>
> > >
> > > [0]: https://wiki.alpinelinux.org/wiki/Sway#Configuration
> > > [1]: https://github.com/emersion/xdg-desktop-portal-wlr/blob/master/contrib/config.sample
> > > [2]: https://wiki.alpinelinux.org/wiki/PipeWire#Usage
Reply to thread Export thread (mbox)