Use xdg-open instead of firefox.