Clear Flatpak cache
This script clears the Flatpak cache. Flatpak creates temporary files as "/var/tmp/flatpak-cache-*". These files can fill up a large portion of the disk, and reveal usage patterns. Flatpak stores cache files in "~/.cache/flatpak/system-cache/" which replaces the directory used in older versions ("~/.local/share/flatpak/system-cache/").
Remove orphaned Flatpak runtimes
This script removes runtimes and extensions that are not used by installed applications by running "flatpak uninstall --unused". Flatpak doesn't automatically remove a runtime after the last application that depends on it is uninstalled. This may cause issues with disk space or leave hints about what software has been installed before. This happens because when a Flatpak package is uninstalled, its runtime dependencies are not automatically uninstalled, as "flatpak uninstall" can uninstall eithe...