Better differentation between shell and xdg-open.