[arch-general] XDG variables no longer set
lisaev at umail.iu.edu
Tue Feb 26 13:32:07 EST 2013
On Tue, 26 Feb 2013 22:42:32 +1100
Robbie Smith <zoqaeski at gmail.com> wrote:
> For some reason, after my last reboot (a kernel update), none of the XDG
> variables (such as $XDG_CONFIG_HOME) are being set, which broke a lot
> of my configuration, as I rely on those in scripts.
Are there any packaged applications broken, or only your scripts?
> I was able to fix it by writing a script to drop in /etc/profile.d/
> that would create those directories and export the variables as
> required, but what I want to know is why they broke in the first place.
libx11 no longer ships the XDG_CONFIG_* variables. Also, notice that xfce4 by
itself does not need XDG_CONFIG_* to be set.
> Has anyone else experienced this?
>  Like this (taken from /etc/xdg/xfce4/xinitrc) :
> # $XDG_CONFIG_HOME defines the base directory relative to which
> # user specific configuration files should be stored. If
> # $XDG_CONFIG_HOME is either not set or empty, a default equal to
> # $HOME/.config should be used.
> if test "x$XDG_CONFIG_HOME" = "x" ; then
> export XDG_CONFIG_HOME
> [ -d "$XDG_CONFIG_HOME" ] || mkdir "$XDG_CONFIG_HOME"
GnuPG key: 0x164B5A6D
Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 490 bytes
Desc: not available
More information about the arch-general