[SOLVED] XDG_CONFIG_HOME not defined Mageia 6

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

[SOLVED] XDG_CONFIG_HOME not defined Mageia 6

Postby xtapetae » Aug 21st, '17, 16:04

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)
Last edited by xtapetae on Aug 21st, '17, 21:06, edited 2 times in total.
xtapetae
 
Posts: 15
Joined: Aug 29th, '13, 21:10

Re: XDG_CONFIG_HOME not defined Mageia 6

Postby doktor5000 » Aug 21st, '17, 18:40

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?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: XDG_CONFIG_HOME not defined Mageia 6

Postby xtapetae » Aug 21st, '17, 21:05

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.
xtapetae
 
Posts: 15
Joined: Aug 29th, '13, 21:10

Re: [SOLVED] XDG_CONFIG_HOME not defined Mageia 6

Postby doktor5000 » Aug 21st, '17, 21:38

See https://standards.freedesktop.org/based ... atest.html for more information on this including the other defaults.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron