View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0023227||Runner||[All Projects] Ubuntu||Public||2016-08-17 16:40||2021-08-06 16:41|
|Reporter||Stanislaw Gackowski||Assigned To||CoreTech|
|Priority||Very Low||Severity||C - General||Reproducibility||100%|
|Target Version||Fixed in Version|
|Summary||0023227: Saving: Default save path on Linux is incorrect|
|Description||The default save location is incorrect by what's generally used on Linux:|
While ~/.config is an ok path to default to, $XDG_CONFIG_HOME should also be picked up when present.
Ideally, $XDG_DATA_HOME should be used instead, as that's the correct path for save files, and it's the only path that's easily support on Linux via Steam's Autocloud.
Let me know if you'd like a specific example. SAMPLE URL:
|Additional Information||Original helpdesk ticket: http://help.yoyogames.com/tickets/110138|
|1.4 Found In||1.4.1757|
|2.x Runtime Found In|
|2.x Runtime Verified In|
Based on the reply I received, here's some further info.
Ubuntu doesn't need to "use" or "support" these, as they are just environmental variables. Currently, all user-land apps that by default ship with Ubuntu use the CONFIG, CACHE, and DATA envvars (or the fallbacks, if they are unavailable). Additionally, the de facto standard for input, windowing, etc. that is SDL2 provides XDG_DATA_HOME (or fallback) when using the SDL_GetPrefPath function, and Valve's Steam installs into XDG_DATA_HOME as well.
As the bug states:
"So there is no need to set the values unless you want to change the default ones, and it would be redundant to set them to their default."
However, it is expected that if a user wants to change them, they should fully be able to. Generally, it is not expected that games will actually make use of each XDG path, and just rely on XDG_DATA_HOME for both configs and saves, though there are a few exceptions here.
||Closing any Ubuntu bugs.|