some preparation to run as package

pyxdg?