Add the xdg-open wrapper script to your path in a location before /usr/bin. This is needed to work around login problems on (rocky) linux to open the xdg-open app in the correct way.