The BaseDirectory part of the freedesktop XDG specifications
Latest commit 4f8d93a May 31, 2016 @jonathanstowe IMplement runtime-dir
Also fix the cache-home which wasn't returning an IO::Path
Failed to load latest commit information.
lib/XDG IMplement runtime-dir May 31, 2016
t IMplement runtime-dir May 31, 2016
.travis.yml Boo! no dependencies Apr 25, 2016
LICENCE rename LICENCE as en_GB May 30, 2016
META6.json IMplement runtime-dir May 31, 2016 IMplement runtime-dir May 31, 2016


Perl 6 access to path information provided by the xdg base directory specfication

Build Status


This is loosely based on the interface of python module pyxdg. But due to the differences between Python and Perl 6 it may do some things differently.

It provides a set of facilities for discovering the location configuration and data of applications.

I split this out from the XDG module as it has more general usefulness and no external dependencies.


Assuming you have a working Rakudo Perl 6 installation with panda installed you can install from a copy of the source directory:

 panda install .

or remotely:

 panda install XDG::BaseDirectory 

Although I haven't tested, there is no reason that "zef" or some similarly capable package manager shouldn't work.


Suggestions/patches are welcomed via github at:

I'm not able to test on a wide variety of platforms so any help there would be appreciated.


Please see the LICENCE file in the distribution

© Jonathan Stowe 2015, 2016