View Issue Details

IDProjectCategoryView StatusLast Update
0023227Runner[All Projects] UbuntuPublic2021-08-06 16:41
ReporterStanislaw GackowskiAssigned ToCoreTech 
PriorityVery LowSeverityC - GeneralReproducibility100%
Status ResolvedResolutionSuspended 
PlatformUbuntuOSUbuntuOS Version
Product Version 
Target VersionFixed in Version 
Summary0023227: Saving: Default save path on Linux is incorrect
DescriptionThe 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 InformationOriginal helpdesk ticket:
Tagslinux, Runner
1.4 Found In1.4.1757
2.x Runtime Found In
2.x Runtime Verified In


Stanislaw Gackowski

2016-08-17 16:53

Reporter   ~0046864

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.


2021-08-06 16:41

Developer   ~0066683

Closing any Ubuntu bugs.