[Linux] Please use XDG directory specification
Posted: Sun Aug 16, 2015 4:24 am
I noticed that currently Trine 2 (and Trine 1 actually as well) places user game data into $HOME/.frozenbyte which clutters $HOME directory.
Current standard prescribes to place such files into designated locations, which are defined by XDG base directory specification: http://standards.freedesktop.org/basedi ... atest.html
Usually it's $HOME/.config and $HOME/.local/share
I.e. in this case it can be $HOME/.config/frozenbyte for configuration and $HOME/.local/share/frozenbyte for saves and etc. Exact location can be overriden with shell variables ($XDG_DATA_HOME and $XDG_CONFIG_HOME). See link above for more details on how to use that. This method helps keeping home directory clean and applications are expected to follow it.
Current standard prescribes to place such files into designated locations, which are defined by XDG base directory specification: http://standards.freedesktop.org/basedi ... atest.html
Usually it's $HOME/.config and $HOME/.local/share
I.e. in this case it can be $HOME/.config/frozenbyte for configuration and $HOME/.local/share/frozenbyte for saves and etc. Exact location can be overriden with shell variables ($XDG_DATA_HOME and $XDG_CONFIG_HOME). See link above for more details on how to use that. This method helps keeping home directory clean and applications are expected to follow it.