You are not logged in.

#1 2013-03-01 17:05:18

ibrunton
Member
From: Canada
Registered: 2011-05-05
Posts: 270

[solved] XDG_*_HOME no longer defined

After I upgraded yesterday, I apparently no longer have XDG_DATA_HOME and XDG_CONFIG_HOME defined; they used to be there (without any explicit defining on my part).  Any idea what might have happened to them?  I upgraded the kernel---would that do it?

It's not a huge problem, I can always rewrite a couple of my own programs to look for $HOME/.config and so on instead. I'm just kind of puzzled.

Last edited by ibrunton (2013-03-01 17:12:37)

Offline

#2 2013-03-01 17:08:40

65kid
Member
From: Germany
Registered: 2011-01-26
Posts: 663

Re: [solved] XDG_*_HOME no longer defined

Offline

#3 2013-03-01 17:09:36

skanky
Member
From: WAIS
Registered: 2009-10-23
Posts: 1,847

Re: [solved] XDG_*_HOME no longer defined

See here: http://comments.gmane.org/gmane.linux.a … eral/47772

I think there was some discussion on the dev list, too. As far as I can understand it, they should only be set if they aren't the defaults, and anything that uses them should fall back on the defaults.
As I tend to use them here there and everywhere I added a check at the start of my .bash_profile to set them if empty and left it at that. One day* I might write a bash function to handle it and refer to that in all my scripts instead - I'd do that now if I was starting from scratch.


*probably never


"...one cannot be angry when one looks at a penguin."  - John Ruskin
"Life in general is a bit shit, and so too is the internet. And that's all there is." - scepticisle

Offline

Board footer

Powered by FluxBB