Uebergame icon indicating copy to clipboard operation
Uebergame copied to clipboard

Different home folder for settings for Linux users.

Open Duion opened this issue 8 years ago • 2 comments

The settings are saved in user home/my games/uebergame but for Linux the standards for saving config files are different, so we would need a script to detect if the user is on Linux and then change the folder. I don't know currently what folders Linux uses for the settings, I think it was something with a point before it to hide it like ".uebergame", but this would require further investigations first.

Duion avatar Jul 26 '16 18:07 Duion

Best would be to follow the XDG Basedir Specifications

This means that you should use $XDG_CONFIG_HOME/uebergame/, or $HOME/.config/uebergame if it $XDG_CONFIG_HOME isn't set or is empty.

Screenshots, logs etc. are data and should go in $XDG_DATA_HOME/uebergame with $HOME/.local/share/uebergame as default.

jmdejong avatar Jan 02 '19 23:01 jmdejong

Can you code that and make a pull request?

Duion avatar Jun 19 '19 20:06 Duion