Using xdg-open instead of a global variable to set the preferred file manager.