Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flatpak uninstall --unused #96

Open
m3thm4th opened this issue Nov 20, 2024 · 2 comments
Open

flatpak uninstall --unused #96

m3thm4th opened this issue Nov 20, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@m3thm4th
Copy link

m3thm4th commented Nov 20, 2024

Is it possible to run an equivalent to
flatpak uninstall --unused --noninteractive --assumeyes or flatpak uninstall --unused -y
declaratively right after periodic autoupdates to clean storage?

@gmodena
Copy link
Owner

gmodena commented Nov 22, 2024

Yes, that would be useful.

While this feature is not currently supported, it should be straightforward to implement. I wouldn’t enable it by default, but this cleanup could be performed when users set services.flatpak.uninstallUnmanaged=true.

@gmodena gmodena added the enhancement New feature or request label Nov 22, 2024
@m3thm4th
Copy link
Author

services.flatpak.uninstallUnmanaged=true

Why not leaving the original words? services.flatpak.uninstall-unused = true would be more intuitive and familiar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants