As the subject implies: How does one ensure all profile and traffic data are stored not in the default location in Linux home directory, but instead in a directory on some existing mountable encrypted contained?
I haven’t tried this, but it might be possible to achieve by moving the contents of the Delta Chat data directory to that encrypted storage, and then replacing the original directory with a link to the new location.
This approach is not specific to Delta Chat, so maybe one can find this usage pattern on the internet.
Similar topic for Windows: In which directory does Delta Chat store the profiles (Windoze) and how to select/change?
Related topic:
DeltaChat Desktop uses the JS standard (? I don’t dev .ts/.js) application locations, there’s a link in the README to the details: https://www.npmjs.com/package/application-config#config-location
Export XDG_CONFIG_HOME to an alternate location when launching the app and it will all go there, or as mentioned above just use a symlink from $HOME/.config/DeltaChat to wherever you want. In theory this should make is a portable type app (store your data on encrypted USB) but not my thing to know for sure.
Aside, you can also use the symlinks to clean up apps which don’t place data in .config, but lately these past years app devs have been really good about using XDG specs for our datadirs.