Add MATE detection to the xdg-open script