News for hackers. Stuff that matters.
Re:Rob Pike: the origin of dotfiles by joe_the_user on Thursday August 02, 2012 @11:31PM (#4332380)
I notice the $XDG_DATA_HOME environment variable isn't set in my Intrepid install. Maybe its set in later Ubuntu version.

But the value not being set for me means implies to me that it not being set is pretty common. Thus it seems like supporting this standard is going to involve supporting a fall-back of whatever you would do otherwise.

So I don't see "easy" at all but rather extra BS. Sorry.

Re:Rob Pike: the origin of dotfiles by angusgr on Thursday August 02, 2012 @11:39PM (#4332405)
From the spec: If $XDG_DATA_HOME is either not set or empty, a default equal to $HOME/.local/share should be used. Similarly there's a default (.config/) defined for XDG_CONFIG_HOME. So the fallback is well-defined rather than "whatever you would do otherwise".

Also, for my 2c, you should consider updating your Intrepid install if you at all can. It hasn't been supported for over two years, so it hasn't seen any security updates in that time. The Ubuntu do-release-upgrade system is pretty easy and reliable.

Re:Rob Pike: the origin of dotfiles by ricardobeat on Thursday August 02, 2012 @11:46PM (#4332424)
$HOME/.local/share doesn't exist on OSX either.
Re:Rob Pike: the origin of dotfiles by bkor on Friday August 03, 2012 @03:23AM (#4332963)
XDG is a freedesktop standard. Meaning: checking that standard on OS X is a bit strange.
Re:Rob Pike: the origin of dotfiles by duaneb on Friday August 03, 2012 @06:52AM (#4333462)
I thought we were talking about unix, not the "free desktop standard".
Re:Rob Pike: the origin of dotfiles by masklinn on Friday August 03, 2012 @01:06AM (#4332651)
If it does not exist, you've not used a soft using it. I have one.
Re:Rob Pike: the origin of dotfiles by ricardobeat on Friday August 03, 2012 @01:14AM (#4332671)
Not much of a standard then - I have done hundreds of installs.