Unhappy with xdg-user-dirs
Frederic Crozat
fred at crozat.net
Mon Aug 3 02:46:14 PDT 2015
2015-08-03 11:28 GMT+02:00 Alexandre Franke <alexandre.franke at gmail.com>:
> On Mon, Aug 3, 2015 at 10:56 AM, Vladimir Kudrya <vladimir-csp at yandex.ru> wrote:
>> These dirs are useful only if graphical session is installed anyway.
>
> That's simply not true. A command line music player could be
> programmed to use ~/Music for its music library for instance.
No, it should be better for the application in question to parse
~/.config/user-dirs.dirs (or source it from shell) and use
XDG_MUSIC_DIR key (or environment variable).
--
Frederic Crozat
More information about the xdg
mailing list