EmulationStation icon indicating copy to clipboard operation
EmulationStation copied to clipboard

XDG Base conformance on Linux

Open Herdinger opened this issue 9 years ago • 3 comments

Since it's a standard and nobody likes cluttered home directorys it would be nice if the project would adhere to XDG Base Directory.

There shouldn't be to much code changes just a checking of an env var and defaulting to a directory on linux

Herdinger avatar Feb 08 '16 14:02 Herdinger

bump

felixsanz avatar Jul 08 '21 22:07 felixsanz

bump

ShayBox avatar Oct 16 '21 21:10 ShayBox

To be specific: instead of putting the config files into ~/.emulationstation they should be put into $XDG_CONFIG_HOME/emulationstation or if that variable is empty into ~/.config/emulationstation.

For backwards compatibility you could first try the old path and use that, if it exists, but if it doesn't you (create and) use the new one.

.emulationstation seems to appear in only <10 files. I'd do it myself but I'm not familiar with C++. Should be pretty easy task for anyone who is though.

DanMan avatar Jun 05 '22 20:06 DanMan