need help with using the Portals

Alexander Larsson alexl at redhat.com
Mon Oct 14 06:47:06 UTC 2019


On Sat, Oct 12, 2019 at 3:06 AM Winnie Poon <winniepoon_home at hotmail.com> wrote:
>
> Hi,
>
> i'm trying to use the Portals to gain access to a specific device using this:
>
> org.freedesktop.portal.Device — Portal for device access
>
> Methods
>
> AccessDevice (IN  u     pid,
>               IN  as    devices,
>               IN  a{sv} options,
>               OUT o     handle);
>
> however, after reading  a lot of info online, i still couldn't figure out how to exactly do it.  It looks like i need to install front end xdg-desktop-portal and backend xdg-desktop-portal-kde.

The portal device is a bit weird, its not really meant to be used by
apps directly, but rather by other portals and services to ask for and
handle permissions for devices.


-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                Red Hat, Inc
       alexl at redhat.com         alexander.larsson at gmail.com



More information about the Flatpak mailing list