-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
$XDG_DATA_DIR not defined #21
Comments
What is meant with $XDG_DATA_DIRS is the application directories laying in XDG_HOME From the specification:
So you specify it yourself. Also, looking at the source code you can see that plugins are loaded from any of those dirs you specified or from the default: Line 262 in fdec828
See here: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html |
I'm sorry, but I'm still confused. g_get_user_data_dir() should return, on my pc " I've no idea what DATADIR is set, to, but it seems to be a macro, so it's set at compile time, and I guess it'll be /usr/share (on GNU/Linux), so that the final path is /usr/share/caja-python/extensions. I do not get the correlation between XDG_DATA_DIR (not used in the source, it's only there as a comment, and not defined in https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), and the other two paths that I've mentioned (and also reported in the README). The only variable, as far as I can see, I can configure, is the $XDG_DATA_HOME, but specifying $XDG_DATA_DIR myself, like you said and described in the README, would have no effect, or did I miss something? |
In the README it is described how plugins are loaded from $XDG_DATA_DIR. This variable is not defined on my computer, and isn't apparently described at freedesktop.org
Maybe it was meant the variable $XDG_DATA_DIRS (final S!)
The text was updated successfully, but these errors were encountered: