Linux: use XDG specification for special paths

As suggested by Edward Rudd.