Racket: XDG Base Directory Support

Created on 15 Jul 2019  路  5Comments  路  Source: racket/racket

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.

feature request

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 ~/.racket directory contents and the ~/.racketrc into appropriate XDG directories (with fallback behavior).

All 5 comments

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.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

schackbrian2012 picture schackbrian2012  路  4Comments

sorawee picture sorawee  路  7Comments

willghatch picture willghatch  路  8Comments

winny- picture winny-  路  8Comments

shriram picture shriram  路  7Comments