Re: [AD] standard path updates |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, Jan 5, 2011 at 4:18 AM, Sebastian Steinhauer
<s.steinhauer@xxxxxxxxxx> wrote:
> Ahhh okay, I just found out, that OpenSuse (and probably many other distros)
> use the XDG Base Directory Specification.
>
We could just parse $XDG_CONFIG_HOME/user-dirs.dirs, where
$XDG_CONFIG_HOME defaults to ~/.config. And then fallback to $HOME.
(i.e., never try to guess Documents.)
--
Matthew Leverton