Xonotic violates the XDG Base Directory Specification
XDG Base Directory Specification is a widely used standard that describes where files should be created and searched for. It is of great importance to users who'd prefer their programs not creating files wherever they like. Most programs on Linux-based systems, even when not fully conforming to the standard, make at least some effort to do so, greatly improving user experience. At the moment (v0.8.2) Xonotic ignores the standard placing its files in ~/.xonotic
.
The easiest solution is to identify which files are considered temporary and use ~/.cache/xonotic
for them. Use ~/.config/xonotic
for config files and other persistent data.
The preferred solution, however, is to fully implement the spec, taking special variables such as $XDG_CONFIG_HOME
into account.
References: