On Thu, 31 Aug 2023 20:32:40 +0100 Simon McVittie <[email protected]> wrote:
> - each desktop environment should provide a file like
>   /usr/share/xdg-desktop-portal/fvwm-portals.conf
>
> - the filename is ${DESKTOP}-portals.conf where ${DESKTOP} is the desktop
>   environment's entry in $XDG_CURRENT_DESKTOP (the same as the DesktopNames
>   from /usr/share/{x,wayland-}sessions/*.desktop), folded to lower case
>
> - sysadmins and users can override this via files named portals.conf or
>   ${DESKTOP}-portals.conf in various locations like /etc/xdg-desktop-portal
>   and ~/.config/xdg-desktop-portal
>

Fvwm really isn't a full desktop environment and is unable to give any
recommendation of what desktop portal to use. My understanding is
upstream wants desktop environments and window managers to recommend
which default portal to use, because its fallback may not work well in
all situations. But I don't think fvwm can make any better decision
than upstream can on this. If I just follow your advice and blindly
set this to prefered=gtk, why can't xdg-destkop-portal just do that
for smaller window managers that may not be able to provide any better
opinions?

In the last few releases, fvwm3 has added the following to its .desktop file.

DesktopNames=Fvwm3;Fvwm;

So users should be able to configure what desktop portal they want to
use in ~/.config/xdg-desktop-port/fvwm3-portals.conf. I just don't
want to blindly provide a default configuration at this time, and let
users who use xdg-desktop-portal with fvwm3 to configure it themselves
(which is the fvwm way).

jaimos

Reply via email to