XDG variables no longer set

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



For some reason, after my last reboot (a kernel update), none of the XDG variables[1] (such as $XDG_CONFIG_HOME) are being set, which broke a lot of my configuration, as I rely on those in scripts.

I was able to fix it by writing a script[2] 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.

Has anyone else experienced this?

Robbie


[1] http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html#variables

[2] Like this (taken from /etc/xdg/xfce4/xinitrc) :
    #!/bin/sh
    # $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
        XDG_CONFIG_HOME=$HOME/.config
        export XDG_CONFIG_HOME
    fi
    [ -d "$XDG_CONFIG_HOME" ] || mkdir "$XDG_CONFIG_HOME"


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux