Could support of XDG Base Directories be considered? It would be nice to be freedesktop.org compliant and use XDG base directories by default. The sooner this is fixed the better, since the more the incorrect behavior is assumed the more difficult it will be to fix, and racket would continue to pollute home directories.
For what it's worth, I've created the basedir package for Racket for package authors to easily use the XDG basedir standard, though it doesn't help with the Racket core.
I would be in favor of moving the ~/.racket directory contents and the ~/.racketrc into appropriate XDG directories (with fallback behavior).
This would be fantastic, there's no downside to respecting users' preferences.
Any news?
workaround for now:
export PLTUSERHOME="$XDG_DATA_HOME"/racket
You can use ~/.local/share instead of XDG_DATA_HOME.
Stolen from https://wiki.archlinux.org/index.php/XDG_Base_Directory.
Fixed. Closing.
Most helpful comment
For what it's worth, I've created the basedir package for Racket for package authors to easily use the XDG basedir standard, though it doesn't help with the Racket core.
I would be in favor of moving the
~/.racketdirectory contents and the~/.racketrcinto appropriate XDG directories (with fallback behavior).