linuxmint / linuxmint/mintinstall

flatpak: clean up userdata on uninstall - optional

Open
#511 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
181
Forks
116
PR merge metrics
No merged PRs in 30d

Description

Moin,

I think it would be very useful and user-friendly if, when uninstalling a Flatpak app, it would be also possible to optionally remove the user data (the data in ~/.var/app/...) in MintInstall.

Flatpak already provides its own built-in mechanism for this, so it would probably be very simple to implement:
flatpak uninstall --delete-data

Currently, there's a piece of software with GUI called Flatsweep for this.
https://flathub.org/de/apps/io.github.giantpinkrobots.flatsweep
However, it would probably be much more user-friendly if such a feature were implemented directly in mintinstall.

So here is the request for implementation. Thank you very much, and best regards

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating MintInstall's Flatpak uninstall handling and the existing uninstall interface. Add an optional user-data removal choice that uses Flatpak's uninstall --delete-data mechanism, then verify that regular uninstall remains unchanged and the optional path removes data under ~/.var/app/....

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
desktop
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.