Bug#1050928: enlightenment-data: please provide an enlightenment-portals.conf for xdg-desktop-portal

Ross Vandegrift rvandegrift at debian.org
Sat Sep 16 16:54:11 BST 2023


Hi Simon,

On Thu, Aug 31, 2023 at 02:20:51PM +0100, Simon McVittie wrote:
> xdg-desktop-portal 1.17.x introduces a new way to select which portals will
> be used for which desktop environments, modelled on mimeapps.list:
> 
> - each desktop environment should provide a file like
>   /usr/share/xdg-desktop-portal/enlightenment-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
> 
> Please see portals.conf(5) or its source code
> https://github.com/flatpak/xdg-desktop-portal/blob/main/doc/portals-conf.rst
> for full details.
> 
> If I'm reading its code correctly, I think Enlightenment asks the display manager
> to set XDG_CURRENT_DESKTOP to "Enlightenment"? (But if I'm wrong, please
> adjust my suggestions accordingly.)

That's correct - but I'm afraid this is the only item in this bug report that I
understand.  I tried to read the documentation you linked, but both assume
general familiarity with what's going on here.  For me, this all might as well
be greek.  :)

I don't know of any portal requirements for Enlightenment, but I'm not really
clear whether or not that's what you're asking for.  Is there a more basic
description of what this does?  How would I test a change that implemented what
you're requesting?  And what are the consequences of not doing this?

Thanks,
Ross



More information about the Pkg-e-devel mailing list