Summary: | Provide GUI method to define a custom installation following flatpak-installation | ||
---|---|---|---|
Product: | [Applications] Discover | Reporter: | Thiago Sueto <herzenschein> |
Component: | Flatpak Backend | Assignee: | Plasma Bugs List <plasma-bugs> |
Status: | RESOLVED INTENTIONAL | ||
Severity: | wishlist | CC: | aleixpol, jgrulich, nate, sitter, travier |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Thiago Sueto
2024-04-07 16:20:56 UTC
I am confused.
> this needs root, which is discouraged to do manually.
Where do the manpages say that? And how would it be any different to what discover would do under the hood?
> Where do the manpages say that? "more system-wide installations can be defined via configuration files /etc/flatpak/installations.d/" A user path like ~/.local/share/flatpak/installations.d doesn't seem to work. See: https://github.com/flatpak/flatpak/issues/4403 > And how would it be any different to what discover would do under the hood? I don't know. I'm not familiar with how root files persist in immutable distros yet. (In reply to Thiago Sueto from comment #2) > > Where do the manpages say that? > > "more system-wide installations can be defined via configuration files > /etc/flatpak/installations.d/" > > A user path like ~/.local/share/flatpak/installations.d doesn't seem to > work. See: https://github.com/flatpak/flatpak/issues/4403 But where is it discouraged? > But where is it discouraged? Sorry, I meant to say it's generally discouraged to do root operations *in immutable distributions*. SteamOS is one, and they caution the user (twice) that they should know what they're doing and that their changes might be reset, and they don't have a sudo password by default, as mentioned in https://help.steampowered.com/en/faqs/view/671A-4453-E8D2-323C. All these caveats apply to us as well though. Fundamentally we'd not do anything different from https://docs.flatpak.org/en/latest/tips-and-tricks.html#adding-a-custom-installation just expressed as code. I've talked to some people and we've concluded that this feature isn't a good fit for discover at this time. |