flatpak / flatpak-xdg-utils

Simple portal-based commandline tools for use inside flatpak sandboxes
GNU Lesser General Public License v2.1
32 stars 14 forks source link

Provide an implementation of `xdg-settings` #64

Closed alsoGAMER closed 1 year ago

alsoGAMER commented 1 year ago

As also stated in this issue, electron made and chromium based apps need that executable to read/configure various system properties, for example mimetype handling.

TingPing commented 1 year ago

Flatpaks do not have permissions to change system settings.

alsoGAMER commented 1 year ago

Yeah but this causes issues with said apps, there's an official documented way to obtain the same result manually?

TingPing commented 1 year ago

A user can manage associations themselves on the host. Flatpaks are not supposed to have this ability.

alsoGAMER commented 1 year ago

A user can manage associations themselves on the host.

That i know, though i'm asking if the process of doing that is documented somewhere, cause i can't seem to find it in the flatpak documentation.

Also that binary could be still useful to read system properties.

TingPing commented 1 year ago

Also that binary could be still useful to read system properties.

Flatpak does not have permission to read these settings either. It is entirely opaque.

TingPing commented 1 year ago

That i know, though i'm asking if the process of doing that is documented somewhere, cause i can't seem to find it in the flatpak documentation.

I don't think flatpak-xdg-utils is documented anywhere really. Maybe this could be in the README here, which tools are provided and which aren't.

alsoGAMER commented 1 year ago

I don't think flatpak-xdg-utils is documented anywhere really. Maybe this could be in the README here, which tools are provided and which aren't.

That would be great, if you need someone to do it, let me know!