Open Bezalelohim opened 2 months ago
Generally a lot of unneeded dependencies are left behind when using the store. For example installing Flatseal
from the store will install the following flatpaks:
$ flatpak list
Name Application ID Version Branch Installation
Flatseal com.github.tchx84.Flatseal 2.2.0 stable user
Mesa org.freedesktop.Platform.GL.default 24.1.3 23.08 user
Mesa (Extra) org.freedesktop.Platform.GL.default 24.1.3 23.08-extra user
openh264 org.freedesktop.Platform.openh264 2.4.1 2.4.1 user
GNOME Application Platform version 46 org.gnome.Platform 46 user
Pop Gtk theme org.gtk.Gtk3theme.Pop-dark 3.22 user
However clicking uninstall on the store will only uninstall Flatseal and leave all the other flatpaks behind. This could amount into a lot of disk-space wasted in a longer running install.
flatpak uninstall --unused
should be run after every uninstall/update on the store
For Example, removing Nvidia Drivers, automatically on the side when updating, will save a Ton of disk space by default. Beginners would not know to update and then run the
flatpak uninstall --unused
command, and they shouldn't have to. Having an opt-out toggle (on by default) in the settings to run automatically when downloading a flatpak would be useful.This is how the drivers pile up on the system when the
unused
command is not run.Having a provision to automatically remove that would be useful.