Skip to content

libspiel in a sandboxed world [apps] #19

@sonnyp

Description

@sonnyp

This issue is about discussing what's needed for apps to make use of libspiel without punching hole in the sandbox with "--socket=session-bus".

That particular static permission is considered unsafe. See for example Bustle on Flathub

In the Flatpak world we solve this with portals https://flatpak.github.io/xdg-desktop-portal/ ; we would need a new one, for example org.freedesktop.portal.Speech.

Since libspiel architecture doesn't use a service - I 'm not exactly sure how the portal would work but here is an idea to get the ball rolling

  • have GetProviders and SetProvider methods
  • implement the same interface as org.freedesktop.Speech.Providerl and forward to the currently selected provider

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions