Page 1 of 1

[SOLVED] XDG_CONFIG_HOME not defined Mageia 6

PostPosted: Aug 21st, '17, 16:04
by xtapetae
Code: Select all
$printenv | grep XDG
shows that there are a lot ox XDG-variables defined but not XDG_CONFIG_HOME.

Why is this so and where should it be defined correctly if I define it "by hand"?

Obviously it is usually defined as ~/.config/; is that so?

(I consider installing neovim and it appears to use this variable)

Re: XDG_CONFIG_HOME not defined Mageia 6

PostPosted: Aug 21st, '17, 18:40
by doktor5000
Well, if it's not set it defaults to $HOME/.config - is there actually any problem with something that should write to ~/.config/ and doesn't currently?

Re: XDG_CONFIG_HOME not defined Mageia 6

PostPosted: Aug 21st, '17, 21:05
by xtapetae
Thanks for the answer. I was not aware that the definition of XDG_CONFIG_HOME provides a default value when not explicitly set. In that case there should be no problem.

Re: [SOLVED] XDG_CONFIG_HOME not defined Mageia 6

PostPosted: Aug 21st, '17, 21:38
by doktor5000
See https://standards.freedesktop.org/based ... atest.html for more information on this including the other defaults.