[IDEA] help cleaner applications

The idea is about how to help cleaner applications. User could remove application, but decided to preserve config/cache/etc.

Solution is about adding new field to .desktop files, like:

  1. Installed - told if app is installed or not
  2. Config directory - told where config are stored
  3. Cache - told where cache are stored
  4. Data - told where data are stored
  5. Remove date - only if removed. Told, when application was removed

Of course, cleaner app could show directories from xdg_user_dirs, but users maybe couldn’t know which directory belongs to which app either by name of directory. User may don’t know, which app are removed and which not. These data helps user to keep profile order. Of course, the idea requires application didn’t remove one’s desktop file and icon, when user removes the app, but decided to not remove all the data.

Similar idea could been created for system-wide installations, because package managers could preserve config files in /etc.

That sort of information is in the xml file called ‘appdata’ (/usr/share/appdata) have a read here;

@Lachu: In general, the best place for this kind of discussions, ideas is not the forums, but the opensuse-factory@opensuse.org mailing list. Almost none of the devs looks here and the mentioned ML is the designated place to discuss this.

Typu have partially right. Appstream have advandages and disadvandages. Appstream is distro Independent database, so it is good for programy installed by user, but bad for programy modified by distro vendors. It have other advantage. Appstream could be used by software shop, so it don’t have be installed to be accessed by cleaner app, so we mess less in system.

I meany you. I wrote that message from from my mobile. I don’t know Typu word exist in English, but in Polish this could means: kind/type (but in some variety by accident - I use Google translator) or You, but like man below the black star or in other bad meaning. Sorry - that was problem I use Google keyboard word recognize algorithm,