To be more exact: for Linux it doesn't depend as much on the distribution (like Manjaro or Arch, etc.), but on the desktop environment and on the program that handles custom URI schemes, which apparently is different on each DE. In general case, it's
xdg-open, but it could be just an alias to some custom implementation, like
gnome-open (for Gnome Shell) or
gvfs-open (default on Ubuntu). And to quote the Arch wiki:
So you probably might try replacing
xdg-open with e.g.
gvfs-open and most likely it should work fine.