made prepare-menu-xdg independent