Skip to content

WIP: Add support for the XDG Base Directory Specification.

Ghost User requested to merge (removed):xdg-base-dir-spec into master

We move according to the following table:

File/Folder XDG Location
~/.clamtk/prefs $XDG_CONFIG_HOME/clamtk/prefs
trash_dir (~/.Trash?) $XDG_DATA_HOME/Trash
~/.clamtk/cron $XDG_DATA_HOME/clamtk/cron
~/.clamtk/viruses $XDG_DATA_HOME/clamtk/viruses
~/.clamtk/history $XDG_DATA_HOME/clamtk/history
~/.clamtk/restore $XDG_DATA_HOME/clamtk/restore
~/.clamtk/db $XDG_DATA_HOME/clamtk/db
~/.clamtk/submit $XDG_DATA_HOME/clamtk/submit

We had some discussion a long time ago on Github, but your development system had died and we could not go forward. Also there was the move to Gitlab happening, so everything was a little bit confusing. I am bringing this here so maybe we can reopen this solution now.

I believe we need to offer some type of migration path for users, but I would like some of your feedback (if it is really needed, if you have a preferable way of doing it etc).

Merge request reports