Not logged in
Log in now
Create an account
Subscribe to LWN
LWN.net Weekly Edition for December 5, 2013
Deadline scheduling: coming soon?
LWN.net Weekly Edition for November 27, 2013
ACPI for ARM?
LWN.net Weekly Edition for November 21, 2013
Pretty much :-) I wasn't aware of that.
But given the plethora of .files in my ~, it seems like a lot of apps don't use it.
There's also the problem that I think those variables presume a desktop? So terminal programs can't assume the variable exists? What happens if I log in on tty1 and run fetchmail?
That's why I said /etc/configfile should contain a user prefs field that points to ~/.etc or wherever that sort of stuff should go.
If a binary .desktop file cache is necessary...
Posted Apr 20, 2013 20:55 UTC (Sat) by rahulsundaram (subscriber, #21946)
Note that variables are not used by default in the xdg spec but they are useful if you want to customize the location. by default, configuration goes to ~/.config. cache to ~/.cache and data to ~.local/share.
Posted Apr 21, 2013 20:50 UTC (Sun) by krake (subscriber, #55996)
As rahulsundaram wrote they have defaults that should be used when not set or empty.
Also, the desktops are not the ones setting them, this is something the OSX, sysadmin or user does in their preferred way for setting environment variables.
Their intent is to provide override capabilities if the specified default locations do not work for whatever reason.
Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds