Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Post History
I am developing an application that targets Linux-based OS, and I need to store the user's configuration, metadata and other things in a persistent way (i.e. on the file system). I know that one c...
#1: Initial revision
How to manage user-specific application data on Linux?
I am developing an application that targets Linux-based OS, and I need to store the user's configuration, metadata and other things in a persistent way (i.e. on the file system). I know that one common approach is to store user-specific application data in a "dotfile" in the user's `$HOME` directory (e.g. a file called `$HOME/.my-application-name`). However, I would like to be able to store and manage several different files in the same way without polluting the user's `$HOME` directory. What is the idiomatic way of doing this?