more work on xdg stuff