Skip to content

Clearing `~/.cache/dekko2.dekkoproject` removes account configuration as well

As reported in a bug report for UT Tweak Tool. Wiping the Cache is sufficient to clear account data as well.

Context

Only temporary data should be stored in .cache. For example:

myii, [23.02.19 13:40] [Forwarded from Andre Büsgen] Does dekko2 use.cache for saving account information?

myii, [23.02.19 13:40] [Forwarded from Rodney] i would expect accounts to be saved in .config and only data that can be deleted safely from the device to be in .cache

And:

myii, [23.02.19 13:41] [Forwarded from Dave] Why are specific config-files for each app stored in different directories? Dekko is using .cache/dekko2.dekkoproject and .local/share/dekko2.dekkoproject. Why not put everything in .config?

myii, [23.02.19 13:41] [Forwarded from Dalton Durst] Because .cache should have clear-able things and .config should have config.

Expected Behavior

Wiping ~/.cache/dekko2.dekkoproject should be a safe operation, especially considering that the directory can become very large (mine was 7.50GB before wiping).

Actual Behavior

As mentioned above.

Steps to Reproduce

As mentioned above.

Your Environment

  • Dekko version used:
  • Desktop environment (e.g Unity7, Unity8, GNOME):
  • Operating System and version:

N/A.