A little-known (and destructive!) feature of Flatpak: you can remove the data leftover from all apps that have been uninstalled with the command "flatpak uninstall --delete-data". By default, your user data is left untouched when you uninstall an app.

Specifically this removes data stored by the app in ~/.var/app/$APP_ID (the default writable location for per-app data) and also resets any overridden permissions.


The "--unused" option of the "flatpak uninstall" command is also worth checking out if you want to reclaim disk space, at the cost of potentially having to re-download runtimes later if they become needed again.

Sign in to participate in the conversation

Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.